addToForm
The addToForm function is used for adding a key/vaue pair to a User's Session, which will then be retrievable via the getForm function. This is used for storing a form's input on submit, so if an error is encountered, the value will be "saved".
bool
addToForm
(string $index, string $value, [string $key = false])
-
string
$index: Index to save to
-
string
$value: Value to save
-
string
$key: Unique form ID to save to
|