Title: [Plugin: Jazzy Forms] Formula Issue: Result as Negative Integer = Error
Last modified: August 20, 2016

---

# [Plugin: Jazzy Forms] Formula Issue: Result as Negative Integer = Error

 *  Resolved [kmercer75](https://wordpress.org/support/users/kmercer75/)
 * (@kmercer75)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-jazzy-forms-formula-issue-result-as-negative-integer-error/)
 * Hi there,
    I love this plugin but am having a problem with a calculation. It 
   involves using a field (m) as a negative integer where I have values set for 
   two drop down options. Option one is “25-years” set to value “300” and option
   two is “30-years” set to value “360”. So: 1 – x^-m When I sub in the actual value
   it works but when I use the field ID it does not. I get #NAME? error. Please 
   help? Thanks!
 * [http://wordpress.org/extend/plugins/jazzy-forms/](http://wordpress.org/extend/plugins/jazzy-forms/)

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

 *  Plugin Author [jazzigor](https://wordpress.org/support/users/jazzigor/)
 * (@jazzigor)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-jazzy-forms-formula-issue-result-as-negative-integer-error/#post-2968464)
 * Hi kmercer75. Thanks for reporting this. It seems to be a [problem](https://github.com/l90r/jazzy-forms-dev/issues/103)
   with the way the formula gets parsed (the minus as a negation operator works 
   only for numbers, not for variables). I’ll try to fix it as soon as possible.
   Meanwhile you can use a simple trick: try `1 - x^(0-m)`. Sorry for the inconvenience.
 *  Plugin Author [jazzigor](https://wordpress.org/support/users/jazzigor/)
 * (@jazzigor)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-jazzy-forms-formula-issue-result-as-negative-integer-error/#post-2968590)
 * This is resolved in v0.10.1.

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

The topic ‘[Plugin: Jazzy Forms] Formula Issue: Result as Negative Integer = Error’
is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/jazzy-forms_dac291.svg)
 * [Jazzy Forms](https://wordpress.org/plugins/jazzy-forms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jazzy-forms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jazzy-forms/)
 * [Active Topics](https://wordpress.org/support/plugin/jazzy-forms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jazzy-forms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jazzy-forms/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [jazzigor](https://wordpress.org/support/users/jazzigor/)
 * Last activity: [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-jazzy-forms-formula-issue-result-as-negative-integer-error/#post-2968590)
 * Status: resolved