- stevenabrooksAsked on August 30, 2017 at 09:22 AM
I have a form where I would like to add recommendations to a text field based on answers to other questions. Am I able to update the content of a text field multiple times? For example, depending on the answers, I would like to add up to 5 different recommendations to a text field. Can this be done?
- JotForm Supportashwin_dAnswered on August 30, 2017 at 11:26 AM
Do you mean to say that you want to conditionally add text in "Text" field of your form?
Unfortunately it is not possible to conditionally change the content of text field but with a little workaround it is possible to achieve it. Here are the steps you need to follow:
#1. Add one "Short Text Entry" field in your form for each recommendation you want show in text field.
#2. Now you have 5 textbox in form for 5 different recommendation. Please hide all the 5 textboxes / Short Text Entry field.
#3. Grab the field name of all the textboxes and add it in "Text" field.
#4. Add condition in your form to insert the recommendation text in the "Short Text Entry" field. As soon as the condition is triggered and value is populated, it will also be displayed in the text field as well.
Please take a look at the following demo form I have created and see if this is something what you want to achieve: https://form.jotformpro.com/72414635291960
Feel free to clone this form for a closer look. The following guide should help you in form cloning: https://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL
Hope this helps.
Do get back to us if you meant to ask something else .