up

inputs

The <INPUT> tag is used in forms and allows interaction with the httpd server.

There are several types of input tags:


<input NAME=name [value=string] [Type =type] [SIZE=x,y] [checked] ALIGN=align>

Creates an input field in a form. NAME must be present for all types of input except submit and reset

TYPE can be one of


Plain input field

  <form>

	<input NAME="From">

  </form>


text areas
On Xmosaic, the SIZE parameter is interpreted as a textarea. This is ignored in Mosaic for Windoze and proper TEXTAREAS should be used.
This wont work under Windoze

 
ROWS=5 COLS=30 ALIGN=middle
This will work under Windoze

<TEXTAREA ROWS=5 COLS=30 ALIGN=middle>

submission buttons

Type="submit"

reset button

Type="reset"

check boxes
Type=checkbox
<input name=check Type="checkbox" value="check">
<input NAME=check value="check2" Type=checkbox checked>

radio buttons
Type=radio
<input name=radio Type=radio value="radio">
<input NAME=radio value="radio2" Type=radio checked>

Hidden text useful when there are a sequence of forms, data from one can be hidden in input fields and shared across all the forms. Hidden fields should only be generated by a CGI script.
Type=hidden
<input name=hidden Type=hidden value="You cant see this">

password box

Type=password

  • <select [MULTIPLE]>...</select>

    This creates a pull-down menu containing Options in a form.

    single select
    
      <form>
    
      <select NAME="direction">
    
      <OPTION SELECTED> North
    
    	<OPTION> East
    
    	<OPTION> South
    
    	<OPTION> West
    
      </select>
    
    </form>
    
    
    multiple single (use ctrl-click to select)
    
      <form>
    
      <select NAME="direction" MULTIPLE >
    
      <OPTION SELECTED> North
    
    	<OPTION> East
    
    	<OPTION> South
    
    	<OPTION> West
    
      </select>
    
    </form>
    
    
    produces:

  • <isindex>

    This is probably the strangest tag. When I first saw it, I though that it provided a free text searching capability on a set of documents.

    What it actually does is to provide a ready built form (standardization and all that), all you have to do is provide the processing at the server end.

    Note: on Xmosaic the isindex form is in-lined, on MSwindows the form appears at the bottom of the screen... weird!!


  • <textarea [rows=rows] [cols=cols]>

    This allows us to put a panel of text in a form

    in Xmosaic, the text is shown within the text area.