Webform Server instructs the browser to automatically refresh a form whenever user input results in certain changes to the form (for example, certain layout changes). One way to minimize the number of refreshes is to divide your form into pages. Forms that use this style are often referred to as “wizard-style” forms.
For example, you might design a form in which one section changes completely depending on whether the user is single or married. If the layout change requires Webform Server to refresh the form, you may prefer to divide the form into pages to eliminate the need for a refresh. For example, on the first page of the form the user might enter some personal information and indicate whether they are married or single. Then the user clicks a button to flip to the next page. The content of the second page is based purely on their marital status, and is calculated during the page flip. In this case, single users skip page two entirely and are shown page three, while married users see page two, in which they must provide some information about their spouse and dependents.
By relying on page flips in this way, you can minimize the number of refreshes users experience.
The following pictures illustrate a form in which the spousal information becomes visible when the user selects the appropriate check box:
The change in form layout may require Webform Server to refresh the form, requiring the user to wait a few seconds to see the modified form.
Instead, you can add a page flip to the first page, as shown:
In this case, the user clicks the Next button to move to the next page. This brings up the special "Spousal Information" page because the user selected Yes in the previous page. This makes the calculation that produces the special section part of the normal flow of completing the form and provides the user with a more intuitive experience.
Exceptions to this practice
Alternately, you can design your form using options that Webform Server can dynamically update, like visible
Back to: Dynamic forms