Msg#: 4485249 posted 12:15 am on Aug 16, 2012 (gmt 0)
My company wanted me to add another question to an online application form so I did. For some reason when people fill out the form and send the application the new question is showing but the yes or no button isn't being highlighted for what they selected. It's showing the yes or no button but their clicked option isn't showing it's just white in both buttons. Here is the code below,
The "Can You operate a vehicle" Question is showing their yes or no picked but the "Are you currently able to perform the essential" question isn't showing it.
</table> <img src="http://<? echo $_SERVER['SERVER_NAME']; ?>/images/dot.gif" width="10" height="10"> <table width="99%" border="0" cellspacing="0" cellpadding="3" align="center"> <tr> <td align="left"> <span class="fields1">Can you operate a vehicle with a manual transmission?</span> <? echo getRadio('Yes',$data['f200']); ?> <? echo getRadio('No',$data['f200']); ?> </td> </tr> <tr> <td align="left"> <span class="fields1">Are you currently able to perform the essential duties of the position for which you applied for during the available hours identified above?</span> <? echo getRadio('Yes',$data['f205']); ?> <? echo getRadio('No',$data['f205']); ?> </td> </tr> </table>
Msg#: 4485249 posted 11:46 pm on Aug 16, 2012 (gmt 0)
Must be something in the code block handling the input values. Look there. I don't see anything here that could answer your question. Usually, the problem is in the declared variable. For ex: the input field or in your case, radio butto group Id and name is "myInput" and you code block declares a variable such as $myInput = $_POST['myinput']; Note the "I" is capitalized on one. Your $_POST var has to match you input name/ID exactly. Seems too simple but I've seen somethIng like that mess a coder up for hours. Hope this helps.