Title: Dynamic fields
Last modified: January 23, 2023

---

# Dynamic fields

 *  Resolved [ofccarlosborges](https://wordpress.org/support/users/ofccarlosborges/)
 * (@ofccarlosborges)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/dynamic-fields-11/)
 * Is there any way to change label based on a select option? Or hide/display field
   depending on the select?

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

 *  Plugin Contributor [calchub](https://wordpress.org/support/users/calchub/)
 * (@calchub)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/dynamic-fields-11/#post-16402563)
 * Hello. It’s possible, but need to use the custom script. We will try to add the
   option  hide/display
 *  Thread Starter [ofccarlosborges](https://wordpress.org/support/users/ofccarlosborges/)
 * (@ofccarlosborges)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/dynamic-fields-11/#post-16412580)
 * Where is the field for javascript editing? The “formula” field? If so, can you
   give me an example of how this action worked because the programming logic of
   this field is different from conventional js.
 *  Plugin Contributor [calchub](https://wordpress.org/support/users/calchub/)
 * (@calchub)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/dynamic-fields-11/#post-16413402)
 * Hello.
 * Now, I testing the new version of the plugin with the ability to hide fields.
   I will update the plugin by Monday or on Monday
 *  Plugin Contributor [calchub](https://wordpress.org/support/users/calchub/)
 * (@calchub)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/dynamic-fields-11/#post-16414274)
 * Hello. Please, update the plugin to version 1.1
 *  Thread Starter [ofccarlosborges](https://wordpress.org/support/users/ofccarlosborges/)
 * (@ofccarlosborges)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/dynamic-fields-11/#post-16416236)
 * It’s working perfectly!
   Absolutely the best calculator plugin.Can you ask me 
   one last question? How do I change the Addon’s text? I tried using .addAttr(‘
   name’, ‘value’) but my attempts were unsuccessful.
 *  Plugin Contributor [calchub](https://wordpress.org/support/users/calchub/)
 * (@calchub)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/dynamic-fields-11/#post-16417447)
 * Do you want to change ‘Label’?
 * You can use the function **.text(‘text’)** and variable label[]. Example:
 * `label[2].text('Another Text');`
 *  Thread Starter [ofccarlosborges](https://wordpress.org/support/users/ofccarlosborges/)
 * (@ofccarlosborges)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/dynamic-fields-11/#post-16510133)
 * Apologies for the delay. I refer to this field:
 * [https://imgur.com/a/hBqJjb2](https://imgur.com/a/hBqJjb2)
 *  Plugin Contributor [calchub](https://wordpress.org/support/users/calchub/)
 * (@calchub)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/dynamic-fields-11/#post-16513219)
 * Hello.
 * You can try to use the next code for change the add-on text:
 *     ```wp-block-code
       fieldset[1].querySelector('.formbox__field-addon').text('text');
       ```
   
 * fieldset[1] – the variable for fieldset container. You can find this in the formula
   area

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

The topic ‘Dynamic fields’ is closed to new replies.

 * ![](https://ps.w.org/calculator-builder/assets/icon-256x256.png?rev=2841478)
 * [Calculator Builder – Create an Online Calculator](https://wordpress.org/plugins/calculator-builder/)
 * [Support Threads](https://wordpress.org/support/plugin/calculator-builder/)
 * [Active Topics](https://wordpress.org/support/plugin/calculator-builder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/calculator-builder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/calculator-builder/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [calchub](https://wordpress.org/support/users/calchub/)
 * Last activity: [3 years, 3 months ago](https://wordpress.org/support/topic/dynamic-fields-11/#post-16513219)
 * Status: resolved