• Resolved Francis

    (@emolotel)


    Hello
    I can have an entry field greater than or equal to a calculated field

    Example:

    if fieldname 1 (calculated field) = 100

    fieldname 2 (entry field)> = 100

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

    (@codepeople)

    Hello @emolotel

    If you are referring to the “min” validation rule associated to the number field, you simply should enter the name of the calculated field (fieldname1) into the “Min” attribute in the settings of number field (fieldname2)

    But if you want modify the value of the number field you should to edit the equation. For example, assuming the equation associated to the calculated field is: fieldname5+fieldname10, it should be edited as follows:

    
    (function(){
    var f = getField(2), 
    result = fieldname5+fieldname10; 
    
    f.setVal(MAX(f.val(),result));
    return result;
    
    })()
    

    Best regards.

Viewing 1 replies (of 1 total)
  • The topic ‘calculated field value’ is closed to new replies.