• Resolved michaelrieder

    (@michaelrieder)


    Hi CodePeople

    I know it’s close to Xmas and you deserve your time out.

    Here is my last question for this year:

    How can I make a toggle button to show/hide a field.

    The first click shows the fieldname72 and change the button caption, the second click hides the fieldname72 and resets the button caption.

    Best Regards Michael

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @michaelrieder,

    To show/hide the fieldname72 field by pressing a button in the form, please follow the steps below:

    1. Enter the class name hide through the “Add CSS Layout Keywords” in the fieldname72 field’s settings.

    2. Edi the onclick button event as follows:

    getField('fieldname72').jQueryRef().toggleClass('hide');

    Please note the plugin support does not cover the implementation of users’ projects or custom behaviors. If you need to modify the fields’ labels by coding, you can request a custom coding service directly via the plugin website. Contact Us

    Best regards.

    Thread Starter michaelrieder

    (@michaelrieder)

    Thanks! Merry Xmas

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Toggle Button’ is closed to new replies.