• Resolved funkydiver

    (@funkydiver)


    Hi,

    I’m wanting to include submitted images into the confirmation / output emails. Is there a simple way to do this? Options for the <%fieldname#_value%>?

    Cheers

Viewing 15 replies - 1 through 15 (of 22 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @funkydiver

    Assuming the “Upload File” Field is the fieldname1, you should to include into the notification email an img tag similar to:

    <img src="<%fieldname1_url%>">

    Pay attention, I’m not using in this case the <%fieldname1_value%> because I don’t want to include the file’s name, I need its URL.

    Note that I’m including HTML tags in the notification emails (as the IMG tag in this case), so, you should select the “HTML” option as the email format in the form’s settings.

    Best regards.

    Thread Starter funkydiver

    (@funkydiver)

    That’s perfect. I’ll give it a go, hopefully it’ll also include multiple files too 😀

    Plugin Author codepeople

    (@codepeople)

    Hello @funkydiver

    Please, check the following link with the list of the special tags you can use in the notification emails and thank you pages:

    https://cff.dwbooster.com/documentation#special-tags

    Best regards.

    Thread Starter funkydiver

    (@funkydiver)

    Hi @codepeople

    I’ve been all over that page (along with the others) but there wasn’t anything specific for images.

    First test with the multiple images was a fail. I’ll do more reading to see if I can figure it out 😀

    Plugin Author codepeople

    (@codepeople)

    Hello @funkydiver

    In the current version of the plugin, for the “Upload Files” fields with the “multiple” choice ticked, it is not possible to use the URLs into the image tags. However, for these cases you can include the special tag: <%fieldname1_urls%>, but not into an IMG tag, the special tag only, that would be transformed by the email applications in valid links to the images.

    Best regards.

    Thread Starter funkydiver

    (@funkydiver)

    Hi @codepeople

    So the only way to do multiple images would be to have multiple upload buttons?

    I’m wanting to produce an email with all the images included inline as a report.

    Cheers

    Plugin Author codepeople

    (@codepeople)

    Hello @funkydiver

    Yes, unfortunately in the current version of the plugin, if the “Upload File” field is configured for accepting multiple files, it is not possible to access to every file’s URL by separated. However, I’m studying a modification, for the next update of the plugin, to solve this limitation.

    Best regards.

    Thread Starter funkydiver

    (@funkydiver)

    Oh, that would be awesome.

    Really love the plugin, not particularly for the payment options, but the ability to gather data and manipulate it to make a report.

    You might want to include iAuditor as a key word in your tags and advertising 😉

    Plugin Author codepeople

    (@codepeople)

    Hello @funkydiver

    Do you want to use iAuditor to create dependent fields? If it is the case you simply should define dependencies (https://cff.dwbooster.com/documentation#dependencies)

    Best regards.

    Thread Starter funkydiver

    (@funkydiver)

    No, I’m currently creating forms we were up until recently using on iAuditor due to the changes in their usage (costs!!)

    I work for a large company that had over 10k iAuditor users, enjoying the free version. This plugin has enabled one part of that business to continue working.

    Plugin Author codepeople

    (@codepeople)

    Hello @funkydiver

    By the way, if you want to integrate the forms created with our plugin and iAuditor, you can use the WebHook add-on (distributed with your copy of the plugin), and a connector service like Zapier. After submitting the form, the information collected would be sent to the Zapier’s WebHook, that would work as intermediary between your website and iAuditor service (or many other services)

    https://zapier.com/apps/webhook/integrations/safetyculture

    Best regards.

    Plugin Author codepeople

    (@codepeople)

    Hello @funkydiver

    I’ve published an update of the plugin, that allows to insert the special tags for the “Upload File” fields in the notification emails and thank you pages with an additional attribute: in_tag to decide the HTML tag to use with the URLs, as follows:

    
    <%fieldname1_urls in_tag="img"%>
    

    That will allow you to include multiple image tags in the notification emails for the “Upload File” fields with the “Multiple” checkbox ticked.

    Best regards.

    Thread Starter funkydiver

    (@funkydiver)

    That’s AWESOME @codepeople

    I’ve had a play with Zapier, but until the changes you’ve just made it was difficult trying to get things copied across.

    I’ll be having a good play tomorrow to see if I can get what I want to work.

    As a business we’ve gone away from iAuditor as it’s too restrictive. The main reason that I’ve actively started using CFF as we get exactly what we want where it is. The preliminary test group have all said that it’s an AWESOME tool. I tend to have to agree to the most part, but can be long winded in creating an expansive form with multiple options based on IF THEN questions 😛

    Thread Starter funkydiver

    (@funkydiver)

    Will the update filter through to the WordPress repository or will I need to update it manually?

    Plugin Author codepeople

    (@codepeople)

    Hello @funkydiver

    If you want the files uploaded through the form be integrated with the WordPress Media Library, you should enable (and configure) the “Uploads” add-on. More information in the following link:

    https://cff.dwbooster.com/add-ons/upload#begin

    Best regards.

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘Include Images in email/export’ is closed to new replies.