How to switch off validation of a field using guidebridge?
In an adaptive form I want to hide fields that are not relevant anymore because of values in other fields.
Example: In the country I live children have a legal representative until they're grown up. If on a form somebody enters a birth date which indicates that he's older than 18 years the field demanding the name of his legal representative becomes obsolete. Such a feature is what I understand by adaptive form!
The only way I've found so far to accomplish this is :
* do not use the mandatory flag (because a field is always mandatory even if it's not visible)
* check in field's validation expression whether it is visible at all: if it is visible check its value else validation expression returns true
What I would like is a way to switch validation off by guidebridge in a elementVisibleChanged event. Is this possible? (The guidebridge documentation is deceptively incomplete for such questions.)
Thank you,
Urs Hofmänner