Form field: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>Bale
I was slightly confused.
 
imported>Bale
mNo edit summary
 
Line 5: Line 5:
FunctionPage|
FunctionPage|
name={{#var:name}}|
name={{#var:name}}|
function_category=Relay Browser Functions|


function1={{Function|
function1={{Function|
Line 26: Line 25:
see_also={{SeeAlso|form_fields|write|writeln}}|
see_also={{SeeAlso|form_fields|write|writeln}}|
}}
}}
[[Category:Relay Browser Functions]]

Latest revision as of 05:26, 22 May 2010

Function Syntax

string form_field(string value )

  • Returns the value attribute of a previously-submitted input tag.

Used to read form information in User Interface Scripts.

Code Sample

Set a value from a form field in a UI Script.

string color_choice = form_field("coloring");

See Also

form_fields() | write() | writeln()