Jump to content

Contact Form "There is 1 error :" BUT actually there are many


Recommended Posts

PS 1.4.7.3

 

Go to the contact form and just press Submit.

 

You will get an error message:

 

 

There is 1 error :

  1. Invalid e-mail address


Fair enough. So put in your email address and try again.

 

 

 

There is 1 error :

  1. Message cannot be blank


 

And so it goes on.

The point is that it checks for errors and sends the user back to the screen,

one error at a time.

And the fact that it says "There is 1 error" implies that there is ONLY 1 error, doesn't it?

 

Seems very clunky to me.

 

Is there a simple way to edit the ContactController file that it gives a more accurate indication of ALL the errors?

Link to comment
Share on other sites

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...