| <?xml version="1.0" encoding="ISO-8859-1"?> |
| <wd:form |
| xmlns:wd="http://apache.org/cocoon/woody/definition/1.0" |
| xmlns:i18n="http://apache.org/cocoon/i18n/2.1"> |
| |
| <wd:widgets> |
| |
| |
| <wd:field id="cardType" required="true"> |
| <wd:label>Card Type</wd:label> |
| <wd:datatype base="string"/> |
| <wd:selection-list> |
| <wd:item value=""> |
| <wd:label>Choose Card Type</wd:label> |
| </wd:item> |
| <wd:item value="master"> |
| <wd:label>Master Card</wd:label> |
| </wd:item> |
| <wd:item value="visa"> |
| <wd:label>Visa Card</wd:label> |
| </wd:item> |
| <wd:item value="ae"> |
| <wd:label>American Express</wd:label> |
| </wd:item> |
| </wd:selection-list> |
| </wd:field> |
| |
| |
| <wd:field id="creditCard" required="true"> |
| <wd:label>Card Number</wd:label> |
| <wd:datatype base="string"/> |
| </wd:field> |
| |
| <wd:field id="expiryDate" required="true"> |
| <wd:label>Expiry Date (MM/YYYY)</wd:label> |
| <wd:datatype base="string"/> |
| </wd:field> |
| |
| <wd:field id="billToFirstName" required="true"> |
| <wd:label>First name</wd:label> |
| <wd:datatype base="string"/> |
| </wd:field> |
| |
| <wd:field id="billToLastName" required="true"> |
| <wd:label>Last name</wd:label> |
| <wd:datatype base="string"/> |
| </wd:field> |
| |
| |
| <wd:field id="billAddress1" required="true"> |
| <wd:label>Address 1</wd:label> |
| <wd:datatype base="string"/> |
| </wd:field> |
| |
| |
| <wd:field id="billAddress2" required="false"> |
| <wd:label>Address 2</wd:label> |
| <wd:datatype base="string"/> |
| </wd:field> |
| |
| <wd:field id="billCity" required="true"> |
| <wd:label>City</wd:label> |
| <wd:datatype base="string"/> |
| </wd:field> |
| |
| <wd:field id="billState"> |
| <wd:label>State</wd:label> |
| <wd:datatype base="string"/> |
| </wd:field> |
| |
| <wd:field id="billZip" required="true"> |
| <wd:label>Zip</wd:label> |
| <wd:datatype base="string"/> |
| </wd:field> |
| |
| <wd:field id="billCountry" required="true"> |
| <wd:label>Country</wd:label> |
| <wd:datatype base="string"/> |
| </wd:field> |
| |
| <wd:booleanfield id="shippingAddressRequired"> |
| <wd:label>Ship to different address...</wd:label> |
| </wd:booleanfield> |
| </wd:widgets> |
| </wd:form> |