2.3.a Example: Value Constraints 2.3.a Example: Value Constraints 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 Now 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 Now