SaaS CMS has officially launched! Learn more now.

Validation message (warning) on form Element


Hi is it possible in EpiServer Forms to create a validation message on a form element? I want to create a warning message when an element hasn't been set to required when publishing the element.

This is a validaton message in the episerver backend, not in the front end (website).

Jan 02, 2019 9:41

If you create the standard IValidate class for the element you want you should be able to add custom validation which will be triggered when trying to publish. As per standard with IValidate you can raise these as errors, warnings or information.

Jan 02, 2019 11:01
* 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.