Solar_Form::reset()

public void Solar_Form::reset ( void )

Resets the form object to its originally-configured state, and adds an anti-CSRF element with the current value of the session token.

Parameters

  • None.

Returns

  • (void)

Description

Resets the form object to its originally-configured state, and adds an anti-CSRF element with the current value of the session token.

This clears out all elements, filters, validations, and feedback, as well as all submitted values. Use this method to "start over again" using the same form object.



Local