WordPress.org

Forums

Calculated Fields Form
[resolved] A way to have value Z change dependant on value X? (2 posts)

  1. David Robinson
    Member
    Posted 1 year ago #

    I need to have the value of Z dependant on another value X. So for example if the person enters upto 200 for X then Z is equal to 6 and if they enter a value of 200+ for X then Z is equal to 10.

    Is this possible?

    http://wordpress.org/plugins/calculated-fields-form/

  2. codepeople
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    Yes of course, and the process is very easy. Using the nomenclature of plugin, X will be called fieldname1, and Z will be the calculated field, so the equation is like follow:

    (fieldname1 <= 200)?6:10

    That's all.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Calculated Fields Form
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.