London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

EpiServer Form: Conditional Cross field validation support?

Vote:
 

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

#223080
Edited, May 18, 2020 11:33
Vote:
 

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.

#223849
Jun 05, 2020 7:06
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.