Forum

Thread tagged as: Question, Error, Forms

perch:error forms app

Hello

when using perch:error on forms and submit, error messages display but get taken to top of web page rather than form lower down the page.

Is there anyway to change this to direct the person direct to the form section.

thank you

Denise Courtney

Denise Courtney 0 points

  • 6 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Set the action attribute of the form to use a fragment identifier.

action="#id-of-my-form-container"

Perfect thank you!

Another quick form question... Does form reset work with perch forms?

Drew McLellan

Drew McLellan 2638 points
Perch Support

Yes, but it's very unusual to see these days.