ConfiForms Form Definition |
---|
|
choiceChoicefalse[1=One|2=Two|3=Three|4=Four|5=Five|]When more than 2 selected the comment field is shownselect commentType your commenttextarea choice:>2commentShow fieldchoicetrue |
ConfiForms (FormView) Registrations Control |
---|
border:0px;width:100%;border:0px;border:0px; choicetrue border:0px;commenttrue |
Storage format for this simple 2 column form
Code Block |
---|
<ac:structured-macro ac:macro-id="a27cf138-2081-4b5c-8dcf-435b5a4c82e5" ac:name="confiform" ac:schema-version="1">
<ac:parameter ac:name="formName">f<>f1</ac:parameter>
<ac:rich-text-body>
<p>
<ac:structured-macro ac:macro-id="02d9f61f-bf1b-49bd-8cd7-25acd37f98b0" 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="values">false[1=One|2=Two|3=Three|4=Four|5=Five|]</ac:parameter>
<ac:parameter ac:name="fieldDescription">When more than 2 selected the comment field is shown</ac:parameter>
<ac:parameter ac:name="type">select</ac:parameter>
</ac:structured-macro>
</p>
<p>
<ac:structured-macro ac:macro-id="a1325449-d376-4368-81fb-2661eef2a1ce" ac:name="confiform-field-definition" ac:schema-version="1">
<ac:parameter ac:name="fieldName">comment</ac:parameter>
<ac:parameter ac:name="fieldLabel">Type your comment</ac:parameter>
<ac:parameter ac:name="type">textarea</ac:parameter>
</ac:structured-macro>
</p>
<p>
<ac:structured-macro ac:macro-id="aff88342-f6db-45a7-8003-947c5c1e70f7" ac:name="confiform-field-definition-rules" ac:schema-version="1">
<ac:parameter ac:name="condition">choice:>2</ac:parameter>
<ac:parameter ac:name="fieldName">comment</ac:parameter>
<ac:parameter ac:name="action">Show field</ac:parameter>
<ac:parameter ac:name="actionFieldName">choice</ac:parameter>
<ac:parameter ac:name="withReverseRule">true</ac:parameter>
</ac:structured-macro>
</p>
</ac:rich-text-body>
</ac:structured-macro>
<ac:structured-macro ac:macro-id="67eb0856-9621-4e39-84b2-051e67ec0a3d" ac:name="confiform-entry-register" ac:schema-version="1">
<ac:rich-text-body>
<ac:structured-macro ac:macro-id="bdbf0409-d2da-4096-8318-2d2c690ac209" ac:name="table" ac:schema-version="1">
<ac:parameter ac:name="style">border:0px;width:100%;</ac:parameter>
<ac:rich-text-body>
<ac:structured-macro ac:macro-id="89db9f05-f95a-47a3-87a2-3e9cf631a80a" ac:name="tr" ac:schema-version="1">
<ac:parameter ac:name="style">border:0px;</ac:parameter>
<ac:rich-text-body>
<ac:structured-macro ac:macro-id="8c2ed390-830a-4805-8a94-657b0b0a9b5a" ac:name="td" ac:schema-version="1">
<ac:parameter ac:name="style">border:0px;</ac:parameter>
<ac:rich-text-body>
<p>
<ac:structured-macro ac:macro-id="f035c812-fc97-4fbd-824a-18c93bbf1d33" ac:name="confiform-field" ac:schema-version="1">
<ac:parameter ac:name="fieldName">choice</ac:parameter>
<ac:parameter ac:name="withLabel">true</ac:parameter>
</ac:structured-macro>
</p>
</ac:rich-text-body>
</ac:structured-macro>
<ac:structured-macro ac:macro-id="19a3adff-28be-4c38-89c8-d2b0f217b215" ac:name="td" ac:schema-version="1">
<ac:parameter ac:name="style">border:0px;</ac:parameter>
<ac:rich-text-body>
<p>
<ac:structured-macro ac:macro-id="61415777-08df-43fa-854b-9b9261638230" ac:name="confiform-field" ac:schema-version="1">
<ac:parameter ac:name="fieldName">comment</ac:parameter>
<ac:parameter ac:name="withLabel">true</ac:parameter>
</ac:structured-macro>
</p>
</ac:rich-text-body>
</ac:structured-macro>
</ac:rich-text-body>
</ac:structured-macro>
</ac:rich-text-body>
</ac:structured-macro>
</ac:rich-text-body>
</ac:structured-macro>
|