{"id":1447539,"date":"2018-02-08T05:57:31","date_gmt":"2018-02-08T13:57:31","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/form-data-not-retained-upon-submit-if-required-field-is-empty\/"},"modified":"2018-02-08T06:00:16","modified_gmt":"2018-02-08T14:00:16","slug":"form-data-not-retained-upon-submit-if-required-field-is-empty","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/form-data-not-retained-upon-submit-if-required-field-is-empty\/","title":{"rendered":"Form data not retained upon submit if required field is empty"},"content":{"rendered":"<p>I have the \/events\/community\/add page set up and ready to go for my new website, but in testing I am finding that if I leave a required field empty (such as Event Title or Event Description) and hit submit, the form resets and the &#8220;Event Time &amp; Date&#8221;, &#8220;Event Image&#8221;  and &#8220;Event Categories&#8221; fields do not retain the information that was entered.  (&#8220;Venue Details&#8221;, &#8220;Organizer Details&#8221;, &#8220;Event Website&#8221; and &#8220;Event Cost&#8221; do keep their data.)<\/p>\n<p>Particularly since the datepickers are reset, I&#8217;d like to find a way to prevent this from happening.  Else we will end up with a lot of events submitted with today&#8217;s date instead of the actual date.<\/p>\n<p>Is there something that I can do in my configuration to avoid this?  I would consider changing &#8220;Event Description&#8221; to make it not required, as that would be an easy answer and I think it&#8217;s more likely that field will be left empty as opposed to the Event Title, but can&#8217;t seem to find this as an option in the admin.<\/p>\n<p>EDIT: I am making an edit of this submission just to make a minor correction, and when I clicked Edit, the dropdown menu to select the support channel, the Site&#8217;s URL, and the System Information field were cleared out and I had to enter this information again.  Not exactly the same issue, but essentially the same result as the issue I&#8217;m seeking support for.<\/p>\n","protected":false},"template":"","class_list":["post-1447539","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>Form data not retained upon submit if required field is empty -<\/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\/form-data-not-retained-upon-submit-if-required-field-is-empty\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Form data not retained upon submit if required field is empty -\" \/>\n<meta property=\"og:description\" content=\"I have the \/events\/community\/add page set up and ready to go for my new website, but in testing I am finding that if I leave a required field empty (such as Event Title or Event Description) and hit submit, the form resets and the &#8220;Event Time &amp; Date&#8221;, &#8220;Event Image&#8221; and &#8220;Event Categories&#8221; fields do [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/form-data-not-retained-upon-submit-if-required-field-is-empty\/\" \/>\n<meta property=\"article:modified_time\" content=\"2018-02-08T14:00:16+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=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/form-data-not-retained-upon-submit-if-required-field-is-empty\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/form-data-not-retained-upon-submit-if-required-field-is-empty\/\",\"name\":\"Form data not retained upon submit if required field is empty -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2018-02-08T13:57:31+00:00\",\"dateModified\":\"2018-02-08T14:00:16+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/form-data-not-retained-upon-submit-if-required-field-is-empty\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/form-data-not-retained-upon-submit-if-required-field-is-empty\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/form-data-not-retained-upon-submit-if-required-field-is-empty\/#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\":\"Form data not retained upon submit if required field is empty\"}]},{\"@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":"Form data not retained upon submit if required field is empty -","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\/form-data-not-retained-upon-submit-if-required-field-is-empty\/","og_locale":"en_US","og_type":"article","og_title":"Form data not retained upon submit if required field is empty -","og_description":"I have the \/events\/community\/add page set up and ready to go for my new website, but in testing I am finding that if I leave a required field empty (such as Event Title or Event Description) and hit submit, the form resets and the &#8220;Event Time &amp; Date&#8221;, &#8220;Event Image&#8221; and &#8220;Event Categories&#8221; fields do [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/form-data-not-retained-upon-submit-if-required-field-is-empty\/","article_modified_time":"2018-02-08T14:00:16+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/form-data-not-retained-upon-submit-if-required-field-is-empty\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/form-data-not-retained-upon-submit-if-required-field-is-empty\/","name":"Form data not retained upon submit if required field is empty -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2018-02-08T13:57:31+00:00","dateModified":"2018-02-08T14:00:16+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/form-data-not-retained-upon-submit-if-required-field-is-empty\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/form-data-not-retained-upon-submit-if-required-field-is-empty\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/form-data-not-retained-upon-submit-if-required-field-is-empty\/#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":"Form data not retained upon submit if required field is empty"}]},{"@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\/1447539","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":1,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1447539\/revisions"}],"predecessor-version":[{"id":1447540,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1447539\/revisions\/1447540"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1447539"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}