How can I exit the submitting-process, if validation failed?


hello!

i check form-fields send xml-data via mail.

i placed email-button document , add javascript-code "presubmit" event. if validation fails form still submit!

how can exit submitting-process, if validation failed?

add following line validation event (not presubmit event) of field (javascript, not formcalc)

false;

also make sure field mandatory, , add messages both validation script , mandatory message.

clicking email button not let submit.

howard
http://www.avoka.com


More discussions in LiveCycle pre-ES (6.x and 7.x) discussions


adobe

Comments