SaaS CMS has officially launched! Learn more now.

Add out of the box validator to the custom form field/element.


I have implemented a custom form element but would like to add the RequiredValidator(like the below snap) to my form element. Could you please let me know how this can be accomplished?

Validators  Required

Error message 

 Regular expression


 Date (DD/MM/YYYY)

 Date (MM/DD/YYYY)

 Date (YYYY-MM-DD)

Edited, Aug 16, 2023 5:16

[AvailableValidatorTypes(Include = new[] { typeof(RequiredValidator)})]

Add this to your custom form element

Aug 18, 2023 11:29
* 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.