Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor calchub

    (@calchub)

    Hello. It’s possible, but need to use the custom script. We will try to add the option ?hide/display

    Thread Starter ofccarlosborges

    (@ofccarlosborges)

    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

    (@calchub)

    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

    (@calchub)

    Hello. Please, update the plugin to version 1.1

    Thread Starter ofccarlosborges

    (@ofccarlosborges)

    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

    (@calchub)

    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

    (@ofccarlosborges)

    Apologies for the delay. I refer to this field:

    https://imgur.com/a/hBqJjb2

    Plugin Contributor calchub

    (@calchub)

    Hello.

    You can try to use the next code for change the add-on text:

    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.