ConfiForms Form Definition | ||
---|---|---|
| ||
|
Source code
Code Block |
---|
<ac:structured-macro ac:macro-id="9568e943-6963-4aff-a2f1-d5683c1b8b10" ac:name="confiform" ac:schema-version="1"> <ac:parameter ac:name="formName">f<>f1</ac:parameter> <ac:rich-text-body> <ac:structured-macro ac:macro-id="4938f22c-1bb5-4101-bb26-24b551eb9da0" ac:name="confiform-entry-register" ac:schema-version="1"> <ac:parameter ac:name="embedded">true</ac:parameter> <ac:rich-text-body> <p> </p> </ac:rich-text-body> </ac:structured-macro> <p> <ac:structured-macro ac:macro-id="4999e6ce-90b8-4f57-9256-e8d6088940bb" ac:name="confiform-field-definition" ac:schema-version="1"> <ac:parameter ac:name="fieldName">dt</ac:parameter> <ac:parameter ac:name="fieldLabel">Date time interval</ac:parameter> <ac:parameter ac:name="type">datetimeinterval</ac:parameter> </ac:structured-macro> </p> <p> <ac:structured-macro ac:macro-id="995d432f-9fb6-4bff-b75d-aa4ebb2ce8c5" ac:name="confiform-field-definition-rules" ac:schema-version="1"> <ac:parameter ac:name="condition">dt.startDate:<[entry._today.timestamp]</ac:parameter> <ac:parameter ac:name="fieldName">Start date must be after today</ac:parameter> <ac:parameter ac:name="action">Validation rule</ac:parameter> <ac:parameter ac:name="actionFieldName">dt</ac:parameter> </ac:structured-macro> </p> </ac:rich-text-body> </ac:structured-macro> |