Adding additional attributes to category checkboxes

Home Forums Calendar Products Community Events Adding additional attributes to category checkboxes

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1144869
    Jared
    Participant

    Hello

    The submit event page has a preview panel that updates in real time as you enter information prior to submitting. I’m able to get most of the information in this panel through onchange attributes. I need to add an onchange attribute to the category checkboxes, but I have no idea where the category inputs are rendered.

    How would I add a onchange attribute to the category checklist?

    #1144889
    George
    Participant

    Hey Jared,

    Thanks for reaching out.

    To be clear, are you referring to the list of category checkboxes in the filter bar?

    In any case, changing attributes is unfortunately only possible by way of writing custom code. I say “unfortunately” because we cannot help with writing custom code.

    If you can confirm what category checkboxes you are referring to, though, I will try to help point you in the right direction.

    Sincerely,
    George

    #1144895
    Jared
    Participant

    I was referring to category checkboxes on the “Add event” page for Community Events. I have no problem writing the code. I just need to know where in the source code those checkboxes are rendered.

    #1145198
    Jared
    Participant

    Solved it,

    I had a div wrapper around it in my template file. I simply added the onchange attribute to that tag.

    #1145239
    George
    Participant

    Thanks for sharing this update! Glad to hear it’s resolved.

    Best of luck with your project! 😀
    George

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Adding additional attributes to category checkboxes’ is closed to new replies.