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

    In my job application form, how can I tell what job the user is applying for?

    Asked by formsat on September 23, 2011 at 12:26 PM

     

    Hi,

     

    I am opening a job board (http://www.environmentalcareers.com.au/) that’s written using Smarty and have a job application form here http://www.environmentalcareers.com.au/application-form . The thing is, how do I know what job has been applied for as all jobs have different URLs such as http://www.environmentalcareers.com.au/display-job/48430/Another-great-Job.html?searchId=1316791220.04&page=1 and http://www.environmentalcareers.com.au/display-job/48443/Nice-Job.html?searchId=1316794323.19&page=1 and etc. (the Apply Now button on these pages is not yet linked to the application form but that’s straightforward).

     

    I am using iFrame. Is there a way of pre-populating a hidden field (URL where the user just came from – before landing on the application form) with query string without having to do any embedding? This is because the job board script is already too messy to play with.

     

    Would very much appreciate any help.

     

     

    Page URL:
    http://www.environmentalcareers.com.au/application-form

    Screenshot
  • Profile Image

    Answered by brx250 on September 23, 2011 at 09:47 PM

    Hi formsat,

    Thank you for using JotForm.

    You can do that by pre-populating a Hidden Text field. You can find it on Power Tools.

    First, let's label or name it with jobdesc. And in order for us to pre-populate it, we have to know its tag or variable name. To do that, proceed to your Notification email and click on our hidden text field, which is "jobdesc", on the right side bar.

    Most often, the field's tag is similar with its label, but sometimes, it's not. Now that we have {jobdesc}, next step is to pre-populate the hidden field. Simply add "?jobdesc=nameofthejob" to the URL of the form on its embed code. For example:

    <iFrame src="http:www.jotform.com/XXXXXXXXX?jobdesc=nameofthejob" ...> </iFrame>

    It will then pre-populate the hidden text field which will serve as your Job indicator.

    Here is a link of the form cloned from you, https://www.jotform.com/form/12650530247?. If you want, you can clone it, too.

    Hope you find this helpful.

    If you do need further clarifications, please feel free to contact us again.

    ___________________________________________________________

    Albert | JotForm Support

  • Profile Image

    Answered by formsat on September 24, 2011 at 01:25 PM

    Hi brx250,

     

    Thanks for your prompt reply. I just got this now but I'll let you know how I go as soon as I get my hands into it.

     

    Thanks again

  • Profile Image

    Answered by brx250 on September 24, 2011 at 09:00 PM

    Hi there, 

    You are very much welcome.

    If you have further issues and concerns, please feel free to contact us again. Our team will be more than happy to help you with anything.

    ___________________________________________________________

    Albert | JotForm Support

  • Profile Image

    Answered by formsat on September 25, 2011 at 12:04 AM

    Hi Albert,

     

    Thanks again. I did as you said and it worked well for the first job because all I did was just to type in a string that was then passed to the hidden field. Please correct me if I’m doing something wrong because I think in this way I would have to do it manually for every job.

     

    But the thing is that the Apply Now button resides in a page that is dynamically populated itself.

     

    So you end up with several jobs like this

     

    http://www.environmentalcareers.com.au/display-job/48444/?searchId=1316921937.42&page=1

     

    and this

     

    http://www.environmentalcareers.com.au/display-job/48445/?searchId=1316921937.42&page=1

     

    and so on.

     

    The only things that change are job descriptors like Job ID (in purple) etc. If I could tap into this information, from these URLs, and pass it to a hidden field, that would be the Holy Grail of what I’m trying to do.

     

    Once again, thanks a lot for the support

     

    Elisio

     

     

  • Profile Image

    Answered by brx250 on September 25, 2011 at 02:44 AM

    Hi Elisio,

    Somehow, I do get your point now. You can have the Job ID (e.g. 48445, as shown on the example above) placed first on a variable when the button is clicked. If, for example, you have the variable x containing your job id, the embed code will then be

    echo '<iframe src="//www.jotform.com/XXXXXXX?jobid='.$x.'&othersss=other" ...></iframe>';

    The example above is for PHP. X holds the value of your jobid which will then be passed to JotForm. You may want to visit www.w3schools.com for further information regarding programming languages or, you can also hire a programmer or web developer to do that for you, visit odesk.com/elance.com if you want. Hope this helps.

    If you have further issues and concerns, you are more than welcome to contact us again.

    ___________________________________________________________

    Albert | JotForm Support

  • Profile Image

    Answered by formsat on September 25, 2011 at 03:49 AM

    Hi albert,

     

    Thanks a lot for your response. I get what you say with placing a variable and appending it to the hidden field. The thing is, I’m not really good with this stuff. The place where the jobs are detailed

     

    http://www.environmentalcareers.com.au/display-job/48444/?searchId=1316921937.42&page=1

    and

    http://www.environmentalcareers.com.au/display-job/48445/?searchId=1316921937.42&page=1

    and the rest of it is written in .tpl form whereas the form is in an html extension and JotForm is a different story altogether. I will probably have to hire someone from odesk.com to pass the variable job ID from here

    http://www.environmentalcareers.com.au/display-job/48444/?searchId=1316921937.42&page=1

    when the button is clicked to the hidden field.

    Anyway, thanks again.

    Elisio

     

     

     

  • Profile Image

    Answered by brx250 on September 25, 2011 at 04:04 AM

    Hi there,

    Yes, using a variable makes it possible to have a dynamic value for your job id. Anyway, you are always welcome. Just inform us if you do need further clarifications about your forms. Our team will be more than happy to help you with anything.

    Again, thank you and enjoy using JotForm.

    ___________________________________________________________

    Albert | JotForm Support

  • Profile Image

    Answered by formsat on September 25, 2011 at 10:46 PM

    Hi Albert,

     

    Thanks for your message once again. Like I said, I know exactly what needs to be done but I’m not quite sure how to go about it. Would your team offer support in this kind of stuff at a fee?

     

    Cheers

     

    Elisio

  • Profile Image
    JotForm Support

    Answered by mliz on September 26, 2011 at 08:33 AM

    Hi Elisio,

    Unfortunately as of now we are limited to providing support related to JotForm functions. What you wish to do involves scripting, you can post an advertisement in freelancer or odesk  to do such modification. I'm sure there are several expert programmers out there that can do this.

    Thanks for using JotForm.

  • Profile Image

    Answered by formsat on September 26, 2011 at 09:17 PM

    Hi Mliz,

     

    Thanks once again, I'll contact them.

     

    Elisio