Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End PHP Contact Form: errors execute for every field rather then individually Reply To: PHP Contact Form: errors execute for every field rather then individually

#196835
krystyna93
Participant

Hello people,
here is my code finally on pastebin!

http://pastebin.com/S29C0axL

So as you can see, my if statements work but are displayed for all fields, however, I would like to display validations for each field one at a time when the user clicks send.

Any changes I can make to enable this??? I’m at a loss and wasting time on this due to lack of experience..

Anyone have any ideas?

Thanks :)