...
Uses ConfiForms IFTTT to add an option into the "choices" form
| ConfiForms Form Definition |
|---|
|
choiceChoicetext max-width:100px;width:100pxgroupGrouptext
|
| ConfiForms TableView |
|---|
|
choice group |
Form with a smart dropdown using the choices from another forma nd filtering them by a "group" option
| ConfiForms Form Definition |
|---|
|
makeChoiceMake a choice[9371763|choices|choice|true|false|]smartselect bygroupBy grouphidden *makeChoicegroup:[entry.bygroup]Apply Filter on a fieldbygroup |
| ConfiForms (FormView) Registrations Control |
|---|
| formName | mychoices |
|---|
| presetValues | bygroup=TEST |
|---|
| registrationButtonLabel | Register (with filter by group TEST) |
|---|
|
|
|
| ConfiForms (FormView) Registrations Control |
|---|
| formName | mychoices |
|---|
| presetValues | bygroup=LIVE |
|---|
| registrationButtonLabel | Register (with filter by group LIVE) |
|---|
| |
|
| Code Block |
|---|
<ac:structured-macro ac:macro-id="df4a616e-0206-4017-a7ea-96fe85f19f64" ac:name="confiform" ac:schema-version="1">
<ac:parameter ac:name="formName">choices1</ac:parameter>
<ac:rich-text-body>
<p>
<ac:structured-macro ac:macro-id="5bb24a53-5c73-4ef2-93a6-78d55a9f1986" ac:name="confiform-field-definition" ac:schema-version="1">
<ac:parameter ac:name="fieldName">choice</ac:parameter>
<ac:parameter ac:name="fieldLabel">Choice</ac:parameter>
<ac:parameter ac:name="type">text</ac:parameter>
</ac:structured-macro>
</p>
<p>
<ac:structured-macro ac:macro-id="fe8d5d4f-1e72-4556-9102-7fe3ee5ba3e1" ac:name="confiform-field-definition" ac:schema-version="1">
<ac:parameter ac:name="css">max-width:100px;width:100px</ac:parameter>
<ac:parameter ac:name="fieldName">group</ac:parameter>
<ac:parameter ac:name="fieldLabel">Group</ac:parameter>
<ac:parameter ac:name="type">text</ac:parameter>
</ac:structured-macro>
</p>
<ac:structured-macro ac:macro-id="15f776ff-0898-4bf8-b437-e984e30bef1a" ac:name="confiform-entry-register" ac:schema-version="1">
<ac:rich-text-body>
<p> </p>
</ac:rich-text-body>
</ac:structured-macro>
</ac:rich-text-body>
</ac:structured-macro>
<ac:structured-macro ac:macro-id="741bee2a-a8e6-4100-899b-c827ab4ee90a" ac:name="confiform" ac:schema-version="1">
<ac:parameter ac:name="formName">mychoices1</ac:parameter>
<ac:rich-text-body>
<p>
<ac:structured-macro ac:macro-id="6c6b20e0-6d07-4ed2-b5a9-1958ada2c2ab" ac:name="confiform-field-definition" ac:schema-version="1">
<ac:parameter ac:name="fieldName">makeChoice</ac:parameter>
<ac:parameter ac:name="fieldLabel">Make a choice</ac:parameter>
<ac:parameter ac:name="values">[9371763|choices1|choice|true||]</ac:parameter>
<ac:parameter ac:name="type">smartselect</ac:parameter>
</ac:structured-macro>
</p>
<p>
<ac:structured-macro ac:macro-id="eec37da4-221d-4df8-8cef-c3ec88f687eb" ac:name="confiform-field-definition" ac:schema-version="1">
<ac:parameter ac:name="fieldName">bygroup</ac:parameter>
<ac:parameter ac:name="fieldLabel">By group</ac:parameter>
<ac:parameter ac:name="type">hidden</ac:parameter>
</ac:structured-macro>
</p>
<p>
<ac:structured-macro ac:macro-id="c2243746-42b6-488d-8c73-fad3c13f409d" ac:name="confiform-field-definition-rules" ac:schema-version="1">
<ac:parameter ac:name="condition">*</ac:parameter>
<ac:parameter ac:name="fieldName">makeChoice</ac:parameter>
<ac:parameter ac:name="values">group:[entry.bygroup]</ac:parameter>
<ac:parameter ac:name="action">Apply Filter on a field</ac:parameter>
<ac:parameter ac:name="actionFieldName">bygroup</ac:parameter>
</ac:structured-macro>
</p>
</ac:rich-text-body>
</ac:structured-macro>
<ac:structured-macro ac:macro-id="78a37b1e-68df-4fb7-aa84-cd08039ce833" ac:name="confiform-entry-register" ac:schema-version="1">
<ac:parameter ac:name="formName">mychoices</ac:parameter>
<ac:parameter ac:name="presetValues">bygroup=TEST</ac:parameter>
<ac:parameter ac:name="registrationButtonLabel">Register (with filter by group TEST)</ac:parameter>
<ac:rich-text-body>
<p> </p>
</ac:rich-text-body>
</ac:structured-macro>
<ac:structured-macro ac:macro-id="97d0094e-5e23-4c6a-b280-d015f60640cd" ac:name="confiform-entry-register" ac:schema-version="1">
<ac:parameter ac:name="formName">mychoices</ac:parameter>
<ac:parameter ac:name="presetValues">bygroup=LIVE</ac:parameter>
<ac:parameter ac:name="registrationButtonLabel">Register (with filter by group LIVE)</ac:parameter>
<ac:rich-text-body>
<p> </p>
</ac:rich-text-body>
</ac:structured-macro> |