Title: Function Issue
Last modified: August 20, 2016

---

# Function Issue

 *  Resolved [EmanueleT](https://wordpress.org/support/users/emanuelet/)
 * (@emanuelet)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/function-issue-1/)
 * Hi,
 * i cant create the function i need, i have a drop down menu with ID “modello” 
   and inside 3 products with 3 different prices. input “quantita”
 * Once the customer selected from the menu the model, he must fill in the quantity
   and then the function should calculate the total price.
 * If i have only one model and only one price, i can use this function:
 * `IF(quantita<=50, 6*quantita, IF(quantita<=100, 6*0.95*quantita, IF(quantita<
   =200, 6*0.9*quantita, IF(quantita<=300, 6*0.85*quantita, IF(quantita<=400, 6*
   0.85*quantita, IF(quantita<=500, 6*0.8*quantita, IF(quantita>500, 6*0.7*quantita)))))))`
 * i was thinking to put AND in the IF function, but i dont know how to do, someone
   can help me??
 * thank you in advance
 * [http://wordpress.org/extend/plugins/jazzy-forms/](http://wordpress.org/extend/plugins/jazzy-forms/)

The topic ‘Function Issue’ 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/)

 * 0 replies
 * 1 participant
 * Last reply from: [EmanueleT](https://wordpress.org/support/users/emanuelet/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/function-issue-1/)
 * Status: resolved