ainoy31 Posted January 7, 2008 Share Posted January 7, 2008 Hello- I have a dynamic form and I display certain questions base on what button is clicked. The form works fine but when I go back to check what I have picked, two of my questions are missing the radio buttons. So, say I choose No and No for the Letter of Credit and Is an original Bill of Lading required, and go back to view it, the button for the No is missing but available for the Yes option. Here is my code: <td> <input type="radio" style="background-color:white" rel="credit" id="ff_quote" name="ff_quote" value="Yes">Yes <input type="radio" style="background-color:white" rel="none" id="ff_quote" name="ff_quote" value="No">No </td> </tr> <tr rel="credit"> <td class="label"> Letter of Credit?</td> <td> <input type="radio" style="background-color:white" rel="or_bl" name="credit" value="Yes">Yes <input type="radio" style="background-color:white" rel="usppi_shipper_same" name="credit" value="No">No </td> </tr> <tr rel="or_bl"> <td class="label"> Is an original Bill of Lading required?</td> <td> <input type="radio" style="background-color:white" rel="usppi_shipper_same" name="or_bl" value="Yes">Yes <input type="radio" style="background-color:white" rel="usppi_shipper_same" name="or_bl" value="No">No </td> </tr> <tr rel="usppi_shipper_same"> <td class="label"><a href="intldoc/15cfr30.4.pdf" onMouseOver="stm(Text[7], Style[7]);" onMouseOut="htm();" target="blank"><img src="/images/fam/help.gif" class="button" alt=''></a> USPPI and Shipper the same?</td> <td> <input type="radio" style="background-color:white" rel="none" name="usppi_shipper_same" value="Yes" onClick="hideAll(); changeDiv('ex_com', 'block');">Yes <input type="radio" style="background-color:white" rel="usppi_detail" name="usppi_shipper_same" value="No">No </td> </tr> I hope this not is confusing. This only happens in IE7 but works fine in firefox. Much appreciation. AM Quote Link to comment https://forums.phpfreaks.com/topic/84815-radio-button-issue-in-ie7-but-mozilla-works/ Share on other sites More sharing options...
PFMaBiSmAd Posted January 7, 2008 Share Posted January 7, 2008 go back to view it What and how are you going back to view? Have you viewed the source of the page in your browser to see what is really there? Posting the HTML from the view source when the problem occurs would help. I have a dynamic form Does this mean you are using PHP to build it? You would need to post the corresponding php code. Either the data was not submitted/received from the one browser, or the form that was generated and sent out was invalid or was missing that radio button field. When a form is involved, most of the time when one browser works and another does not it is because the HTML markup is invalid and one browser ignores the errors in the code and sends the data or displays the form elements and the other browser does not. Quote Link to comment https://forums.phpfreaks.com/topic/84815-radio-button-issue-in-ie7-but-mozilla-works/#findComment-432414 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.