Level 1
Level 2
Sign in to Community
Learn more
Sign in to view all badges
Expand my Community achievements bar.
Hi,
How do i programmatically set a field to be mandatory. The field has to be set to mandatory, and the form should refuse submission of data; based on the value of another field..
Thanks,
Prashant.
To set field mandatory use this script:
fieldName.validate.nullTest="error"
to set field optional:
fieldName.validate.nullTest=""
BR,
Paul Butenko
Thanks a lot, Paul.
Regards,
Hi Paul,
Just wondering, where exaclty in the coding it would go? I'm stumbling my way around and have no idea.
Cheers
BK
Views
Likes
Replies