...
Code Block |
---|
<ac:structured-macro ac:macro-id="17064b88-fcce-4e54-a2b9-2ea0f06d3126" ac:name="html" ac:schema-version="1">
<ac:plain-text-body><![CDATA[<style>
.confiFormsFormFooter {
display:none;
}
</style>
]]></ac:plain-text-body>
</ac:structured-macro>
<p>When you click on "Confirm" a Save button will appear</p>
<ac:structured-macro ac:macro-id="af21b4c0-dcc3-4dae-bb03-cc109aa73ac8" ac:name="confiform" ac:schema-version="1">
<ac:parameter ac:name="formName">f1</ac:parameter>
<ac:rich-text-body>
<ac:structured-macro ac:macro-id="8aa02a79-658c-49e3-9ab4-5eb8b3232538" ac:name="confiform-entry-register" ac:schema-version="1">
<ac:parameter ac:name="presetValues">field1=0&field2=0</ac:parameter>
<ac:parameter ac:name="type">Embedded</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>
<p>
<ac:structured-macro ac:macro-id="eec16e74-9140-4ecf-9111-66149549622b" ac:name="confiform-field-definition" ac:schema-version="1">
<ac:parameter ac:name="fieldName">field1</ac:parameter>
<ac:parameter ac:name="fieldLabel">Field 1</ac:parameter>
<ac:parameter ac:name="type">number</ac:parameter>
<ac:parameter ac:name="required">true</ac:parameter>
</ac:structured-macro>
</p>
<p>
<ac:structured-macro ac:macro-id="dd0df65d-0519-4872-952d-8160fec33850" ac:name="confiform-field-definition" ac:schema-version="1">
<ac:parameter ac:name="fieldName">field2</ac:parameter>
<ac:parameter ac:name="fieldLabel">Field 2</ac:parameter>
<ac:parameter ac:name="type">number</ac:parameter>
<ac:parameter ac:name="required">true</ac:parameter>
</ac:structured-macro>
</p>
<p>
<ac:structured-macro ac:macro-id="91593cd1-13cb-45f8-870c-de409456e450" ac:name="confiform-field-definition" ac:schema-version="1">
<ac:parameter ac:name="css">background-color:#f2f2f2;width:250px;</ac:parameter>
<ac:parameter ac:name="fieldName">sum</ac:parameter>
<ac:parameter ac:name="fieldLabel">Sum</ac:parameter>
<ac:parameter ac:name="type">read_only</ac:parameter>
</ac:structured-macro>
<ac:structured-macro ac:macro-id="7d416d42-043e-4d40-84d3-8f6413dc3d52" ac:name="confiform-field-definition-rules" ac:schema-version="1">
<ac:parameter ac:name="values">sum=(ZEROIFEMPTY("[entry.field1]") + ZEROIFEMPTY("[entry.field2]"))</ac:parameter>
<ac:parameter ac:name="action">Set expression</ac:parameter>
<ac:parameter ac:name="onUserActionOnly">true</ac:parameter>
<ac:parameter ac:name="actionFieldName">field1,field2</ac:parameter>
</ac:structured-macro>
</p>
<p>
<ac:structured-macro ac:macro-id="8ebd8fa9-9691-4687-9900-252c1022b86f" ac:name="confiform-field-definition-rules" ac:schema-version="1">
<ac:parameter ac:name="condition">*</ac:parameter>
<ac:parameter ac:name="action">Hide container</ac:parameter>
<ac:parameter ac:name="values2">.confiFormsFormFooter</ac:parameter>
</ac:structured-macro>
</p>
</ac:rich-text-body>
</ac:structured-macro>
<p>
<br/>
</p>
<p>
<br/>
</p>
|
...