2.4.a Example: Multiple Forms
3
2.4.a Example: Multiple Forms
You must see a select1 control with the values "Cash" and "Credit" as well as two
input controls on the page.
The Credit Card Number and Expiration Date input controls are set to be relevant only when Credit
is selected. If you have selected Cash then you must be able to submit the form
and the input controls must have become unavailable.
If you have selected Credit then you must not be able to submit the form until valid data is
entered into both input controls. A valid entry for Credit Card Number is a positive number with
14-18 digits. A valid entry for the expiration date
is a date in the format of gYearMonth, which is yyyy-mm (ex. 1998-12 for December 1998).
When you activate the Submit Form 1 submit control this page must be replaced by the form data.
You must see the value "cc" and the values you entered in the Credit
Card Number and Expiration Date input controls if you had selected Credit or the
value "cash" if you had selected Cash.
Select Payment Method:
Cash
cash
Credit
cc
Credit Card Number:
Expiration Date:
Submit Form 1
You must see a select1 with four different options (Not at all helpful, Barely
helpful, Somewhat helpful, and Very helpful). When you activate the 'Submit Form 2'
trigger a data instance must appear with a number corresponding to the value you chose
(0-3) under 'helpful'.
How useful is this page to you?
Not at all helpful (0)
0
Barely helpful (1)
1
Somewhat helpful (2)
2
Very helpful (3)
3
Submit Form 2
IMPORTANT: Note that 'Submit Form 1' and 'Submit Form 2' only submit the data on the page to which they
are linked to. 'Submit Form 1' must only submit the data for the payment information and 'Submit
Form 2' must only submit the data for the page survey.