Pink Module help with HTML code
skylight
Posts: 1,915
Just got my Pink and am very pleased with the results that i have achieved so far, I am currently trying to get my head around the HTML code for using radio buttons for 4 or 5 options so that only one option·can be selected at a time and how that code will be interpreted by the pink into one of it's variables using simple on off or 1 and 0 commands, it's the radio button true/false = load 1/0 into Nb_VARXX bit in HTML code thats getting me stumped at the moment, I tried using Microsoft Frontpage to give me the radio buttons but the HTML preview freaked me out and i couldn't see where to drop in the Form post Nb_VARXX bit.
Comments
Hope This Helps
Mike
<HTML>
<HEAD>
<TITLE>Radio Buttons</TITLE>
</HEAD>
<BODY>
Current State of Variable 10: <FONT Color="RED"><B><Nb_var10></B></FONT>
<Form method="Post" Action="/Radio.html">
<Input name="Nb_var10" type="Radio" Value="On">Turn On Variable<BR>
<Input name="Nb_var10" type="Radio" Value="Off">Turn Off variable<BR>
<Input Type="Submit">
</FORM>
</BODY>
</HTML>
Just Name this File Radio.HTML and upload it to a Pink· once on there you can view it and you should see the requested Result.
www.w3schools.com/html/html_examples.asp
Radio Button Area:
www.w3schools.com/html/tryit.asp?filename=tryhtml_form_radio
Hope it helps.
Regards,
Quattro
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
'Necessity is the mother of invention'
Regards,
Quattro
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
'Necessity is the mother of invention'