I need some help from the pros.
lately I've been getting alot of spam on my site's contact forms.
I want to add IP request in my forms so I can block the spammer's IPs.
So far I have got the job 50% done.
On my site i have 2 contact forms.
the first one is the main CONTACT US form.
the second one is the feedback form.
I've got it working on the main form.
to my mail.php page and I added
<input type="hidden" name="IP Address" value="<?php echo $_SERVER['REMOTE_ADDR'] ?>">
to my contact page where the form is.
changed changed contact.html to contact.php and its working good.
the problem is with the feedback form.
unlike the main contact form that uses tables, the feedback form is a sliding type and is written with DIVs and uses java, css and jquery to function.
i tried adding the same code shown above to this form the same way I did with the main form, but it doesn't work.
your help will be greatly appreciated.
thanks in advance