2.3.a
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 an integer with 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 serialized for submission.
Select Payment Method:
Cash
cash
Credit
cc
Credit Card Number:
Expiration Date:
Submit