{"id":22559,"date":"2016-01-04T11:12:51","date_gmt":"2016-01-04T10:12:51","guid":{"rendered":"http:\/\/help.qualiware.it\/qw-help\/?p=22559"},"modified":"2016-01-28T12:58:27","modified_gmt":"2016-01-28T11:58:27","slug":"fd-time","status":"publish","type":"post","link":"https:\/\/help.qualiware.it\/qw-help\/fd-time\/?lang=en","title":{"rendered":"TIME OBJECT"},"content":{"rendered":"<div class=\"msgBody\"><\/div>\n<h4 id=\"ipt_kb_toc_23167_1\" align=\"left\"><a name=\"progettazione_form_proprieta\"><\/a><span lang=\"en\">Description<\/span><\/h4>\n<p lang=\"en\">Since the version 2011.00a is available the inserting time&#8217;format HH:MM o HH:MM:SS.<\/p>\n<div class=\"msgBody\">\n<h4 id=\"ipt_kb_toc_23167_1\" align=\"left\"><a name=\"progettazione_form_proprieta\"><\/a><span lang=\"en\">Specific properties<\/span><\/h4>\n<p>In addition to <a href=\"http:\/\/help.qualiware.it\/qw-help\/fd-common-properties\/?lang=en\">common properties<\/a> contains the following properties:<\/p>\n<ul>\n<li><strong><span style=\"color: #993300;\">ShowSeconds<\/span>: <\/strong>It determines whether the input format must be HH: MM: SS (&#8220;<em>True&#8221;<\/em>) or HH: MM (&#8220;<em>False<\/em>&#8220;).<br \/>\nIf the type of the linked database field is string (CUSTOMXX), the data will be stored as a string in the format HHMM or HHMMSS, if it&#8217;s numeric (NUMBERXX) will store the number of hours (and fractions of hours) corresponding (eg. 7:15 will be stored as 7.25). If you retrieves the field value in an event using the &#8220;<em>Value<\/em>&#8221; property, you should note that the return value is different between event client\/server and web:<br \/>\n-in the case of the event the client \/ server returns a string containing the entered value (hours, minutes and possibly seconds) without separators.<br \/>\n-in the case of the event web returns a numerical value to the transformation of the value entered in minutes.<\/li>\n<\/ul>\n<h4 id=\"ipt_kb_toc_23167_2\" align=\"left\"><a name=\"progettazione_form_proprieta\"><\/a><span lang=\"en\">Specific events<\/span><\/h4>\n<ul>\n<li><strong><span style=\"color: #800000;\">ChangeEvent<\/span><br \/>\n<\/strong><span lang=\"en\">event activated when change the value of the field. <\/span><span lang=\"en\">Can be used to<\/span><br \/>\n<span lang=\"en\">\u2013 assign other fields based on the value inserted into the field<\/span><br \/>\n<span lang=\"en\">\u2013 check the validity of the inserted value giving a message to the user.<br \/>\n<\/span><\/li>\n<\/ul>\n<p><span lang=\"en\">For more information about Events click\u00a0<a href=\"http:\/\/help.qualiware.it\/qw-help\/events\/?lang=en\">here<\/a><\/span>.<\/p>\n<\/div>\n<h4 id=\"ipt_kb_toc_23167_3\" align=\"left\"><\/h4>\n<h4 id=\"ipt_kb_toc_23167_3\" align=\"left\"><a name=\"progettazione_form_proprieta\"><\/a><span lang=\"en\">Properties that can be used by code<\/span><\/h4>\n<h5><a name=\"progettazione_form_proprieta\"><\/a>C\/S\u00a0<span lang=\"en\">Properties<\/span><\/h5>\n<ul>\n<li><span lang=\"en\"><strong><span style=\"color: #993300;\">Enabled:<\/span><\/strong> <\/span><span lang=\"en\">If is <em>False<\/em>, <\/span><span lang=\"en\">the field is no editable (the description of the name becomes gray).<\/span><strong>\u00a0<\/strong><\/li>\n<li><span lang=\"en\"><strong><span style=\"color: #993300;\">Value<\/span>:<\/strong> <\/span><span lang=\"en\">If is\u00a0<\/span><span lang=\"en\"><em>True,<\/em> <\/span><span lang=\"en\">returns the text contained in the object.<\/span><\/li>\n<li><span lang=\"en\"><strong><span style=\"color: #993300;\">Visible<\/span>:<\/strong>\u00a0if is <em>True<\/em>, the field is visible on the form, otherwise assign it with <em>False<\/em><\/span>.<\/li>\n<\/ul>\n<h5><a name=\"progettazione_form_proprieta\"><\/a><span lang=\"en\">Web properties<\/span><\/h5>\n<ul>\n<li><span lang=\"en\"><strong><span style=\"color: #993300;\">Enabled<\/span>:<\/strong> <\/span><span lang=\"en\">If is <em>False<\/em>, <\/span><span lang=\"en\">the field is no editable (the description of the name becomes gray).<\/span><strong>\u00a0<\/strong><\/li>\n<li><span lang=\"en\"><strong><span style=\"color: #993300;\">Value<\/span>:<\/strong> <\/span><span lang=\"en\">If is\u00a0<\/span><span lang=\"en\"><em>True,<\/em> <\/span><span lang=\"en\">returns the text contained in the object.<\/span><\/li>\n<li><span lang=\"en\"><strong><span style=\"color: #993300;\">Visible<\/span>:<\/strong>\u00a0if is <em>True<\/em>, the field is visible on the form, otherwise assign it with <em>False.<\/em><\/span><\/li>\n<\/ul>\n<h4 id=\"ipt_kb_toc_23167_4\" align=\"left\"><a name=\"progettazione_form_proprieta\"><\/a><span lang=\"en\">Methods that can be used by code<\/span><\/h4>\n<p lang=\"en\">None<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Description Since the version 2011.00a is available the inserting time&#8217;format HH:MM o HH:MM:SS. Specific properties In addition to common properties contains the following properties: ShowSeconds: It determines whether the input format must be HH: MM: SS (&#8220;True&#8221;) or HH: MM (&#8220;False&#8220;). If the type of the linked database field is string (CUSTOMXX), the data will&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"ngg_post_thumbnail":0,"footnotes":""},"categories":[56],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/posts\/22559"}],"collection":[{"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/comments?post=22559"}],"version-history":[{"count":0,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/posts\/22559\/revisions"}],"wp:attachment":[{"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/media?parent=22559"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/categories?post=22559"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/tags?post=22559"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}