Title: function stop working after update.
Last modified: August 22, 2016

---

# function stop working after update.

 *  Resolved [nono123](https://wordpress.org/support/users/nono123/)
 * (@nono123)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/function-stop-working-after-update/)
 * 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://wordpress.org/plugins/calculated-fields-form/](https://wordpress.org/plugins/calculated-fields-form/)

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

 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/function-stop-working-after-update/#post-5798746)
 * 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://wordpress.org/plugins/calculated-fields-form/faq/](https://wordpress.org/plugins/calculated-fields-form/faq/)
 * Best regards.
 *  Thread Starter [nono123](https://wordpress.org/support/users/nono123/)
 * (@nono123)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/function-stop-working-after-update/#post-5798766)
 * 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.

 * ![](https://ps.w.org/calculated-fields-form/assets/icon-256x256.jpg?rev=1734377)
 * [Calculated Fields Form](https://wordpress.org/plugins/calculated-fields-form/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/calculated-fields-form/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/calculated-fields-form/)
 * [Active Topics](https://wordpress.org/support/plugin/calculated-fields-form/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/calculated-fields-form/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/calculated-fields-form/reviews/)

## Tags

 * [function](https://wordpress.org/support/topic-tag/function/)

 * 2 replies
 * 2 participants
 * Last reply from: [nono123](https://wordpress.org/support/users/nono123/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/function-stop-working-after-update/#post-5798766)
 * Status: resolved