Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Post Submit Event Question

Not applicable
How can I place a post-submit event into my form. I have Adobe Livecycle Designer 8.0. It doesn't show this event in the Script Editor.



I want to close the form after it has been submitted. I have a script for this action, but I do not know where to put it. I am using



app.execMenuItem("close");



I have tried placing this item in the Pre-Save Event and it works fine if you manually send the form via email. However, I receive an error from the Adobe 8 Distribution Wizard, when I try to send the Form to my Distribution List.



Does anyone know what I am doing wrong?



Thanks,



Jen
1 Reply
pguerett
Level 10
Level 10
The post Submit event was not exposed in version 8 that is why is does not appear. You could hide your actual submit (make it invisible), then put a regular button on the form that will be the users submit. On the click event you would hit the submit button then run your close code. So it would be something like this:



RealSubmitButtonName.execEvent("click");

app.execMenuItem("close");