WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. David Robinson
    Member
    Posted 10 months 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 10 months 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.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.