• Resolved buptrick

    (@buptrick)


    hello, the calculations work very well first thank you.
    I would like to improve the mediation fee calculation form a little.
    I would like to add 5 categories (1- Family disputes, 2- business disputes, 3- trade disputes, 4- consumer disputes, 5- other disputes) to the calculation form on my website.

    For example, the wages deserved by the mediator should be 1st, 2nd, 4th, 2020, the calculation amount should not be below 680-TL.
    Let the lower limit of 1320-TL for category 3.
    Let’s have a lower limit of 820-TL for the 5th category.

    Can you help with this calculation? thank you so much.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @buptrick

    There are different alternatives. I’ll try to describe one of them with a hypothetical example:

    Assuming there is a radio button or dropdown field (the fieldname1) with the categories:

    1- Family disputes,
    2- business disputes,
    3- trade disputes,
    4- consumer disputes,
    5- other disputes,

    where the values of the choices are the limits.

    The values of choices: 1, 2 and 4 is 680, the value of choice 3: 1320 and the value of choice 5: 820

    Furthermore, the equation associated to the calculated field is:

    fieldname2+fieldname3

    You simply should to edit the equation as follows:

    
    MAX(fieldname2+fieldname3, fieldname1)
    

    and that’s all.

    As I said, there are multiple alternatives to use, the choose would depend on the project’s requirements.

    Best regards.

Viewing 1 replies (of 1 total)
  • The topic ‘lower limit’ is closed to new replies.