ConfiForms Form Definition |
---|
|
fsash
tttext ccnumberhidden vtvthidden upupvotevt=trueaction_buttonUpvoted downdownvotevt=falseaction_buttonDownvoted Create ConfiForms EntryonCreatedentryId=[entry.id]&c=0
hasChanged(vt):true AND vt:truetruetrueCreate ConfiForms EntryonModifiedentryId=[entry.id]&c=(ZEROIFEMPTY("[entry.c]")+1)&vt=
hasChanged(vt):true AND vt:falsetruetrueCreate ConfiForms EntryonModifiedentryId=[entry.id]&c=(ZEROIFEMPTY("[entry.c]")-1)&vt=
|
ConfiForms TableView |
---|
|
t up down |
Source code / storage format
Code Block |
---|
<ac:structured-macro ac:macro-id="94eff54b-a645-4d0a-be00-45dd256e4cf6" 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="8d838e2e-3472-4350-912b-6e732c9cbbd2" ac:name="confiform-entry-register" ac:schema-version="1">
<ac:parameter ac:name="formName">f1</ac:parameter>
<ac:rich-text-body>
<p>
<br/>
</p>
</ac:rich-text-body>
</ac:structured-macro>
<p>
<ac:structured-macro ac:macro-id="c1244178-90a1-49b5-9f49-6ef100423e8f" ac:name="confiform-field-definition" ac:schema-version="1">
<ac:parameter ac:name="fieldName">t</ac:parameter>
<ac:parameter ac:name="fieldLabel">t</ac:parameter>
<ac:parameter ac:name="type">text</ac:parameter>
</ac:structured-macro>
</p>
<p>
<ac:structured-macro ac:macro-id="19bad807-5f84-461a-904f-5073953648c4" ac:name="confiform-field-definition" ac:schema-version="1">
<ac:parameter ac:name="fieldName">c</ac:parameter>
<ac:parameter ac:name="fieldLabel">c</ac:parameter>
<ac:parameter ac:name="type">numberhidden</ac:parameter>
</ac:structured-macro>
</p>
<p>
<ac:structured-macro ac:macro-id="1930ef71-68fa-4c9a-a9d0-2212b33c457e" ac:name="confiform-field-definition" ac:schema-version="1">
<ac:parameter ac:name="fieldName">vt</ac:parameter>
<ac:parameter ac:name="fieldLabel">vt</ac:parameter>
<ac:parameter ac:name="type">hidden</ac:parameter>
</ac:structured-macro>
</p>
<p>
<ac:structured-macro ac:macro-id="5c850963-9868-4e45-a3e0-eec729075365" ac:name="confiform-field-definition" ac:schema-version="1">
<ac:parameter ac:name="fieldName">up</ac:parameter>
<ac:parameter ac:name="fieldLabel">upvote</ac:parameter>
<ac:parameter ac:name="extras">vt=true</ac:parameter>
<ac:parameter ac:name="type">action_button</ac:parameter>
<ac:parameter ac:name="separator">Upvoted</ac:parameter>
</ac:structured-macro>
</p>
<p>
<ac:structured-macro ac:macro-id="07cdb4ee-ae92-4786-95cc-97b38c499913" ac:name="confiform-field-definition" ac:schema-version="1">
<ac:parameter ac:name="fieldName">down</ac:parameter>
<ac:parameter ac:name="fieldLabel">downvote</ac:parameter>
<ac:parameter ac:name="extras">vt=false</ac:parameter>
<ac:parameter ac:name="type">action_button</ac:parameter>
<ac:parameter ac:name="separator">Downvoted</ac:parameter>
</ac:structured-macro>
</p>
<ac:structured-macro ac:macro-id="2228c8f2-a412-4772-b98f-3eeb64679e9c" ac:name="confiform-ifttt" ac:schema-version="1">
<ac:parameter ac:name="action">Create ConfiForms Entry</ac:parameter>
<ac:parameter ac:name="event">onCreated</ac:parameter>
<ac:parameter ac:name="title">entryId=[entry.id]&c=0</ac:parameter>
<ac:rich-text-body>
<p>
<br/>
</p>
</ac:rich-text-body>
</ac:structured-macro>
<ac:structured-macro ac:macro-id="d8ddd50b-9c44-455f-9488-78b99e4acdb4" ac:name="confiform-ifttt" ac:schema-version="1">
<ac:parameter ac:name="condition">hasChanged(vt):true AND vt:true</ac:parameter>
<ac:parameter ac:name="extras3">true</ac:parameter>
<ac:parameter ac:name="extras4">true</ac:parameter>
<ac:parameter ac:name="action">Create ConfiForms Entry</ac:parameter>
<ac:parameter ac:name="event">onModified</ac:parameter>
<ac:parameter ac:name="title">entryId=[entry.id]&c=(ZEROIFEMPTY("[entry.c]")+1)&vt=</ac:parameter>
<ac:rich-text-body>
<p>
<br/>
</p>
</ac:rich-text-body>
</ac:structured-macro>
<ac:structured-macro ac:macro-id="58bcc4bd-4811-4f91-9528-b9c9faad44be" ac:name="confiform-ifttt" ac:schema-version="1">
<ac:parameter ac:name="condition">hasChanged(vt):true AND vt:false</ac:parameter>
<ac:parameter ac:name="extras3">true</ac:parameter>
<ac:parameter ac:name="extras4">true</ac:parameter>
<ac:parameter ac:name="action">Create ConfiForms Entry</ac:parameter>
<ac:parameter ac:name="event">onModified</ac:parameter>
<ac:parameter ac:name="title">entryId=[entry.id]&c=(ZEROIFEMPTY("[entry.c]")-1)&vt=</ac:parameter>
<ac:rich-text-body>
<p>
<br/>
</p>
</ac:rich-text-body>
</ac:structured-macro>
</ac:rich-text-body>
</ac:structured-macro>
<ac:structured-macro ac:macro-id="c7c00fec-7741-42ca-9951-7bae1c8a885a" ac:name="confiform-table" ac:schema-version="1">
<ac:parameter ac:name="formName">f1</ac:parameter>
<ac:rich-text-body>
<p>
<ac:structured-macro ac:macro-id="689c0bb1-f0ba-47ce-83fe-67ad354277e6" ac:name="confiform-field" ac:schema-version="1">
<ac:parameter ac:name="fieldName">t</ac:parameter>
</ac:structured-macro>
</p>
<p>
<ac:structured-macro ac:macro-id="00e8fb46-4edf-40f9-b65c-8cf65f465a95" ac:name="confiform-field" ac:schema-version="1">
<ac:parameter ac:name="fieldName">up</ac:parameter>
</ac:structured-macro>
</p>
<p>
<ac:structured-macro ac:macro-id="2002fe00-5472-4548-936f-143c97ec465d" ac:name="confiform-field" ac:schema-version="1">
<ac:parameter ac:name="fieldName">down</ac:parameter>
</ac:structured-macro>
</p>
</ac:rich-text-body>
</ac:structured-macro>
<p>
<br/>
</p>
|