• Resolved nono123

    (@nono123)


    I have a field in my Calculated Fields Form

    (function(){
    if(fieldname24 <= 0) return ' ';
    if(fieldname24 > 0 && fieldname24 <= 10) return 'RTB 10 kW';
    if(fieldname24 > 10 && fieldname24 <= 16) return 'RTB 16 kW';
    if(fieldname24 > 16 && fieldname24 <= 30) return 'RTB 30 kW';
    if(fieldname24 > 30 && fieldname24 <= 50) return 'RTB 50 kW';
    else return 'Neem contact op, a.u.b.';
     })()

    But after a update from Calculated Fields Form this field stay empty.

    Any idea what is wrong ?

    https://ww.wp.xz.cn/plugins/calculated-fields-form/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author codepeople

    (@codepeople)

    Hi,

    The calculated fields have been implemented for accepting numeric values, as result of a mathematical operation, but if you want display textual values in the calculated fields, please, follows the instructions in the answer to the question: “Q: How can be displayed texts in the calculated fields?”, in the FAQ page of the plugin:

    https://ww.wp.xz.cn/plugins/calculated-fields-form/faq/

    Best regards.

    Thread Starter nono123

    (@nono123)

    YES !!!!!!
    Its working again.

    Thank you for the quick response.

    Maarten

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

The topic ‘function stop working after update.’ is closed to new replies.