What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Passing custom data to email submission

    Asked by mattatbfscorp on May 05, 2012 at 06:01 PM

    I have integrated a custom script into the form that I created with JotForms. There is some inforamation that is calculated that I need to be passed to the email submission, meaning this information is not static (like the example above). How can I do that? Please advise.

    This is the form URL: https://secure.jotform.us/form/21241525372142

    I've pasted the form directly into the site in order to integrate the custom calculator. This gives me more direct control of the form, but I need to make sure whatever I change gets passed to the submissions as well.

    In the first page choose "N-N-N-Y-Y-N" to get to the "calculator" that passes the new information. That information is towards the bottom of page 3.

    Thanks for your help!

    Page URL:
    http://bfscorpusa.com/gold-app/

  • Profile Image
    JotForm Support

    Answered by jonathan on May 05, 2012 at 06:32 PM

    Hi mattatbfscorp,

    The Free Text(HTML) field and the Header field are the 2 fields that cannot be displayed on the composed email notifications. You will notice they are not in the available fields in the notification compose email. This eliminates your form's ability to include the dynamic calculator you created in the Free Text(HTML) field.

    However, if you are using the source code to embed (I think you do, because you mentioned custom scripts) the form on your own website, surely there are a lot of possiblities to override this. 

    One I can think of is to use the the text area field instead to wrap the 'calculator'. You then can use the text area field included in the compose message.

    Hope this provided you additional insight in accomplishing your objective on this form. Please contact us again should you need further assistance/question.

    Thanks.

     

     

  • Profile Image

    Answered by mattatbfscorp on May 05, 2012 at 06:59 PM

    Yes, I'm embedding the source code directly, so I should have a bunch of possibilites, but I'm hoping for the most direct JotForm "compliant" possibility!

    Hmmm... interesting. I tried to "wrap" the calculator within a new textare field like so:

    <textarea>Calculator code</textarea>

    And it shows the naked HTML code of the calculator there. Can you be a little more specific about your idea -- it seems promising.

  • Profile Image
    JotForm Support

    Answered by jonathan on May 06, 2012 at 02:40 AM

    I tried it using the default text area field... I simply copied your codes from the Free Text (i.e. <div>,<strong>.. and so on), I put it as default value in text area field and tested in email. I was able to display the value in notification.

    I have my sample form here . You can check the email here

    If I am to use my own script, I can pass the value of the calculator to a variable and put it in the "value" of the text area field.

    Hope this help. Inform us should you want require more assistance.
    I believe this is very much doable.

    Thanks.