How to make Event Categories a required field

Home Forums Calendar Products Community Events How to make Event Categories a required field

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1021058
    Kevin
    Participant

    How can I make the Events Categories a required field. I have successfully made several fields required with the help of this link, but Events Category has me stumped.

    Thanks again,

    #1021117
    Cliff
    Member

    Hi Kevin. Thanks for the detailed question.

    Did you try tax_input as documented at that link?

    #1021181
    Kevin
    Participant

    I have tried that. it seems to be okay – but i have noticed that if it is left blank, the error message sat tax_input required (which i know i can customize) but the Event categories does not highlight in red like other required categories do if left blank. is there a way for it to have the same treatment as other categories.

    Screenshot:
    https://www.dropbox.com/s/bgvd6njyof0wcvl/Screen%20Shot%202015-11-03%20at%208.59.51%20AM.png?dl=0

    #1021543
    Cliff
    Member

    Kevin, I’m double-checking with one of our developers and should get back to you within the next business day. Thanks for your patience.

    #1021675
    Cliff
    Member

    Hey Kevin. I confirmed with our developers that https://theeventscalendar.com/knowledgebase/required-fields-for-events-submission-form/ has all the information you’ll need to reference.

    Hints:

    • Find the note about “square bracketed” fields on that page. If it helps you understand better, “square bracketed” fields are arrays — in other words, more than one choice is allowed.
    • Because tax_input (i.e. categories) allows more than one choice, it is a square bracketed field and therefore this also applies: “…the above approach will not cause a (Required) label to be automatically printed out next to the relevant field – however you could achieve this by means of a template override.”

    I hope this gets you the information you need to complete your customizations for the category field! 🙂

    #1075376
    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 6 posts - 1 through 6 (of 6 total)
  • The topic ‘How to make Event Categories a required field’ is closed to new replies.