Funbrain - Online Advertising - Debt Consolidation - Debt Consolidation - Debt Consolidation

PDA

View Full Version : validating radio buttons


charmsqueen
May 6th 2006, 2:39 am
i have created a script in php/mysql to update to a database table.the rows are listed ...and alongside each row i have submitted a radio button ...after selecting one radio button and clicking the update button which is given on the top,it goes to next page to update....

i want to ensure that atleast one radio button is clicked...if not i would like to show an error message when the user clicks the update button...

won't radio button validation work like <select> tag validates...i tried but it isn't working...so any ideas???thanks in advance....