homepage Welcome to WebmasterWorld Guest from 107.20.131.154
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Website
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
Submit Form Not Showing Yes or No Button
ibmethatswhoib2




msg:4485251
 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.

Any Help?

</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>
&nbsp;&nbsp;<? echo getRadio('Yes',$data['f200']); ?>&nbsp;&nbsp;&nbsp;&nbsp;<? 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>
&nbsp;&nbsp;<? echo getRadio('Yes',$data['f205']); ?>&nbsp;&nbsp;&nbsp;&nbsp;<? echo getRadio('No',$data['f205']); ?>
</td>
</tr>
</table>

 

cffrost2




msg:4485716
 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.

cffrost2




msg:4485740
 1:13 am on Aug 17, 2012 (gmt 0)

I got your message and replied. Not sure if you're getting it. I sent it twice. But it's not showing in my sent folder. I'll help where I can. Let me know. Thanks

cffrost2




msg:4485930
 4:41 pm on Aug 17, 2012 (gmt 0)

Well, I sent you a message. I believe I found your problem. LOL! WOW! I missed it completely last night (0_o). My apologies. Hope you can get it fixed now with what I found. Let me know. Thanks

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved