Void addStateFields(ElementTree parent, Void(a) fn, a state)
Arguments
parent: The parent elementfn: The function to callstate: The state to pass to the function
Usage
Adds the state and processing function variables to a block-level element within a form created with addLocalForm. This function only works with the CGI state handling model, and is equivalent to using CGI::formHandler for non-HTMLDocument CGI programs.