JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
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.
How to create condition with two drop down fields?Asked by Kevinstyles on October 02, 2015 at 07:02 AM
Assuming I have two drop down boxes, one box with ten days, seven days five days and four days, while the other drop down box is invisible and contains different prices for each of the days that my client will select. say the prices are 6, 7, 8, and 9 respectively. How can I create a condition that if a client select ten days in the first box, the second box will automatically change to 6 dollars? or if he selects seven days in the first box, the second box changes automatically to 7 dollars?Please help. Thanks
I tried to explain how to do it in the images below.
1- Get Conditions by using right-click-menu of a dropdown
2- Select Update a form field value from Conditions Wizard
3- Set a condition as shown image below
Please let us know if you need any assistance.
hi Kevinstyles . Randy here, a fellow JotForm user.
would a DropDown with Calculation Values + Form Calculation work for your need? i found this user guide really helpful on How to Assign Calculation Value.
the example i made is similar to what JotForm Developer Meunal did but I used Form Calculation to pass the values from DropDown #1 to DropDown # 2 and the TextBox.
in this live example, the 2nd dropdown and a TextBox field will receive the Calculation Values for each of the options given in DropDown menu # 1.
Calculation Values for Dropdown # 1:
Hello, I have five text boxes that I want to convert into drop down boxes. they have so many conditions so it would take time to create new drop down boxes. How can I go about that?
It is not possible to convert a field type into a different field type, so you will need to replace the Text Boxes you want by deleting them and adding the Drop Down fields, then reassign the conditions to the new Drop Down fields.