validate field based on another field?
Posted: 2011-12-05 12:49
Hi all,
I have a custom transaction with few input fields.
I need to validate a field, based on another field.
Example:
Here is the form:
'quantity1' [__________________] - Category1(dropdown menu - static)
'quantity2' [__________________] - Category2(dropdown menu - static)
The field category should be required only if the quantity1 or quantity2 fields are greater than 0.
And at least 'quantity1' or 'quantity2' is required.
I'm trying to use the conditional options on the validation form wizard but it validate the whole form at once, thus non allowing me to validate the single field (category).
Is this possible with ADDT/Kollection 3?
It seems that custom triggers should be able to solve this, but I cannot find a sample to study.
TIA for any help.
tony
I have a custom transaction with few input fields.
I need to validate a field, based on another field.
Example:
Here is the form:
'quantity1' [__________________] - Category1(dropdown menu - static)
'quantity2' [__________________] - Category2(dropdown menu - static)
The field category should be required only if the quantity1 or quantity2 fields are greater than 0.
And at least 'quantity1' or 'quantity2' is required.
I'm trying to use the conditional options on the validation form wizard but it validate the whole form at once, thus non allowing me to validate the single field (category).
Is this possible with ADDT/Kollection 3?
It seems that custom triggers should be able to solve this, but I cannot find a sample to study.
TIA for any help.
tony