Title: Condition Calculation Field
Last modified: March 6, 2019

---

# Condition Calculation Field

 *  Resolved [0rbita](https://wordpress.org/support/users/0rbita/)
 * (@0rbita)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/condition-calculation-field/)
 * Hello,
 * I do have another question, please:
    You helped me determine some condition to
   a calculated field. If the result is zero, then it should display a message, 
   instead of the calculation. But I have one option that also display the result
   = zero, but I would like it to show a different message. But this particularly
   option came from a different field (a multiple choice one) Is there some way 
   to make a condition for this also?
 * Thank you very much

Viewing 1 replies (of 1 total)

 *  Plugin Author [EDGARROJAS](https://wordpress.org/support/users/edgarrojas/)
 * (@edgarrojas)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/condition-calculation-field/#post-11286408)
 * So you want to display another message if the result is zero?
 * If so i think something like this would do the trick:
 *     ```
       if([field]==0)
        return 'your message';
       ```
   
 * Regards!

Viewing 1 replies (of 1 total)

The topic ‘Condition Calculation Field’ is closed to new replies.

 * ![](https://ps.w.org/smart-forms/assets/icon-256x256.jpg?rev=1226707)
 * [Smart Forms - when you need more than just a contact form](https://wordpress.org/plugins/smart-forms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/smart-forms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/smart-forms/)
 * [Active Topics](https://wordpress.org/support/plugin/smart-forms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/smart-forms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/smart-forms/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [EDGARROJAS](https://wordpress.org/support/users/edgarrojas/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/condition-calculation-field/#post-11286408)
 * Status: resolved