ConfiForms Form Definition |
---|
|
true filterornotFilter or not?Please select if you want to see the list below filtered (showing only 1st and 2nd options)checkbox choicesChoicesfalse[1=choice 1|2=choice 2|3=choice 3|]truecheckbox_group filterornot:truechoices1,2Show fieldfilterornottrue |
Storage format for the solution
Code Block |
---|
<ac:structured-macro ac:macro-id="1fba5faa-51a0-433c-9bbc-a1e024d09960" ac:name="confiform" ac:schema-version="1">
<ac:parameter ac:name="formName">f1<>f</ac:parameter>
<ac:rich-text-body>
<ac:structured-macro ac:macro-id="d03e41e61ba88924-1040c7c1-47a8447a-96c8a3d2-e001eabf662833989ba246cd" 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="decb9bc378952f96-2a06ab9f-46624964-89c3a798-f582ce550e2efc3d09c21a18" ac:name="confiform-field-definition" ac:schema-version="1">
<ac:parameter ac:name="fieldName">filterornot</ac:parameter>
<ac:parameter ac:name="fieldLabel">Filter or not?</ac:parameter>
<ac:parameter ac:name="fieldDescription">Please select if you want to see the list below filtered (showing only 1st and 2nd options)</ac:parameter>
<ac:parameter ac:name="type">checkbox</ac:parameter>
</ac:structured-macro>
</p>
<p>
<ac:structured-macro ac:macro-id="cfddde2fe0cc8943-5cf596c0-44134a1d-93748d1e-4c8c46bfc5c00d0a0ea21231" ac:name="confiform-field-definition" ac:schema-version="1">
<ac:parameter ac:name="fieldName">choices</ac:parameter>
<ac:parameter ac:name="fieldLabel">Choices</ac:parameter>
<ac:parameter ac:name="values">false[1=choice 1|2=choice 2|3=choice 3|]</ac:parameter>
<ac:parameter ac:name="extras">true</ac:parameter>
<ac:parameter ac:name="type">checkbox_group</ac:parameter>
</ac:structured-macro>
</p>
<p>
<ac:structured-macro ac:macro-id="d52b2412e1263074-f2b9cf79-42574154-9a268279-da679a638092aceaed18a0e5" ac:name="confiform-field-definition-rules" ac:schema-version="1">
<ac:parameter ac:name="condition">filterornot:true</ac:parameter>
<ac:parameter ac:name="fieldName">choices</ac:parameter>
<ac:parameter ac:name="values">choices:1 OR choices:>1,2</ac:parameter>
<ac:parameter ac:name="action">Apply Filter on a>Show field</ac:parameter>
<ac:parameter ac:name="actionFieldName">filterornot</ac:parameter>
</ac:structured-macro>
</p>
<p>
<ac:structured-macro ac:macro-id="4390df31-b8e7-40e9-8cb6-c702dcc71680" ac:name="confiform-field-definition-rules" ac:schema-version="1">
<ac:parameter ac:name="condition">filterornot:false</ac:parameter>
<ac:parameter ac:name="fieldName">choices</ac:parameter>
<ac:parameter ac:name="values">*<withReverseRule">true</ac:parameter>
<ac:parameter ac:name="action">Apply Filter on a field</ac:parameter>
<ac:parameter ac:name="actionFieldName">filterornot</ac:parameter>
</ac:structured-macro>
</p>
</ac:rich-text-body>
</ac:structured-macro>
|