wp-event-manager icon indicating copy to clipboard operation
wp-event-manager copied to clipboard

Making Organizer Field compoulsary

Open Priya-Goenka opened this issue 2 years ago • 2 comments

Please add the following code in the functions.php file at theme side:

// Add your own function to filter the fields add_filter( 'submit_event_form_fields', 'custom_submit_event_form_fields' );

function custom_submit_event_form_fields( $fields ) {

$fields['organizer']['event_organizer_ids']['required'] = true;

$fields['venue']['event_venue_ids']['required'] = true;

// And return the modified fields
return $fields;

}

Priya-Goenka avatar Jun 13 '22 15:06 Priya-Goenka

@Priya-Goenka - What needs to be done here.

tamanna-ahuja avatar Jun 14 '22 05:06 tamanna-ahuja

@krinaydhanani this is solution for how to customise organize filed mandatory... so please put in document and assign to writer.

ashokdudhat avatar Jun 15 '22 07:06 ashokdudhat

https://docs.google.com/document/d/1w4z7PmBY4CLU8VzNQOHh3Xc5PeWctaDmT99wahqM9rU/edit already there on the page https://wp-eventmanager.com/knowledge-base/event-submission-form-field/

Prachetshi1991 avatar Aug 08 '23 01:08 Prachetshi1991

I have verified this issue. Now this issue is fixed. It is available on the KB page in the " Editing Event Submission Form Fields" section. So I closed the issue.

mistry-jignesh avatar Oct 17 '23 05:10 mistry-jignesh