automatically choose certain answers based on clients form answers
-
drshu.medicalAsked on November 15, 2021 at 03:22 AM
Hello,
How do I have some form of conditional logic or something that if they select certain answers, it will autopopulate an answer in a hidden field? For example: If they choose '1 pod daily'
I want the form to automatically choose the quantity/frequency of '1 pod daily' and also 3 month quantity of 'up to 100 pods' as this is something that will be reflected on the PDF generated. So essentially, if they choose the first option, the form should generate the first options of the other fields and if they choose the second, the form should generate the second options etc.
thank you for your help
-
gokmenAnswered on November 15, 2021 at 05:59 AMJotform Developer
Hi,
You should create an update/calculate field condition. You can follow the steps below.
You can think that you have a form like this. The second field is hidden.
On the settings page, you should create an update/calculate field condition like above. When the first field is filled, you can copy the first field value to the second. After that in your pdfs look like below.
Also, your tables will look like below.
If you want, you can use textbox instead of the second single choice field.
Hope this information helps.
Please let us know if you have any further questions.
-
drshu.medicalAnswered on November 30, 2021 at 05:50 AM
I did it as instructed but the fields didn't auto fill.
I resubmitted the forms and I also tested but it didn't autofill in the table fields that I want it t
the tables are still empty
-
YauAnswered on November 30, 2021 at 07:01 AMJotform Support
Hi,
I have created a demo for you: https://form.jotform.com/213267779172061
You can use 'Calculate a field's value' to auto-fill another field base on answers in the first field:
You can apply the same concept to your form.
Let us know if you need further assistance.
-
drshu.medicalAnswered on November 30, 2021 at 03:50 PM
so why when I followed the original support answer above it didn't work?
-
drshu.medicalAnswered on November 30, 2021 at 04:04 PM
-
JericAnswered on November 30, 2021 at 08:14 PMJotform Support
Hi there,
Thanks for getting back!Sorry to hear that it did not work out for you. Can you share the form URL so we can check it and make sure that we will be able to accomplish what you wanted to achieve?
We'll wait for your response.
Regards, -
drshu.medicalAnswered on November 30, 2021 at 08:24 PM
hello the second method worked fine thanks