Title: [Plugin: Jazzy Forms] Conditional prices ?
Last modified: August 20, 2016

---

# [Plugin: Jazzy Forms] Conditional prices ?

 *  [TDGDesign](https://wordpress.org/support/users/tdgdesign/)
 * (@tdgdesign)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-jazzy-forms-conditional-prices/)
 * Hello i90r !
 * Congratulations for this awesome plugin !
 * I would like to use it as an estimate form, for a travel company.
    I have some
   destinations and some departures, so I would like to put the right price to each
   trip…
 * Exemple :
    To go from ‘Paris’ to ‘Madrid’, it wouldn’t be the same price as ‘
   London’ -> ‘Madrid’ or ‘Madrid’ -> ‘Roma’…
 * Is there a good way to calculate this kind of conditional price ?
 * I was thinking about :
 * > `IF(departure1+destination1, price1, IF(departure1+destination2, price2 IF(
   > departure1+destination3, price3 [...] )))*quantity`
 * But it seems that it would be long for over than 2000 destinations, isn’t it ?
 * Thanks for your help !
 * [http://wordpress.org/extend/plugins/jazzy-forms/](http://wordpress.org/extend/plugins/jazzy-forms/)

The topic ‘[Plugin: Jazzy Forms] Conditional prices ?’ 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: [TDGDesign](https://wordpress.org/support/users/tdgdesign/)
 * Last activity: [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-jazzy-forms-conditional-prices/)
 * Status: not resolved