Conditional logic not applied when value programatically changed (toggled)

Home Forums Quform WordPress Conditional logic not applied when value programatically changed (toggled)

This topic is: resolved
  • This topic has 3 replies, 2 voices, and was last updated 7 years ago by Ally.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #24962
    katw
    Participant

    I have a checkbox group AND a conditional “Other” text field which is shown when the user toggles the ‘Other’ checkbox option on/off.

    This is working fine.

    BUT

    An issue arises when the ‘Other’ checkbox is programatically toggled on/off. Your hide/show event isn’t triggered and the Other field remains on screen.

    I want *your event to trigger* when I uncheck/check the checkbox via JS. Just as it works when a user does a click.

    Guessing I need to add a ‘CHANGE’ event and you are using ‘CLICK’ event?

    How can I do this?

    Thanks

    #24987
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #24999
    katw
    Participant

    Thanks Ally, solution works.

    Would love to see Quform V2 conditional logic section expanded to allow more complex logic including sub-logic.

    Perhaps event triggers could be added for user choice too? Onchange, Onfocus, onclick etc

    #25035
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy