Dujskan
Dujskan

Reputation: 125

Episerver Forms 3.0.0.0

How do I prevent post if validation on my formset failed? If there is a missing value on any required field I dont want the information to get erased if I press the send button ("SKICKA").

Image of the form

I apologize for the mixed language in the picture.

Upvotes: 1

Views: 224

Answers (1)

photowalker
photowalker

Reputation: 373

In your Edit mode for Epi form if you scroll down you should be able to see all the fields listed in a list called Form elements e.g. your Namn field, click that in the Form elements and edit it. You will see a list of Validators which you can choose from. Adding a required or any other suitable validation will prevent the form from posting if there were no text proveded.

Upvotes: 1

Related Questions