Expand my Community achievements bar.

Making fields active ONLY AFTER a mandatory text field has been filled?

Avatar

Level 1

Is there a way to take a text field and make it required in order to access all other fillable fields? Or to make it reference to another filed after it is filled?

4 Replies

Avatar

Level 8

On the value tab of the one you want to be mandatory set the type to User Entered Required.  In order to type something into the field they have to enter and exit the field.  Put a script in the exit event to check if the field is empty and if it isn't then set the "other" fields access property for example TextField2.access = "";


Avatar

Level 1

TundraSteve, thanks for the response. I am new to LiveCycle and do not quite understand the second part of your instructions.

Avatar

Level 8

In Designer select the mandatory field, open the script editor, pick the exit event, and enter yourfieldname.access = "" surrounded in an if statement to check if the mandatory field is empty.  I'll email you a small sample