On this issue I have a page with the following check box listed for a special question. When I select a box on the next page and after the return, I think there is no check in the checkbox. I checked it on back end and I was able to see that the checkboxes were actually checked, but I was not able to see them as a check. I am not able to understand why they do not see . Any help regarding this will be appreciated. Thanks in advance. In the following code I have that page.
& lt; Td> & Lt; Input type = "checkbox" name = "test_na" value = "n / a" & lt ;? = $ Test_na? & Gt; Id = "test_na" & gt; & Lt; Label = "test_na" & gt; NA & lt; / Label & gt; & Lt; / TD & gt; & Lt; TD & gt; & Lt; Input type = "checkbox" name = "test_y" value = "y" & lt ;? = $ Test_y? & Gt; Id = "test_y" & gt; & Lt; Label = "test_y" & gt; Yes & lt; / Label & gt; & Lt; / TD & gt; & Lt; TD & gt; & Lt; Input type = "checkbox" name = "test_n" value = "n" & lt ;? = $ Test_n? & Gt; Id = "test_n" & gt; & Lt; Label = "test_n" & gt; No & lt; / Label & gt; & Lt; / TD & gt;
test the value of checkox and resonant checked
If price matching
& lt; Td> & Lt; Input type = "checkbox" name = "test_na" value = "n / a" & lt ;? Php echo (isset ($ test_na) & amp; $ test_na == 'N / A'? Checked: ''); ? & Gt; Id = "test_na" & gt; & Lt; Label = "test_na" & gt; NA & lt; / Label & gt; & Lt; / TD & gt; & Lt; TD & gt; & Lt; Input type = "checkbox" name = "test_y" value = "y" & lt ;? Php echo (isset ($ test_y) & amp; $ test_y == 'Y'? Checked: ''); ? & Gt; Id = "test_y" & gt; & Lt; Label = "test_y" & gt; Yes & lt; / Label & gt; & Lt; / TD & gt; & Lt; TD & gt; & Lt; Input type = "checkbox" name = "test_n" value = "n" & lt ;? Php echo (isset ($ test_n) & amp; $ test_n == 'N' checked: ''); ? & Gt; Id = "test_n" & gt; & Lt; Label = "test_n" & gt; No & lt; / Label & gt; & Lt; / TD & gt;
Comments
Post a Comment