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>input()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Input()
Returns/writes HTML INPUT form tag
---------------------------------------------------------------------

Syntax:

  Input( < cName >, < cValue >, < cType >, [< nSize >],
         [< nMaxLen >], [< cOnClick >] )      --->  cString

Arguments:

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

  <cValue> is a character string that appears on the object.

  <Type> is a character string - Submit or Reset (for buttons only).

  [<nSize>] is an optional numeric size ( character width ) of the
  object.

  [<nMaxLen>] is an optional numeric value for the maximum character
  length of the value displayed in the object.

  [<cOnClick>] is an optional character string for the OnClick event.

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

Description:

  Generates an HTML form INPUT tag for Text Box, Radio Button, etc.

  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.

Examples:

  ...
  ...
  FormBeg( "MyName", "MyCGI.exe", "POST")

    Input( "eMail", "Enter eMail address", "Text", 20, 40 )

    Input( "Button1", "ABC", "Button", , , "MyJSEvent()" )

    Input( "Button1", "Click Me", "Submit" )

  FormEnd()
  ...
  ...

Alternate:

  htmlWrite( ' <INPUT NAME="YourName" VALUE="YourValue" TYPE="YourType" ' )

Files: Library is ClipX.Lib

Online reference:  Mikodocs Guide To HTML - INPUT tag


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