I am looking at a conditional expression that sets a minimum price .

  • Profile Image
    Gordon
    Asked on November 07, 2014 at 04:04 AM

    I am looking at a conditional expression that sets a minimum price .... eg if [calc_result 1] * [calc_2]< 40 then [answer] = 40



    This is a re-post of a comment on Conditional Logic Inserts Text/Calculation Into A Field

  • Profile Image
    ashwin_d
    Answered on November 07, 2014 at 07:25 AM

    Hello Gordon,

    I am not sure if I have understood your question correctly. Do you want to update the price in a Payment question or in a "Form Calculation" or any other text box?

    Please be noted that it is not possible to alert the product/subscription prices of payment question but adding condition for updating a textbox or a form calculation widget should be possible. 

    Though I am not sure what is your exact requirement and I am also unable to check your forms to better understand your requirement as I am able to find out any account with your email address  trimlad@gmail.com.

    But a condition to achieve your requirement should be something similar as displayed in the screenshot below:

     

    Please check the following screenshot on how to build a similar condition in your form: 

     

    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!

  • Profile Image
    Gordon
    Answered on November 07, 2014 at 10:41 AM
    Mmm my username is madpirate , and my email is gordon@madpirate.com.au

    Basically what I have is --- I use the driving distance calculator widget to work out kilometers (is it possible somehow to make the default Kms not Miles?) the kilometers are then multiplied by a factor worked out by how many people are making the journey . So using a factor of $1.8 for up to 4 people over a distance of 20kms I get $36.00 , However my minimum charge is $60.00 so any amount under $60 has to be changed to $60 ,

    I think an if {result}< 60 then {result} = 60 is what I need to achieve in the simplest terms

    Many thanks for your reply and apologise for my previous vagueness

    Regards
    Gordon

    ...
  • Profile Image
    raul
    Answered on November 07, 2014 at 11:18 AM

    Hi,

    Using the example posted by @ashwin_d.
    I created this demo form for you: http://www.jotformpro.com/form/43104816734957

    I added a new read-only textbox field that will show 60 if the calculated quote is less than $60.
    These are the conditions created for the textbox:

    Please take a look at the demo form and let us know if it works for you.
    You can also clone it of you want to.

    Best Regards.

  • Profile Image
    oklife
    Answered on December 23, 2016 at 11:44 PM

    Hello, how can i recreate this form now with these similar conditions.

    Thank you.

  • Profile Image
    ashwin_d
    Answered on December 24, 2016 at 01:53 AM

    Hello oklife,

    This is a very old thread. I have moved your question to a new thread and you will be answered here:  https://www.jotform.com/answers/1018867

    Than kyou!