How to change price according to user selection?

  • yonseigroup
    Asked on May 10, 2017 at 3:04 AM
    hi
    i was just wondering if there was a feature/widget
    where if someone if applying with friends they have the option to express that somewhere in the form so i know that this particular person is applying not by themselves but with a friend?
    I was thinking of a drop down box but i dont think that will cut it.
    2. Is it possible to have 3 options and if someone ticks only the first box then the price is different, and if they choose the first 2 boxes it shows another price etc
    Kind regards,
    Jesse
  • Rose
    Replied on May 10, 2017 at 3:40 AM

    If I understood you correctly, you would like to have a dynamic form changing fields according to user selection. 

    For the first question, you can use single choice field and set options as "myself" or "with friends" or how you would like to set up. Then,you can use show/hide conditional logic to show or hide other fields according to user selection. 

    Here is two different demo form for show/hide condition. Please feel free to clone it. 

    https://form.jotform.com/62762253489970

    https://form.jotform.com/62451355867968

    This is the user guide about our conditional logic feature:

    https://www.jotform.com/help/57-Smart-Forms-Using-Conditional-Logic

    For the last question which is about changing price according to user selection, you can achieve it by using update/calculate logic. This is the user guide where you can find more details about it.

    https://www.jotform.com/help/268-Conditional-Logic-Inserts-Text-Calculation-Into-A-Field

    The tricky part after set condition is to transfer total amount to a payment field. You may have a look at following user guide. 

    https://www.jotform.com/help/275-How-to-Pass-a-Calculation-to-a-Payment-Field

    Please have a look at them and let us know if you have more questions. If you provide us some additional information about your workaround, we can suggest you more specific solutions. 

  • yonseigroup
    Replied on May 11, 2017 at 1:43 AM
    Hi i have attached image.
    I was wondering if i can hide Price altogether until they select tax return or tax & super and they answered yes or no to the question is your gross income 20843.
    In the preview the Price $75 is hidden but the price $39 is visible from the very start of the form (when all empty)
    I dont know how the $75 is hidden until you choose "NO" to the question gross income below...
    but dont know how to hide $39 until they select "YES".
    Help me out please
    Thanks
    also i cant seem to contact you guys anymore thought contact jotform page. Spam check failed.
    Jesse
    ________________________________
    ...
  • Rose
    Replied on May 11, 2017 at 3:24 AM

    Thank you for the additional information.

    Please note that the image you uploaded is not attached to your post. Please follow the steps here to attach your upload.

    If I understood your question correctly, you would like hide both prices for the case:

    - if the form is empty

    - if the user is not select Yes option both for Tax return and income questions.

    For the above case, the condition you need to set up is as following.  

    How to change price according to user selection? Image 1 Screenshot 30

    The above condition is set according to this demo form. Here is the result of the form after set these condition. 

    How to change price according to user selection? Image 2 Screenshot 41

    If this is not the thing you are looking for, please send us the form ID that you need to make changes on it with some more additional information regarding your request.