Forms - position of Validation Error message

NCV MEEK asked on December 6, 2019 21:46

I am playing with Forms in Kentico v12 (Portal). I have a simple form that does almost everything I want, but I am finding it very hard to (a) understand the positioning of explanation and error messages, and particularly (b) the position of the General validation Error message.

This general message which appears when there is any error on the validation of the form seems to appear above the top of the form, which I think is ridiculous, as the user will have moved to the bottom of the form as they filled it in, and clicked a Submit button. So, the top of the form is potentially off the screen.

Is there a way to get this message, for example, either above or below the submit button, or below the form?

Correct Answer

Peter Mogilnitski answered on December 7, 2019 04:25

you can go to form layout. Switch to use custom layout. Click generate default layout. Now you can adjust position of validation messages for each control. Generic message for the form you can move using jquery.

0 votesVote for this answer Unmark Correct answer

Recent Answers


NCV MEEK answered on December 9, 2019 14:05

Thanks! I should have realised that from the documentation. I did Custom layout for labels and inputs, but not validation.

The jQuery piece is going to be a bit beyond my capabilities... any pointers appreciated, then I'll go ask for some local advice!

Many thanks.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.