Viewing 5 replies - 1 through 5 (of 5 total)
  • you need custom hooks/filters for this e.g. https://www.ads-software.com/support/topic/booking-form-required-fields?replies=13

    also, you can easily set/unset required fields in booking form using forms editor however this is currently available to pro users only – https://wp-events-plugin.com/documentation/custom-booking-forms/

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    i think agelonwl confused this with booking forms, not the location form.

    two ways, the easy way:

    use css, something like .em-location-data td > i { display:none; }

    harder way

    override our template which are

    templates/forms/location/where.php
    templates/forms/event/location.php
    https://wp-events-plugin.com/documentation/using-template-files/

    Hey Marcus,

    Congratulations for the plugin. It′s great!!

    But the solution you provide here does not fit since hiding the field through CSS will hide the location from every Event.

    How can we turn the Address and City fields not required?

    Thanks

    Philip John

    (@philipjohn)

    Hiya,

    Marcus suggestion was just a pointer to the kind of CSS you’ll need, not the precise solution.

    You’ll need to look at the HTML of your site to see exactly which selectors to use in your CSS in order to hide it from only the form.

    Thanks

    I know that it′s not exactly what he posted, philipjohn! But is there a way to create a conditional CSS ?

    Any CSS applied to hide a field will be applied to every New Event to be added. Sometimes I will need to fill this field and sometimes not.

    That′s why people here are asking just for a solution to put this fields as non-required.

    I cannot post a New Event if I dont have a full Address or the name of the City.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Make Address Not Required’ is closed to new replies.