Form field

From Kolmafia
Jump to navigation Jump to search

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