I have a file definition with type file "Comments" I want add comments by IFTTT but I dont want overwrite, i want only add
Hi
The question is tagged with "cloud" tags, but the comment field in ConfiForms exists only on server/dc version
So, I will answer this for server/dc version with a little demo (cannot upload a video, so there will be screenshots)
With an example configuration
<ac:structured-macro ac:macro-id="b4e7b898-3562-4671-9e18-4ac3321eb9c9" ac:name="confiform" ac:schema-version="1">
<ac:parameter ac:name="formName">f</ac:parameter>
<ac:rich-text-body>
<ac:structured-macro ac:macro-id="acb848e0-84f8-4608-8a70-b7d52a0d565f" ac:name="confiform-entry-register" ac:schema-version="1">
<ac:rich-text-body>
<p>
<br/>
</p>
</ac:rich-text-body>
</ac:structured-macro>
<p>
<ac:structured-macro ac:macro-id="869a7cca-4b9a-48ab-a0e5-390b22e14f14" 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">comment</ac:parameter>
</ac:structured-macro>
</p>
<p>
<ac:structured-macro ac:macro-id="a9242981-5a04-47fd-b5fd-7bdfdd8134e1" ac:name="confiform-field-definition" ac:schema-version="1">
<ac:parameter ac:name="fieldName">addComment</ac:parameter>
<ac:parameter ac:name="fieldLabel">Add comment?</ac:parameter>
<ac:parameter ac:name="type">checkbox</ac:parameter>
</ac:structured-macro>
</p>
<p>
<br/>
</p>
<ac:structured-macro ac:macro-id="8f7b26cb-7a12-4f7a-8814-01702562728d" ac:name="confiform-ifttt" ac:schema-version="1">
<ac:parameter ac:name="condition">addComment: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=Another automatic comment [entry._now.formatDate]</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="9eff1d39-c518-49cc-8db1-a291b138ad80" ac:name="confiform-table" ac:schema-version="1">
<ac:parameter ac:name="formName">f</ac:parameter>
<ac:rich-text-body>
<p>
<br/>
</p>
</ac:rich-text-body>
</ac:structured-macro>
Hope it helps
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.