steamPunk
09-25-2009, 08:52 AM
Hi
I've got a problem i've never had before :
I have a form with various fields including some radio buttons :
<input name="user_civ" type="radio" value="M." class="radio" /> M.
<input name="user_civ" type="radio" value="Mme" class="radio" /> Mme
<input name="user_civ" type="radio" value="Mlle." class="radio" /> Mlle.
<input name="user_civ" type="radio" value="n/c" class="radio" /> n/c
and I'm testing the submitted values using php
when one of the radio buttons is selected the value of $_POST['user_civ'] is submitted normally
but if no buttons are selected the $_POST['user_civ'] isn't sent with the other form variables - is this normal behaviour ?
thanks
I've got a problem i've never had before :
I have a form with various fields including some radio buttons :
<input name="user_civ" type="radio" value="M." class="radio" /> M.
<input name="user_civ" type="radio" value="Mme" class="radio" /> Mme
<input name="user_civ" type="radio" value="Mlle." class="radio" /> Mlle.
<input name="user_civ" type="radio" value="n/c" class="radio" /> n/c
and I'm testing the submitted values using php
when one of the radio buttons is selected the value of $_POST['user_civ'] is submitted normally
but if no buttons are selected the $_POST['user_civ'] isn't sent with the other form variables - is this normal behaviour ?
thanks