PreSave event JS is not triggering at all?


hello

  

for reasons(example, user bad data entry actions), throwing popup message (its not adobe popup), example, user did not filled mandatory fields on form

 

i have check box caption of "its mandatory check check box prior saveing form on local pc"......just better understading mentiniong caption such long text, but, in relaity "my_save" in my_form.

 

so, validating my_save check box value in presave event , if not checked throwing error poup message using simple js

 

app.alert ("pls. check check box of my_save, else data not saved")

but, presave js triggering/working @ all.

 

just testing purpose, put js

 

app.alert ("this testing whether presave event triggering or not?")

i not @ getting test message!!

 

i guessing, adobe loosing focus, hence put explicitly setfocus(my_form_1) in initialization event of root node, no use. did not tried somexpression

 

pls. let me know why js not triggering @ @ presave event?

 

(i have js on layour ready, form ready, doc ready, post save, initialize events of fields, root node)

 

thank you



More discussions in LiveCycle Designer


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support