\UserDefinedFormControllerTest_Controller
Synopsis
class UserDefinedFormControllerTest_Controller
extends UserDefinedForm_Controller
implements
TestOnly
{
- // methods
- public void Form()
- // Inherited methods from UserDefinedForm_Controller
- public void init()
- public array index()
- public int ping()
- public Forms Form()
- public void generateConditionalJavascript()
- public Redirection process()
- public ViewableData finished()
- protected string buildWatchJS()
Hierarchy
Methods
public
- Form() — Overloaded to avoid inconsistencies between 2.4.2 and 2.4.3 (disables all security tokens in unit tests by default)
Inherited from UserDefinedForm_Controller
protected
- buildWatchJS() — Outputs the required JS from the $watch input
public
- Form() — Get the form for the page. Form can be modified by calling {@link updateForm()} on a UserDefinedForm extension.
- finished() — This action handles rendering the "finished" message, which is customizable by editing the ReceivedFormSubmission template.
- generateConditionalJavascript() — Generate the javascript for the conditional field show / hiding logic.
- index() — Using $UserDefinedForm in the Content area of the page shows where the form should be rendered into. If it does not exist then default back to $Form.
- init()
- ping() — Keep the session alive for the user.
- process() — Process the form that is submitted through the site