Highlighted

How to check whether mandaotry fields are filled in before saving?

_Bill_Bain_

05-12-2008

Is there a relatively easy way to check whether all the mandatory fields are filled in before saving the form? I've seen that the "Submit" button does that but I wnat to save the form, not submit it via email. Thanks!

Replies

Highlighted

ChromeUser

05-12-2008

Bill Bain;

You can give me a mail: acrobatman@gmail.com i will give an example.

You must have installed LiveCycle 8 to watch the real JS in example first.

Jasper
Highlighted

Ryan_Lunka

11-12-2008

Building on Thomas's suggestion, you could place that line of script in the pre-save event for the form. That should accomplish what you want to happen.



Good luck!



Ryan D. Lunka

Cardinal Solutions Group

rlunka@cardinalsolutions.com
Highlighted

_Bill_Bain_

12-12-2008

Works like a charm -- thanks. I put it on the MouseEnter event of the button so that it fires before the user even has the chance to trigger the save. That way the user could save what they've got and come back later and complete it (assuming that the form has the Reader extensions added).