Forums

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

Home Forums Back End PHP Contact – does not validate form in Oprea & Chrome Re: PHP Contact – does not validate form in Oprea & Chrome

#73324
Irrorate
Member
"ponyack" wrote:
Hi,

That works great.

I just realized that the PHP form has a bunch of JavaScript that is supposed to do the validation.

This is a link – its the second form https://css-tricks.com/downloads/php-stuff/

Anyway – thanks for the help – if you have time, I have a style quesiton – When the warning happens is there a way to create that on the same page or at least a pop up –

John

Hey ponyack,

You would either have to use JavaScript to validate the fields (but if JS is disabled, that will fail) or you’re going to have to use AJAX to check for the PHP reply and show it on the screen. Both of which I don’t have much experience in :p