{"id":1323167,"date":"2017-07-19T03:29:42","date_gmt":"2017-07-19T10:29:42","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/custom-field-values-not-saved-on-front-end-submission\/"},"modified":"2017-07-19T03:29:42","modified_gmt":"2017-07-19T10:29:42","slug":"custom-field-values-not-saved-on-front-end-submission","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/custom-field-values-not-saved-on-front-end-submission\/","title":{"rendered":"Custom field values not saved on Front-end submission"},"content":{"rendered":"<p>Hi there, <\/p>\n<p>I recently purchased Events Calendar Pro to let my client&#8217;s employees reserver certain company items (cars, laptops, all that). To make that work, I&#8217;ve enabled front-end submission of the post type created by Events Calendar Pro by using WP User Front-End Pro. After employees fill in the form, the post is immediately published and should appear in the Calendar generated by your plugin. <\/p>\n<p>But. <\/p>\n<p>The date\/time does not show on the calendar <em>before<\/em> I manually save the (just created) post in the back-end. This is a huge bummer&#8230; I feel it has something to do with the way the custom fields are stored in the database. Maybe they&#8217;re not stored in the database until the post is <em>&#8220;truly&#8221;<\/em> published or something. <\/p>\n<p>Can you help me out, so that the post (including date\/time) gets published right away?<\/p>\n<p>Thanks a bunch!<\/p>\n","protected":false},"template":"","class_list":["post-1323167","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>Custom field values not saved on Front-end submission -<\/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\/custom-field-values-not-saved-on-front-end-submission\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Custom field values not saved on Front-end submission -\" \/>\n<meta property=\"og:description\" content=\"Hi there, I recently purchased Events Calendar Pro to let my client&#8217;s employees reserver certain company items (cars, laptops, all that). To make that work, I&#8217;ve enabled front-end submission of the post type created by Events Calendar Pro by using WP User Front-End Pro. After employees fill in the form, the post is immediately published [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/custom-field-values-not-saved-on-front-end-submission\/\" \/>\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\/custom-field-values-not-saved-on-front-end-submission\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/custom-field-values-not-saved-on-front-end-submission\/\",\"name\":\"Custom field values not saved on Front-end submission -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2017-07-19T10:29:42+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/custom-field-values-not-saved-on-front-end-submission\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/custom-field-values-not-saved-on-front-end-submission\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/custom-field-values-not-saved-on-front-end-submission\/#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\":\"Events Calendar PRO\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/events-calendar-pro\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Custom field values not saved on Front-end submission\"}]},{\"@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":"Custom field values not saved on Front-end submission -","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\/custom-field-values-not-saved-on-front-end-submission\/","og_locale":"en_US","og_type":"article","og_title":"Custom field values not saved on Front-end submission -","og_description":"Hi there, I recently purchased Events Calendar Pro to let my client&#8217;s employees reserver certain company items (cars, laptops, all that). To make that work, I&#8217;ve enabled front-end submission of the post type created by Events Calendar Pro by using WP User Front-End Pro. After employees fill in the form, the post is immediately published [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/custom-field-values-not-saved-on-front-end-submission\/","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\/custom-field-values-not-saved-on-front-end-submission\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/custom-field-values-not-saved-on-front-end-submission\/","name":"Custom field values not saved on Front-end submission -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2017-07-19T10:29:42+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/custom-field-values-not-saved-on-front-end-submission\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/custom-field-values-not-saved-on-front-end-submission\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/custom-field-values-not-saved-on-front-end-submission\/#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":"Events Calendar PRO","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/events-calendar-pro\/"},{"@type":"ListItem","position":5,"name":"Custom field values not saved on Front-end submission"}]},{"@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\/1323167","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":0,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1323167\/revisions"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1323167"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}