{"id":1014577,"date":"2015-10-14T09:26:52","date_gmt":"2015-10-14T16:26:52","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/community-submission-form-organizer-fields-template-override\/"},"modified":"2015-10-15T07:04:12","modified_gmt":"2015-10-15T14:04:12","slug":"community-submission-form-organizer-fields-template-override","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/community-submission-form-organizer-fields-template-override\/","title":{"rendered":"Community Submission Form Organizer Fields Template Override"},"content":{"rendered":"<p>Hello, I&#8217;m having a couple issues with the Community Add On submission form. Specifically the Organizer Fields. One issue, led to another, so let me explain.<\/p>\n<p>The first thing I am trying to do is set the required fields for the Submission Form. Following this technique<br \/>\n<a href=\"https:\/\/theeventscalendar.com\/knowledgebase\/required-fields-for-events-submission-form\/\">https:\/\/theeventscalendar.com\/knowledgebase\/required-fields-for-events-submission-form\/<\/a><br \/>\nI was able to get most of the fields required that I needed. Where I ran in to trouble was dealing with the Organizer Fields. It mentions in that post that I need to override the template to add the note &#8220;required&#8221; to the \u201csquare bracketed\u201d fields. However when I do try to override the community\/modules\/organizer-fields.php file it doesn&#8217;t work.<\/p>\n<p>So digging further I even tried to edit the plugin file community\/modules\/organizer-fields.php (a big no no), just to verify if it could be a theme issue and found it is not utilizing that file at all in the form. Further research I found this post that it is a bug in 3.12, and it is using a different file for that part of the form.<br \/>\n<a href=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-required-label-to-organizer-fields\/#dl_post-999699\">https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-required-label-to-organizer-fields\/#dl_post-999699<\/a><br \/>\nBasically it is using the-events-calendar\/src\/admin-views\/new-organizer-meta-section.php and not the template file anticipated. In fact this creates a problem with the required fields technique because the name of the Organizer Field is different. It is expecting it to be &#8220;organizer[&#8216;Email&#8217;]&#8221;, but it is actually &#8220;organizer[&#8216;Email&#8217;][]&#8221;. This also brings up issues that when the Required field error message comes up after submitting it doesn&#8217;t save the partially entered Organizer&#8217;s info that had already been entered (Name\/Email\/etc.). Those fields just go blank again.<\/p>\n<p>So my questions are (finally):<br \/>\n1. Can I override the admin-view file without editing the plugin directly or is there a way I can revert just the Organizer fields back to the earlier version 3.11 before this bug was introduced so I can utilize the normal template override procedure? Can I disable the ability to add multiple Organizers for the Community Submission Form?<\/p>\n<p>2. Can you tell me, using the required fields technique mentioned above, how I might edit that to work with the current set up? Basically requiring both the Organizer Name and Organizer Email. Or is there a better way to make those fields required?<\/p>\n<p>Thanks for your help.<\/p>\n","protected":false},"template":"","class_list":["post-1014577","topic","type-topic","status-closed","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Community Submission Form Organizer Fields Template Override -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/community-submission-form-organizer-fields-template-override\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Community Submission Form Organizer Fields Template Override -\" \/>\n<meta property=\"og:description\" content=\"Hello, I&#8217;m having a couple issues with the Community Add On submission form. Specifically the Organizer Fields. One issue, led to another, so let me explain. The first thing I am trying to do is set the required fields for the Submission Form. Following this technique https:\/\/theeventscalendar.com\/knowledgebase\/required-fields-for-events-submission-form\/ I was able to get most of the [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/community-submission-form-organizer-fields-template-override\/\" \/>\n<meta property=\"article:modified_time\" content=\"2015-10-15T14:04:12+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/community-submission-form-organizer-fields-template-override\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/community-submission-form-organizer-fields-template-override\/\",\"name\":\"Community Submission Form Organizer Fields Template Override -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2015-10-14T16:26:52+00:00\",\"dateModified\":\"2015-10-15T14:04:12+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/community-submission-form-organizer-fields-template-override\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/community-submission-form-organizer-fields-template-override\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/community-submission-form-organizer-fields-template-override\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/theeventscalendar.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\/\/theeventscalendar.com\/support\/topics\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Calendar Products\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Community Events\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/community-events\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Community Submission Form Organizer Fields Template Override\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\",\"url\":\"https:\/\/theeventscalendar.com\/support\/\",\"name\":\"\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Community Submission Form Organizer Fields Template Override -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/community-submission-form-organizer-fields-template-override\/","og_locale":"en_US","og_type":"article","og_title":"Community Submission Form Organizer Fields Template Override -","og_description":"Hello, I&#8217;m having a couple issues with the Community Add On submission form. Specifically the Organizer Fields. One issue, led to another, so let me explain. The first thing I am trying to do is set the required fields for the Submission Form. Following this technique https:\/\/theeventscalendar.com\/knowledgebase\/required-fields-for-events-submission-form\/ I was able to get most of the [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/community-submission-form-organizer-fields-template-override\/","article_modified_time":"2015-10-15T14:04:12+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/community-submission-form-organizer-fields-template-override\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/community-submission-form-organizer-fields-template-override\/","name":"Community Submission Form Organizer Fields Template Override -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2015-10-14T16:26:52+00:00","dateModified":"2015-10-15T14:04:12+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/community-submission-form-organizer-fields-template-override\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/community-submission-form-organizer-fields-template-override\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/community-submission-form-organizer-fields-template-override\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/theeventscalendar.com\/support\/"},{"@type":"ListItem","position":2,"name":"Topics","item":"https:\/\/theeventscalendar.com\/support\/topics\/"},{"@type":"ListItem","position":3,"name":"Calendar Products","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/"},{"@type":"ListItem","position":4,"name":"Community Events","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/community-events\/"},{"@type":"ListItem","position":5,"name":"Community Submission Form Organizer Fields Template Override"}]},{"@type":"WebSite","@id":"https:\/\/theeventscalendar.com\/support\/#website","url":"https:\/\/theeventscalendar.com\/support\/","name":"","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1014577","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":2,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1014577\/revisions"}],"predecessor-version":[{"id":1014649,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1014577\/revisions\/1014649"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1014577"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}