Limit number of categories selected when submitting event

Home Forums Calendar Products Community Events Limit number of categories selected when submitting event

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1196188
    Justin
    Participant

    Is there a way to limit the number of categories that a user chooses (up to 3) and give them an error if they select more than 3? If not, then is there a hook to do custom validation of the category field?

    #1196785
    Nico
    Member

    Hi there Justin,

    Thanks for getting in touch with us!

    There’s no setting to change this validation, that’s something you’ll need to code. Take a look at this tutorial showing some hooks to modify validation → Required Fields for Events Submission Form.

    Please let me know if you need more help on this,
    Best,
    Nico

    #1206478
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Limit number of categories selected when submitting event’ is closed to new replies.