For Community make category options a single option

Home Forums Calendar Products Community Events For Community make category options a single option

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1115281
    Todd May
    Participant

    ON the community submission, we would like the form to allow for only one selection from the many options – users often will check multiple boxes (more than one category) – how may we just limit them to pick best fit over multiple boxes?

    IE – a user might select dining, dancing, music and charity. – For a charity fundraiser.

    Thanks- Todd

    #1115627
    Hunter
    Moderator

    Hey Todd,

    Thanks for posting and welcome back 🙂

    What you describe is definitely possible using jQuery. You’ll first need to identify the category ID by visiting Events > Event Categories and hovering over “Delete” on the category you want as the default when users submit events. You’ll see text in the bottom left-hand side of your browser window containing tag_ID=3. Grab whichever number is where the bolded number is above.

    An example of what the jQuery might look like:

    jQuery("#tribe_events_cat-6").prop('checked', true);

    If you need a bit more assistance on how to go about inserting jQuery into the Community Events submission form, this article may help. Please note this type of support is outside the scope we’re able to provide, so you’ll have to take the reigns from here.

    Best of luck and thank you for choosing PRO!

    #1121238
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘For Community make category options a single option’ is closed to new replies.