Validate Radio Buttons? [message #182369] |
Wed, 31 July 2013 18:20 |
bill
Messages: 310 Registered: October 2010
Karma:
|
Senior Member |
|
|
Hi all,
I was wondering what the general consensus might be on this:
Should one Validate Radio Buttons for an online website contact form?
I've always thought they needed nothing but validation to see if they'd
been used or not before accepting them, and sending the user back to the
website Home Page.
I've used Referrer to check the pages the visitor came from, gotten
his IP or proxy identifier IP and used Control Cache and Pragma plus
$referrer to check that the visitor arrived from the website and nowhere
else, to try to be sure you can't go back to any previous page and find
the data still in tact; sessions are always destroyed when any error
shows up. A counter tells me how many attempts were made from the same
IP or Proxy and after 3 attempts the visitor is banned for a few hours.
Two sets of 3 failed attempts will ge him banned permanently.
BUT, does any of that negate the need to Validate a Radio Button Click?
http://phpmaster.com/form-validation-with-php/ seems to think so, but
the code they suggest isn't exactly simple and it takes a lot of code.
I'm willing to be called wrong; no problem at all.
So, what do YOU think?
TIA & Regards,
Twayne`
|
|
|