How to create condition with two drop down fields?

  • Profile Image
    Kevinstyles
    Asked 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

  • Profile Image
    erhan
    Answered on October 02, 2015 at 07:13 AM

    Hi,

    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.

    Best.

  • Profile Image
    grade4pagasa
    Answered on October 02, 2015 at 08:52 AM

    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.

     

    Result:

     

     

    Calculation Values for Dropdown # 1:

  • Profile Image
    Kevinstyles
    Answered on October 13, 2015 at 08:49 AM

    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?

     

  • Profile Image
    BDAVID
    Answered on October 13, 2015 at 11:16 AM

    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.