{"id":1179989,"date":"2016-10-20T10:43:48","date_gmt":"2016-10-20T17:43:48","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/community-event-submit-form-rules-when-event-cost-change-to-free-entry\/"},"modified":"2016-10-20T10:46:46","modified_gmt":"2016-10-20T17:46:46","slug":"community-event-submit-form-rules-when-event-cost-change-to-free-entry","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/community-event-submit-form-rules-when-event-cost-change-to-free-entry\/","title":{"rendered":"Community event submit form: Rules when event cost change to &quot;Free entry&quot;"},"content":{"rendered":"<p>Hi,<\/p>\n<p>some days ago we realized some weird behavior of the event cost field.<br \/>\nWhen submitting an event the following strings in the event cost field lead to different results:<\/p>\n<p>26 (abc) def             -&gt; 26<br \/>\n26 abc                        -&gt; 26<br \/>\n26 (abc)                     -&gt; 26<br \/>\n26 \/                            -&gt; 26<br \/>\n19,50\t\t\t   -&gt; 19,50<br \/>\n19.50                          -&gt; 19.50<br \/>\n26,-\t\t\t\t   -&gt; 26,<\/p>\n<p>=&gt; Fine (more or less&#8230;)<\/p>\n<p>26,- 28,- 30,- (abc)  -&gt; Eintritt frei (Free entry)<br \/>\n26,-\/28,-\/30,-\t         -&gt; Eintritt frei (Free entry)<br \/>\n=&gt; Doesn&#8217;t make sense <\/p>\n<p>We couldn&#8217;t find out how the rule works that changes the text.<br \/>\nIn the docs it states, when &#8220;0&#8221; (zero) is submitted it will change to &#8220;Free entry&#8221;.<\/p>\n<p>For us this is a big issue, because in the last two examples a <strong>significant price<\/strong> of the ticket leads to a <strong>free ticket<\/strong>, which creates trouble on the organizer side&#8230;<\/p>\n<p>Can you bring light to the dark?            <\/p>\n<p>Best regards,<br \/>\nOliver<\/p>\n","protected":false},"template":"","class_list":["post-1179989","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 event submit form: Rules when event cost change to &quot;Free entry&quot; -<\/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-event-submit-form-rules-when-event-cost-change-to-free-entry\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Community event submit form: Rules when event cost change to &quot;Free entry&quot; -\" \/>\n<meta property=\"og:description\" content=\"Hi, some days ago we realized some weird behavior of the event cost field. When submitting an event the following strings in the event cost field lead to different results: 26 (abc) def -&gt; 26 26 abc -&gt; 26 26 (abc) -&gt; 26 26 \/ -&gt; 26 19,50 -&gt; 19,50 19.50 -&gt; 19.50 26,- -&gt; [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/community-event-submit-form-rules-when-event-cost-change-to-free-entry\/\" \/>\n<meta property=\"article:modified_time\" content=\"2016-10-20T17:46:46+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\/community-event-submit-form-rules-when-event-cost-change-to-free-entry\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/community-event-submit-form-rules-when-event-cost-change-to-free-entry\/\",\"name\":\"Community event submit form: Rules when event cost change to &quot;Free entry&quot; -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2016-10-20T17:43:48+00:00\",\"dateModified\":\"2016-10-20T17:46:46+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/community-event-submit-form-rules-when-event-cost-change-to-free-entry\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/community-event-submit-form-rules-when-event-cost-change-to-free-entry\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/community-event-submit-form-rules-when-event-cost-change-to-free-entry\/#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 event submit form: Rules when event cost change to &quot;Free entry&quot;\"}]},{\"@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 event submit form: Rules when event cost change to &quot;Free entry&quot; -","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-event-submit-form-rules-when-event-cost-change-to-free-entry\/","og_locale":"en_US","og_type":"article","og_title":"Community event submit form: Rules when event cost change to &quot;Free entry&quot; -","og_description":"Hi, some days ago we realized some weird behavior of the event cost field. When submitting an event the following strings in the event cost field lead to different results: 26 (abc) def -&gt; 26 26 abc -&gt; 26 26 (abc) -&gt; 26 26 \/ -&gt; 26 19,50 -&gt; 19,50 19.50 -&gt; 19.50 26,- -&gt; [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/community-event-submit-form-rules-when-event-cost-change-to-free-entry\/","article_modified_time":"2016-10-20T17:46:46+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\/community-event-submit-form-rules-when-event-cost-change-to-free-entry\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/community-event-submit-form-rules-when-event-cost-change-to-free-entry\/","name":"Community event submit form: Rules when event cost change to &quot;Free entry&quot; -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2016-10-20T17:43:48+00:00","dateModified":"2016-10-20T17:46:46+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/community-event-submit-form-rules-when-event-cost-change-to-free-entry\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/community-event-submit-form-rules-when-event-cost-change-to-free-entry\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/community-event-submit-form-rules-when-event-cost-change-to-free-entry\/#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 event submit form: Rules when event cost change to &quot;Free entry&quot;"}]},{"@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\/1179989","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\/1179989\/revisions"}],"predecessor-version":[{"id":1179993,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1179989\/revisions\/1179993"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1179989"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}