Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter ilden

    (@ilden)

    So this is my code here, where would i put the MAX part? sorry for all the questions haha, appreciate the help!

    (function(){
    var field = fieldname6;
    if(AND(fieldname2 ==1, fieldname3 ==1)) {return fieldname6 *0.006;}
    if(AND(fieldname2 ==1, fieldname3 ==2)) {return fieldname6*0.008;}
    if(AND(fieldname2 ==1, fieldname3 ==3)) {return fieldname6*0.01;}

    if(AND(fieldname2 ==2, fieldname3 ==1)){return fieldname6*0.008;}
    if(AND(fieldname2 ==2, fieldname3 ==2)){return fieldname6*0.01;}
    if(AND(fieldname2 ==2, fieldname3 ==3)){return fieldname6*0.012;}

    if(AND(fieldname2 ==3, fieldname3 ==1)){return fieldname6*0.0145;}
    if(AND(fieldname2 ==3, fieldname3 ==2)){return fieldname6*0.0165;}
    if(AND(fieldname2 ==3, fieldname3 ==3)){return fieldname6*0.0185;}
    })()

    Thread Starter ilden

    (@ilden)

    I have entered this into the ‘If value is’ section and it didn’t work

    value<12 ==12

Viewing 2 replies - 1 through 2 (of 2 total)