PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Signature not showing in email even after additional code

  1. 3cstudio
    Member

    Hi Chris,

    I have the Add-On named Signature added to: http://test.hollandbuscompany.com/service/warranty/warranty-claim-form/ -- you provided me with additional code to make it show in the resultant email to "Message":

    {all_fields}
    
    <img src='{Signature:8}' alt='{Customer Name (First):1.3} {Customer Name (Last):1.6} signature' />

    Instead of the signature image, though, I get the following code-text at the bottom of the form fields results:

    <img src='http://test.hollandbuscompany.com?page=gf_signature&signature=512f7434484da6.37252821' alt='Steve Colthorp signature' />

    Can you help further? You mentioned it worked well on your server, but doesn't seem to work on this site's setup... Keep me posted!

    Steve C.
    3Cstudio

    Posted 11 years ago on Thursday February 28, 2013 | Permalink
  2. David Peralty

    Do you get other HTML in your e-mail? When I go to that URL http://test.hollandbuscompany.com?page=gf_signature&signature=512f7434484da6.37252821, I do get an image returned without issue.

    Posted 11 years ago on Thursday February 28, 2013 | Permalink
  3. 3cstudio
    Member

    No. In my mail client, Apple Mail, I only get the <img /> HTML after Chris had me add the line of code mentioned. Before that I had nothing showing in the Signature field of the email results -- but his test (after adding the line of code) worked for his setup... so his next thought was maybe the host has limitations or issues rendering the image into the resultant email to the form's recipient.

    Posted 11 years ago on Thursday February 28, 2013 | Permalink
  4. 3cstudio
    Member

    Interesting -- clicking the URL that is generated for the <img /> tag pulls up a blank screen for me -- but that is because it is adding the single-quote mark(!). Like this: %27 to give the URL: http://test.hollandbuscompany.com/?page=gf_signature&signature=512f7434484da6.37252821%27 or: http://test.hollandbuscompany.com/?page=gf_signature&signature=512f7434484da6.37252821' but: http://test.hollandbuscompany.com/?page=gf_signature&signature=512f7434484da6.37252821 views just fine.

    Is it possible that needs to be a double-quote mark or something other than single-quotes surrounding the image within the added code? Or doesn't that have any bearing on the form results email?

    Posted 11 years ago on Thursday February 28, 2013 | Permalink
  5. David Peralty

    You should be using the single quote mark, on the same key as the double quotes. So ' not `

    You aren't using some visual editor when creating the notification, are you? If so, can you go to HTML mode?

    Posted 11 years ago on Thursday February 28, 2013 | Permalink
  6. 3cstudio
    Member

    David, that's the ticket -- I must have pasted Chris's code into Visual instead of Text. :-/

    Looks great now! Does that code need to be added to any instance of using the Signature Add-On? 'Out of the box', the signature image doesn't show in the form results, correct? Or is that the work-around for finicky setups such as this one? I didn't notice any added notes when activating that add-on... just curious as to how I got into this predicament in the first place. :)

    Thanks gents,

    Steve C.
    3Cstudio

    Posted 11 years ago on Thursday February 28, 2013 | Permalink
  7. David Peralty

    We don't send the image in any e-mail notification or put it directly in the entries because it takes extra time to load images versus HTML links to those images. You've done the right thing, and I'm glad everything is working as expected.

    Posted 11 years ago on Thursday February 28, 2013 | Permalink
  8. 3cstudio
    Member

    OK, makes good sense -- thanks for your help.
    So, I will need to add that snippet of code to the Message portion of the Notification To Administrator below {all_fields} on all future usage of the Add-On "Signature" in order for it to show properly in the resultant form-mail results?

    Posted 11 years ago on Thursday February 28, 2013 | Permalink
  9. David Peralty

    Anywhere you want the image to be shown in e-mails, you'll need to add that same code. All my best!

    Posted 11 years ago on Thursday February 28, 2013 | Permalink
  10. 3cstudio
    Member

    Sounds good.

    Posted 11 years ago on Thursday February 28, 2013 | Permalink

This topic has been resolved and has been closed to new replies.