2.4.b
You should see a select1 with Cash and Credit as its
options. When you click the submit button the data (method, number, and expiry)
should be displayed in a data instance fromat. Since both
number and expiry are required, you should not be able to
submit the form without first entering in values. The cc
number should be a number of 14-18 digits, and
the expiry should be of of type gYearMonth. Also, both cc
number and expiry are only relevant to the credit card, so
if you select cash as your method, the data for cc
number and expiry should not be visible.
Select Payment Method:
Cash
cash
Credit
cc
Credit Card Number:
Expiration Date:
Submit
You should see a select1 with 4 different options (Not at
all helpful, Barely helpful, Somewhat helpful, and Very
helpful). When you click the second submit button a data
instance should appear with the value you chose (between
0 and 3). Notice that the two submits are different and
should only submit the data that is bound with the submission,
in this case it should be a number between 0 and 3.
How useful is this page to you?
Not at all helpful
0
Barely helpful
1
Somewhat helpful
2
Very helpful
3
Submit