BounceFish 

Website Solutions
Search
      home solutions clients resources faqs contact us  
  See our portfolio under the solutions section.

Resources - For Developers

Back to Resources For Developers Homepage

================COPY CODE BELOW===========================
<form action="search_result.php" method="get" name="thisForm">
I Like<BR />

<input type="radio" name="Like" value="Coke" onclick="thisForm.DontLike[0].checked = true;" checked="checked"/ >Coke<BR> <!-- 0 = First Box, 1 = Second Box -->
<input type="radio" name="Like" value="Pepsi" onclick="thisForm.DontLike[1].checked = true;"/>Pepsi<BR><BR> <!-- 0 = First Box, 1 = Second Box -->
I Don't Like<BR />
<input type="radio" name="DontLike" value="Pepsi" onclick="thisForm.Like[1].checked = true;" checked="checked"/>Pepsi<BR> <!-- 0 = First Box, 1 = Second Box -->
<input type="radio" name="DontLike" value="Coke" onclick="thisForm.Like[0].checked = true;" />Coke<BR> <!-- 0 = First Box, 1 = Second Box -->
</form>

================COPY CODE ABOVE===========================

    INSTRUCTIONS
  • Paste code inside body <BODY></BODY> of HTML page
  • Use the form button or the text link

    DESCRIPTION
  • Use this if you want to force users to restrict the choice in two related radio buttons.

 

Copyright © 2003-2012. BounceFish Web Design. All rights reserved.