load( local!val, a!formLayout( label: "Lorem Ipsum", instructions: "Lorem Ipsum", firstColumnContents: { a!textField( label: "Lorem Ipsum", labelPosition: "ABOVE", value: local!val, saveInto: { local!val, if( local!val = "A", a!save( ri!cancel, "Cancel" ), "" ) }, refreshAfter: "UNFOCUS", validations: { if( local!val = "A", "Value is A", "" ) } ), a!textField( label: "Debug", value: ri!cancel, readOnly: true ) }, secondColumnContents: { /* Add components here for a two-column form */ }, 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: {} ) )