How to put a minimum price of 20 € in the field "price"

  • Profile Image
    amraouiahcene
    Asked on January 07, 2020 at 02:47 AM

    hello,

    how to put a minimum price of 20 € in the field "price"

    (I mean that all prices below 20 € must display 20 €).

    Regards



    This is a re-post of a comment on How to Insert Text or Calculation into a Field Using Conditional Logic

  • Profile Image
    Richie_P
    Answered on January 07, 2020 at 04:45 AM

    May we know if you want to use a payment integration or do you want to manually calculate the price?

    Can you please share more information on how you would like your form to work and the flow of process?

    Looking forward for your response.

  • Profile Image
    amraouiahcene
    Answered on January 07, 2020 at 05:50 AM
    Hello,
    I want to calculate the distance price manually
    with one condition:
    if the calculated price is less than 15 €; the result must display 20 € (I
    mean apply a minimum price of 20 €)
    In the state function, '' greater than '' works perfectly.
    But the option "less than" does not work.
    Regards
    [image: condition Price.JPG]
    [image: condition Price 2.JPG]
    Le mar. 7 janv. 2020 à 10:45, JotForm a écrit :
    ...
  • Profile Image
    Richie_P
    Answered on January 07, 2020 at 07:37 AM

    You would need to add another field to get the values if its more than 20 or less

    For my example, I have added a Total price.

    If prix is more than 19 copy the prix value to total price and when the prix is less than 20, set the value to 20.

    Sample form:https://form.jotform.com/200063254633950

    Please check it out and let us know if you have further questions.

  • Profile Image
    amraouiahcene
    Answered on January 07, 2020 at 07:50 AM
    hi, less than doesn't work, try my form.
    Regards
    Le mar. 7 janv. 2020 13:37, JotForm a écrit :
    ...
  • Profile Image
    Richie_P
    Answered on January 07, 2020 at 08:59 AM

    Can you please share your form URL? I have checked one of your forms however, I can't seem to find any condition.

    Can you please try my work around?

    Sample form:https://form.jotform.com/200063254633950

    You may also clone my sample form, here is a guide:https://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL

  • Profile Image
    amraouiahcene
    Answered on January 07, 2020 at 03:50 PM
    Hi,
    Thank you
    It's ok
    Regards
    Le mar. 7 janv. 2020 14:59, JotForm a écrit :
    ...