Form field

From Kolmafia
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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()