This page contains tests for various WFForm features. PHOCOA offers the following features for HTML Forms:
Forms can have multiple buttons, each routing automatically to distinct action methods.
Degrades gracefully if Javascript not enabled
PHOCOA allows you to choose the 'default' button that is used to submit a form that is submitted by a user's pressing enter in a text field. If your form has only one button, PHOCOA automatically ensures that your submit action method is called. If your form has more than one submit button, it is recommended that you set defaultSubmitID on the WFForm to guarantee which form button will be triggered. Since all browsers differ slightly in how they handle submit buttons, this normalization is very important to cross-platform consistency. This feature works with or without Javascript enabled on the client.
Useful for transaction-oriented forms.
Convenient way to tell users to be patient.
When submitted, this form will show the button pressed to the right of the buttons.
The "Second Button" is set as the default button, and should appear when pressing ENTER in the text field.
The other buttons, when clicked, should also result in the correct button name being shown.
The First Button has both a postSubmitLabel and a duplicateSubmitMessage enabled.
The Second Button has a postSubmitLabel.
This is the same as the above test, but with a form where AJAX is used for all form submissions.