How to add personalized text in label of form fields?

  • FeedbackForMe
    Asked on February 23, 2016 at 10:40 AM

    Hello! I'm creating a survey and would like to add a person's name to some of the questions. i.e. How did you feel about Jane? How can I go about writing the questions so that "Jane" appears when needed? This survey won't be just about Jane, per se, but rather it'll be used on a recurring basis. People will be sent to this form directly from an email. Should the referring link be coded in a certain way to populate this bit of personalized text properly?

  • Ashwin JotForm Support
    Replied on February 23, 2016 at 1:06 PM

    Hello FeedbackForMe,

    I did check your last edited form and understood what you are trying to achieve. Unfortunately you cannot show the dynamic name in the label of the questions but with a little workaround it is possible to achieve your requirement. You should add a "Text" field for every question label and then add the field name in the text. Here are the steps you should follow:

    #1. Add "Text" field in your form for every question where you want to display the person's name.

    #2. Add a hidden form field to capture person's name.

    #3. Capture the field name of the hidden form field and add it in the text of "Text" field. Please check the screenshot below:

    How to add personalized text in label of form fields? Image 1 Screenshot 20

     

    #4. You can hide the name field and prepopulate it by taking advantage of our "Field Prepopulator" app. 

    I cloned your last edited form and did the changes in one of your form field. Please take a look at the following form and see if this is an acceptable solution:  https://form.jotform.com/60534740384960 Feel free to clone this form for a closer look. The following guide should help you in form cloning:  http://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL 

    You can prepopulate the hidden field with following URL and test it:  https://form.jotform.com/60534740384960?name=Ashwin 

    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!