community submission form: make city required, but not other venue fields

Home Forums Calendar Products Community Events community submission form: make city required, but not other venue fields

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1049759
    Tom
    Participant

    Hello,

    I am using the ‘city’ field from the venue section of user-submitted events to order the entries in the calendar. So I need ‘city’ to be a required field but don’t want other venue fields like state and zip code to be required.

    I followed the instructions in the knowledgebase article ‘Required fields for events submission form’. I did not make ‘venue’ required as it advises this makes all fields required, so tried adding just ‘city’ as a required field. However when I do that the submission fails with an error saying city has not been completed, even when the user has filled in the city field.

    Is there a way to make the city field required without the other venue fields, and if so, could you tell me how?

    Thanks

    #1050623
    Geoff
    Member

    Hi Tom and thanks for getting in touch!

    What was the variable you used to city? Looking through the plugin classes, it looks likeĀ VenueCity would be the one to replaceĀ venue with in the knowledgebase post.

    Cheers!
    Geoff

    #1076474
    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 ‘community submission form: make city required, but not other venue fields’ is closed to new replies.