ConfiForms Form Definition | ||
---|---|---|
| ||
ConfiForms (FormView) Registrations Control | ||||
---|---|---|---|---|
| ||||
...
Code Block |
---|
<ac:structured-macro ac:macro-id="6bac0466-b7d8-4cfb-ad75-e474f0e7ac35" ac:name="confiform" ac:schema-version="1">
<ac:parameter ac:name="formName">myform1</ac:parameter>
<ac:rich-text-body>
<p>
<ac:structured-macro ac:macro-id="91d435a8-cd44-44f3-b50b-0decc9a33fec" ac:name="confiform-field-definition" ac:schema-version="1">
<ac:parameter ac:name="fieldName">mydate</ac:parameter>
<ac:parameter ac:name="fieldLabel">My date</ac:parameter>
<ac:parameter ac:name="fieldDescription">Allows dates what are "after" now</ac:parameter>
<ac:parameter ac:name="type">datetime</ac:parameter>
</ac:structured-macro>
</p>
<p>
<ac:structured-macro ac:macro-id="35d9f3eb-4574-46e6-9e7f-271882babf51" ac:name="confiform-field-definition-rules" ac:schema-version="1">
<ac:parameter ac:name="condition">mydate:<[entry._now]</ac:parameter>
<ac:parameter ac:name="fieldName">We only allow dates what are after today</ac:parameter>
<ac:parameter ac:name="action">Validation rule</ac:parameter>
</ac:structured-macro>
</p>
</ac:rich-text-body>
</ac:structured-macro>
<ac:structured-macro ac:macro-id="d0b35f94-0d26-4dee-8836-266e7e8429a1" ac:name="confiform-entry-register" ac:schema-version="1">
<ac:parameter ac:name="formName">myform1</ac:parameter>
<ac:parameter ac:name="embedded">true</ac:parameter>
<ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter>
<ac:rich-text-body>
<p>
<br/>
</p>
</ac:rich-text-body>
</ac:structured-macro>
|