How to send value along with the email

  • produle
    Asked on April 6, 2015 at 2:30 AM

    Hi,

     

    I have a single career form. To all the positions same form is used. But when user submits I need to know position he applied.

     

    How it can be done ? 

  • Charlie
    Replied on April 6, 2015 at 3:46 AM

    Hi,

    Upon checking your form, it seems that you are using a modal? Probably a jquery or bootstrap?

    What I could recommend is that you just clone your forms and you can embed them to your website, you can have multiple forms in your website as long as they are embedded using the iFrame code, here's how you can get the iFrame: http://www.jotform.com/help/148-Getting-the-Form-iFrame-Code. To clone your forms, you can follow this guide: http://www.jotform.com/help/27-How-to-clone-an-existing-form-from-your-account 

    After that, each for could be dedicated to a specific position, just add a hidden value field on them.

    How to send value along with the email Image 1 Screenshot 20

     

    If you would still like to use one form, then you must not use the iFrame, because external script codes won't work on it, however, you could try using the form's full source code and embed it to your website. After that, you could assign values by creating a Javascript functions and prefill the fields. Here's how you can get the full source: http://www.jotform.com/help/104-How-to-get-the-Full-Source-Code-of-your-Form.

    I hope that helps.

    Kind regards.

  • Charlie
    Replied on April 6, 2015 at 3:50 AM

    I forgot to mention, you can then add the hidden position text box field in your Email notifications, you can follow this screenshot:

    How to send value along with the email Image 1 Screenshot 20

    So that it means, you have specific forms for specific job positions.

    Thank you.