Can anyone help me with my kontact form and newsletter signup?
www.andrewa.org/kontakt.php
I can’t quite seem to figure out what is wrong. I receive notification but I receive none of the important infos from the given fields; Name, Email, Subject, Message.
The same goes for my signup newletter form.
Anyone point me in the right direction? I would be really grateful!
Have a nice day folks,
andrew
you didn’t validate the fields before submitting the request…
the page is simply redirecting without checking form fields…
First you want to validate the fields…
If none of the fields are fill the page is refuse to redirect…
I’ll check into that. Defo.
Any links that would help? I just googled and there are loadsa links with validating with javascript. Am I on the right track?
Danke!
by using javascript only we can validate the form fileds in client-side…
but presentation wise some additional functionality is there by using Ajax…
Yes you can do validation client side with JS, but you’ll still have to do the validation server side (PHP) as well. See the client side validation as an extra, to give the user some immediate response.
Googling for ‘PHP form validation’ or something like that should give you loads of examples.
Prima! thanks for the replies. I’ll look into that.