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

    Can a heading/question extract a name from a previous selection?

    Asked by CTCKA on October 21, 2013 at 05:01 AM

    I would like to create a survey to get some feedback of how some students are getting on within their Science subject.

    I'd like part of the question to extract a name they have chosen in a previous question, for example:

    How would you rate your enjoyment with 'Joe Bloggs' (this is the name they selected in the previous quesion).

    Thanks

    James

    heading name Selection survey create selected
  • Profile Image

    Answered by jedcadorna on October 21, 2013 at 06:17 AM

    @CTCKA, 

    If what you are referring to is prepopulating a value from other field, Yes this is possible. We have a detailed instruction that will help you to start populating values from previous field selection. If you are having difficulty implementing this just let us know. Please see this guide http://www.jotform.com/help/71-Prepopulating-the-fields-to-your-JotForm-via-URL-parameters.

     

    Thanks,

  • Profile Image

    Answered by jedcadorna on October 21, 2013 at 06:45 AM

    In addition to what I have previously posted please check this sample but yet simple explanation.

     

    1. Get your form URL, Here is my sample URL http://form.jotform.co/form/32707090905857

    2. View your form source. If you are using chrome and firefox Press CTRL+U,  Then navigate to the section of the field that you want to populate. In my example I use First and Last Name field. Then get the name of the field. The fields in my example are fullName10[last]  and fullName10[last]

     

     

    3. Let's apply the field value. According to the guidelines in your original URL the value that will populate will be after the "=" sign so in my example it should look something like this http://form.jotform.co/form/32707090905857?fullName10[first]=Steve&fullName10[last]=Smith

     

    Put after the URL to identify that we are submitting parameters and after is the value of what you want to show. The complete URL will be something like this.

     

    http://form.jotform.co/form/32707090905857?fullName10[first]=Steve&fullName10[last]=Smith

     

    Please check to see the difference from the first URL above.

    Hope this was able to help you. Feel free to ask questions.

    Thanks,

  • Profile Image

    Answered by CTCKA on October 21, 2013 at 07:51 AM

    That's extracting the info from a submitted form. What I am hoping to do is to extracted it from a previous field the user selects in that form before they submit it, for example:

    Question 1:

    Who is you science teacher?

    Options from drop down menu:

    Mrs Cooney

    Mrs Bragg

    Mr Darby

    Mr Fowler

     

    If in question 1 they choose Mrs Bragg, the question 2 will be:

    Question 2:

    How do you rate the enjoyment of your lesson with Mrs Bragg?

     

    Does that make sense?

    Thanks

     

  • Profile Image

    Answered by jedcadorna on October 21, 2013 at 08:28 AM

    Oh I see that make sense now. This can be done by downloading your form source and applying a javascript code. We have a guide that can be found here on how you can achieve this. Here is the demo which my team created. 

    http://formdemos.awardspace.biz/formTemplate10.html

  • Profile Image

    Answered by CTCKA on October 21, 2013 at 09:59 AM

    Many thanks jedcadorna,

    Is it easy enough to change it from a Checkbox to a selection from a dropdown?

    http://form.jotformpro.com/form/32931844952966

     

    Thanks

    James

  • Profile Image
    JotForm Support

    Answered by ashwin_d on October 21, 2013 at 10:49 AM

    Hello James,

    Using your form's source code will surely make it easy enough to change it to a dropdown option.

    Seeing your explanation above, please have a look at this form and let me know if this is what you are looking for:  https://shots.jotform.com/ashwin/Display_Textbox_value_in_labels/Hello%20_Name_.html

    You will still have to use your form's source code to achieved your above requirement. I have acheived this functionality by asking user's input but can be easily achieved with dropdowns as well.

    We will wait for your response.

    Thank you!

  • Profile Image

    Answered by CTCKA on October 21, 2013 at 11:08 AM

    That looks perfect - how can this be changed to the dropdown?

    Thanks

    James

  • Profile Image
    JotForm Support

    Answered by ashwin_d on October 21, 2013 at 11:11 AM

    Hello James,

    I will create a demo form for you and send you the link in a while now.

    Thank you!

  • Profile Image
    JotForm Support

    Answered by ashwin_d on October 22, 2013 at 04:23 AM

    Hello James,

    Sorry for the delay in getting back to you.

    Here is the sample form I created for you:  Show dropdown value in a label

    If this looks good to you, do let me know in which form you want similar feature to be implemented.

    Thank you!

  • Profile Image

    Answered by CTCKA on November 01, 2013 at 05:18 AM

    Thanks ashwin_d,

    That is exactly what I want. Can you please implement in into the 'Science Survey' in my acount?

    Thanks

    James

  • Profile Image

    Answered by jedcadorna on November 01, 2013 at 06:22 AM

    @CTCKA,

    My colleague surely received your message and will get back at you if he's available today. If I can I will try to make a sample for your Science Survey form. Thank you for your patience.

  • Profile Image
    JotForm Support

    Answered by ashwin_d on November 01, 2013 at 07:23 AM

    Hello James,

    I will implement it in your form "Science Survey".

    I will get back to you as soon as I complete it.

    Thank you!

  • Profile Image
    JotForm Support

    Answered by ashwin_d on November 01, 2013 at 08:09 AM

    Hello James,

    I have implemented this feature in your "Science Survey" form. Please have a look here:  https://shots.jotform.com/ashwin/Science%20Survey_(32933999932977)/Science%20Survey.html

    You can download your form's source code from here:  https://shots.jotform.com/ashwin/Science%20Survey_(32933999932977).zip

    Do get back to us if you have any questions.

    Thank you!

  • Profile Image

    Answered by CTCKA on November 01, 2013 at 09:14 AM

    Thanks,

    That works fine, but how do I get this into my form I currently have?

    Thanks

    James

  • Profile Image

    Answered by EliezerN on November 01, 2013 at 10:14 AM

    @James

    My colleague has already implemented the changes to your current form, he did it using the full form source code and applying some codding knowledge. So, that's why he's shared the code that already have the changes and you can get the code in the next link: 

    https://shots.jotform.com/ashwin/Science%20Survey_(32933999932977).zip

    You just need to embed the code to a webpage and your form will be ready to use.

    Please, let us know if you need further assistance.

    Thanks

  • Profile Image

    Answered by CTCKA on November 04, 2013 at 04:32 AM

    Hi,

    I see that this has been changed on the links that you provided.  I still need to add more to this form.

    Can it be added to the form once I have finished using an iFrame embed?

    Thanks

    James

  • Profile Image
    JotForm Support

    Answered by ashwin_d on November 04, 2013 at 09:26 AM

    Hello James,

    To achieve your requirement, you will have to use your form's source code. If you use your form's source code to embed your form, any changes made in the JotForm editor will not be visible in your embedded form. You will have to download your form's source code, add the custom code and embed it again your webpage.

    My suggestion would be that you first complete your form and get back to us with details on where you want the label to be displayed. I will send you the source code with custom JavaScript code.

    Thank you!