- CTCKAAsked 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).
- jedcadornaAnswered on October 21, 2013 at 06:17 AM
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.
- jedcadornaAnswered 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.
Please check to see the difference from the first URL above.
Hope this was able to help you. Feel free to ask questions.
- CTCKAAnswered 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:
Who is you science teacher?
Options from drop down menu:
If in question 1 they choose Mrs Bragg, the question 2 will be:
How do you rate the enjoyment of your lesson with Mrs Bragg?
Does that make sense?
- jedcadornaAnswered on October 21, 2013 at 08:28 AM
- CTCKAAnswered 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?
- JotForm Supportashwin_dAnswered on October 21, 2013 at 10:49 AM
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.
- CTCKAAnswered on October 21, 2013 at 11:08 AM
That looks perfect - how can this be changed to the dropdown?
- JotForm Supportashwin_dAnswered on October 21, 2013 at 11:11 AM
I will create a demo form for you and send you the link in a while now.
- JotForm Supportashwin_dAnswered on October 22, 2013 at 04:23 AM
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.
- CTCKAAnswered on November 01, 2013 at 05:18 AM
That is exactly what I want. Can you please implement in into the 'Science Survey' in my acount?
- jedcadornaAnswered on November 01, 2013 at 06:22 AM
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.
- JotForm Supportashwin_dAnswered on November 01, 2013 at 07:23 AM
I will implement it in your form "Science Survey".
I will get back to you as soon as I complete it.
- JotForm Supportashwin_dAnswered on November 01, 2013 at 08:09 AM
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.
- CTCKAAnswered on November 01, 2013 at 09:14 AM
That works fine, but how do I get this into my form I currently have?
- EliezerNAnswered on November 01, 2013 at 10:14 AM
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:
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.
- CTCKAAnswered on November 04, 2013 at 04:32 AM
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?
- JotForm Supportashwin_dAnswered on November 04, 2013 at 09:26 AM
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.