=a!formLayout( label: "New Purchase Request", firstColumnContents: { a!sectionLayout( firstColumnContents: { a!pickerFieldUsers( label: "Requested By", labelPosition: "ABOVE", value: loggedInUser(), /* The saveInto parameter must be configured in order to save a value */ saveInto: {}, required: true, validations: {} ), a!dropdownField( label: "Department", labelPosition: "ABOVE", placeholderLabel: "--- Select Department ---", choiceLabels: {"Finance", "Human Resources", "Marketing", "Sales", "IT"}, choiceValues: {"Finance", "Human Resources", "Marketing", "Sales", "IT"}, saveInto: {}, required: true, validations: {} ), a!dateField( label: "Due Date", labelPosition: "ABOVE", value: today(), saveInto: {}, required: true, validations: {} ), a!textField( label: "Special Instructions", labelPosition: "ABOVE", /* The value parameter must be configured to display a value in the component */ saveInto: {}, refreshAfter: "UNFOCUS", required: true, validations: {} ) }, secondColumnContents: { a!textField( label: "Shipping Address", labelPosition: "ABOVE", saveInto: {}, refreshAfter: "UNFOCUS", required: true, validations: {} ), a!textField( label: "City", labelPosition: "ABOVE", saveInto: {}, refreshAfter: "UNFOCUS", required: true, validations: {} ), a!textField( label: "State/Province", labelPosition: "ABOVE", saveInto: {}, refreshAfter: "UNFOCUS", required: true, validations: {} ), a!textField( label: "Zip/Postal Code", labelPosition: "ABOVE", saveInto: {}, refreshAfter: "UNFOCUS", required: true, validations: {} ) } ) }, secondColumnContents: { a!sectionLayout( firstColumnContents: { a!pickerFieldUsers( label: "Requested By", labelPosition: "ABOVE", value: loggedInUser(), /* The saveInto parameter must be configured in order to save a value */ saveInto: {}, required: true, validations: {} ), a!dropdownField( label: "Department", labelPosition: "ABOVE", placeholderLabel: "--- Select Department ---", choiceLabels: {"Finance", "Human Resources", "Marketing", "Sales", "IT"}, choiceValues: {"Finance", "Human Resources", "Marketing", "Sales", "IT"}, saveInto: {}, required: true, validations: {} ), a!dateField( label: "Due Date", labelPosition: "ABOVE", value: today(), saveInto: {}, required: true, validations: {} ), a!textField( label: "Special Instructions", labelPosition: "ABOVE", /* The value parameter must be configured to display a value in the component */ saveInto: {}, refreshAfter: "UNFOCUS", required: true, validations: {} ) }, secondColumnContents: { a!textField( label: "Shipping Address", labelPosition: "ABOVE", saveInto: {}, refreshAfter: "UNFOCUS", required: true, validations: {} ), a!textField( label: "City", labelPosition: "ABOVE", saveInto: {}, refreshAfter: "UNFOCUS", required: true, validations: {} ), a!textField( label: "State/Province", labelPosition: "ABOVE", saveInto: {}, refreshAfter: "UNFOCUS", required: true, validations: {} ), a!textField( label: "Zip/Postal Code", labelPosition: "ABOVE", saveInto: {}, refreshAfter: "UNFOCUS", required: true, validations: {} ) } ) }, buttons: a!buttonLayout( primaryButtons: { a!buttonWidgetSubmit( label: "Submit", style: "PRIMARY", saveInto: {} ) }, secondaryButtons: { a!buttonWidgetSubmit( label: "Cancel", style: "NORMAL", value: true, saveInto: ri!cancel, skipValidation: true ) } ), validations: {} )