Hello
I need to reset fields after sending a xml file, i use the preSumit event.
But my script is not respected.
Exemple :
myButto,.preSubmit
myButton.resolveNode("#event").submit.target = "fdfd@ffdfd.com";
resetFileds(); //personal function
The problem the xml file dosent contain value the fileds values.
When i remove my resetFileds() function it works but when i come back in my form the fields steel full i wand to reset some fields after my submit.
It there a right event.
Thanks
Views
Replies
Total Likes
Hi,
Try moving your reset function to the postSubmit event of the button.
Niall
Views
Replies
Total Likes
Dear,
I dont find postSubmit event i use LiveCycle ES 8.0.2.
Thanks
Views
Replies
Total Likes
Hi,
Sorry, I didn't realise that the postSubmit event was added in XFA specification 2.8:
"XFA 2.8 is supported by Acrobat Pro 9.0, Adobe Reader 9.0, LiveCycle Designer ES version 8.2, and LiveCycle ES version 8.2."
The postSubmit event is available in the events dropdown:
It is an ideal event for what you are trying to achieve.
As an alternative you could move your submit script to the mouseUp event (which fires early in the user interaction) and then move the call to your custom reset function to the click event, which fires after the mouseUp.
This separation of the script may be just enough to clear the form after submission.
Good luck,
Niall
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies