• Resolved matrixra

    (@matrixra)


    Hi,

    I am not sure if your plugin can help. I am needing to be able to quote for a job so the customer can enter the length and width and the area is calculated. BUT, I want to be able to say that anything 30sqm for e.g. and under is $30, anything over that is charged at 50c per sqm.

    Is this possible?

    With thanks,

    Steve

Viewing 3 replies - 1 through 3 (of 3 total)
  • Yes definitely.

    You’ll need an equation to work it out. Something like:

    (function(){
    if((fieldname1*fieldname2)<30){return 30;}
    else {return fieldname1*fieldname2*0.5}
    })

    Plugin Author codepeople

    (@codepeople)

    Hello,

    Yes of course, and it is really simple:

    Assuming the fields for length and width are: fieldname1, and fieldname2, respectively, you simply should insert a calculated field in the form with the following equation:

    30+MAX(0,fieldnam1*fieldname2-30)*0.5

    The explanation is simple, $30 plus 0.5 per each additional sqm over the first 30 sqm

    Best regards.

    Thread Starter matrixra

    (@matrixra)

    That was so helpful, and so easy! Thank you very much!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Job quote using area’ is closed to new replies.