I'm trying to create an EpiServer Form which has two fields, The user only needs to fill one of the fields but should get a validation error if both fields are empty. Is there a way to create this kind of conditional cross field validation both on client and server side?
Currently, Forms only support to create validator on 1 field. If you want to validate cross field, You can create a custom form element which contains 2 textbox (for ex), then write validator for it.
Hi,
I'm trying to create an EpiServer Form which has two fields, The user only needs to fill one of the fields but should get a validation error if both fields are empty.
Is there a way to create this kind of conditional cross field validation both on client and server side?
BR
Micke