Subject line brackets

  • Profile Image
    AwanaIT
    Asked on August 09, 2011 at 11:29 AM

    I am sending the information from my form to a help desk application.  The application allows me to set a field by adding information to the subject line of the email.  The syntax for this is {{field:"data"}}.  This seems to be conflicting with the way that JotForm populates form information into the subject line.  Is there any way I can add the syntax for my help desk application to the subject line without confusing JotForm?  Perhaps an escape character to ignore the brackets?

  • Profile Image
    liyam
    Answered on August 09, 2011 at 12:39 PM

    Hello AwanaIT,

    I'm not sure if the subject line of an email alert or email notification can be affected by any of this since the email alert settings are on the server back-end. 

    Can you please give us more details about this issue? including the ID of the form in issue?  If you can also tell us where your form is embedded, that would be great.

    Thanks,

    liyam

  • Profile Image
    AwanaIT
    Answered on August 09, 2011 at 12:56 PM

    I'm still in testing of this form, so it's not embedded yet anywhere.  The current test URL for the site is: http://www.jotform.com/form/12191205458

    Here is what I want the subject line to look like:

    {form_title}: {name} {{tags:"jotform loaner"}}

    example: Loaner Request Form: John Doe {{tags:"jotform loaner"}}

    With the part in double brackets our help desk system sets the "tags" field to include the part in quotations.  It then removes the part in double brackets from the subject line so that it doesn't appear in the help request.

  • Profile Image
    liyam
    Answered on August 09, 2011 at 01:45 PM

    I get now what you mean.

    Apparently, the curly brackets are the variable tags for the email alerts.

    I will forward this concern to the development team and let them answer if there is a way to read curly brackets as literal strings in the email alerts.

    Thank you for your patience.

    -Liyam

  • Profile Image
    aytekin
    Answered on August 10, 2011 at 04:23 AM

    Curly brackets are special chracters. We use them to enter form information into the emails. You can try adding a backslash before each curly bracket. That might or might not work. Give it a try. You should probably just use regular parentheses instead: "(" and ")".

  • Profile Image
    AwanaIT
    Answered on August 16, 2011 at 12:03 PM

    I tried adding a backslash before each curly bracket as suggested, but that didn't seem to work.  Here is what I put:  {form_title}: {name} \{\{tags:"jotform loaner"\}\}

    I also tried this: {form_title}: {name} \{{tags:"jotform loaner"}}

    That also did not work.  Unfortunately I am not able to change the syntax used by the help desk program to set fields by the subject line, otherwise your suggestion of using a regular parenthesis instead would work.  I appreciate your help, and will look to find another solution to my problem while still using JotForm.