Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- ClipX.Lib v1.2 - <b>radio()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Radio()
Returns/writes HTML Radio Input button
---------------------------------------------------------------------

Syntax:

  Radio( <cName>, <cValue>, <lSelected> )  --->  cString

Arguments:

  <cName> is a character string for the name of the Radio Button.

  <cValue> is a character string value sent to the CGI program if
   the Radio Button is selected.

  <lSelected> is a logical value used to set a default Radio Button
   as selected.

Returns: A character string consisting of the generated HTML tag.

Description:

  Generates Radio Button with an option to default a button as Selected.

  The generated string is always returned. The string will be written
  to standard-out depending on the value of StopWrite().
  The default StopWrite() value is FALSE. Setting the StopWrite() value
  to TRUE will suspend the write to standard-out.

  Use the same cName for all radio buttons, to make radio group.

Examples:

  Example Using Radio() to create a Radio Group
          All radio buttons have the same name
    FormBeg()
      Radio( "radio", "A" )
      Radio( "radio", "B" )
      Radio( "radio", "C" )
    FormEnd()

Files: Library is ClipX.Lib

Online reference:  Mikodocs Guide To HTML - INPUT TYPE=RADIO tag


See Also: Input()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson