Title: Get Predefined Value from Dropdown
Last modified: June 1, 2021

---

# Get Predefined Value from Dropdown

 *  Resolved [Trucker](https://wordpress.org/support/users/trucker/)
 * (@trucker)
 * [5 years ago](https://wordpress.org/support/topic/get-predefined-value-from-dropdown/)
 * Hi,
    Let’s say I have 2 fields:
 * Field1: Dropdown Field
    Field2: Number Field
 * I am trying to set the value of Field2 (editable) whenever users select a different
   value from the Field1 Dropdown.
 * My Field2 is currently showing the value of Field1, however, when users change
   the option of Field1, the number in Field2 doesn’t get updated.
 * Thank you!
    -  This topic was modified 5 years ago by [Trucker](https://wordpress.org/support/users/trucker/).

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

 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [5 years ago](https://wordpress.org/support/topic/get-predefined-value-from-dropdown/#post-14507134)
 * Hello [@trucker](https://wordpress.org/support/users/trucker/)
 * Please, use a calculated field for the fieldname2 instead of a number field, 
   and enter the name of the dropdown field `fieldname1` as its equation.
 * Best regards.
 *  Thread Starter [Trucker](https://wordpress.org/support/users/trucker/)
 * (@trucker)
 * [5 years ago](https://wordpress.org/support/topic/get-predefined-value-from-dropdown/#post-14507491)
 * How can I use the fieldname1 as an editable field?
    Thank you!
 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [5 years ago](https://wordpress.org/support/topic/get-predefined-value-from-dropdown/#post-14507498)
 * Hello [@trucker](https://wordpress.org/support/users/trucker/)
 * I’m not sure about your question, but if are referring to the calculated field,
   you can untick the “Read only” checkbox in its settings.
 * Best regards.
 *  Thread Starter [Trucker](https://wordpress.org/support/users/trucker/)
 * (@trucker)
 * [5 years ago](https://wordpress.org/support/topic/get-predefined-value-from-dropdown/#post-14507506)
 * I was asking that whether user can edit the Predefined Value in fieldname2. Thank
   you!
 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [5 years ago](https://wordpress.org/support/topic/get-predefined-value-from-dropdown/#post-14507538)
 * Hello [@trucker](https://wordpress.org/support/users/trucker/)
 * First, who is fieldname2? Is it a calculated field? If it is the case, and the
   form was configured to evaluate the equations dynamically, the value of this 
   field will be the result of the equation, even if you have defined a predefined
   value through its settings.
 * Best regards.
 *  Thread Starter [Trucker](https://wordpress.org/support/users/trucker/)
 * (@trucker)
 * [5 years ago](https://wordpress.org/support/topic/get-predefined-value-from-dropdown/#post-14509748)
 * Hi, it is a number field, not a calculated field.
 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [5 years ago](https://wordpress.org/support/topic/get-predefined-value-from-dropdown/#post-14510827)
 * Hello [@trucker](https://wordpress.org/support/users/trucker/)
 * If it is a number field, you should enter the default value through its “Predefined
   Value” attribute. But pay attention. If you tick the checkbox to use the default
   value as a placeholder, it would be a placeholder and not a value.
 * Best regards.

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

The topic ‘Get Predefined Value from Dropdown’ is closed to new replies.

 * ![](https://ps.w.org/calculated-fields-form/assets/icon-256x256.jpg?rev=1734377)
 * [Calculated Fields Form](https://wordpress.org/plugins/calculated-fields-form/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/calculated-fields-form/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/calculated-fields-form/)
 * [Active Topics](https://wordpress.org/support/plugin/calculated-fields-form/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/calculated-fields-form/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/calculated-fields-form/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [codepeople](https://wordpress.org/support/users/codepeople/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/get-predefined-value-from-dropdown/#post-14510827)
 * Status: resolved