{"id":22579,"date":"2016-01-04T12:40:55","date_gmt":"2016-01-04T11:40:55","guid":{"rendered":"http:\/\/help.qualiware.it\/qw-help\/?p=22579"},"modified":"2016-01-27T12:53:39","modified_gmt":"2016-01-27T11:53:39","slug":"fd-masked-text-field","status":"publish","type":"post","link":"https:\/\/help.qualiware.it\/qw-help\/fd-masked-text-field\/?lang=en","title":{"rendered":"MASKED TEXT FIELD"},"content":{"rendered":"<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\">This control has been available since <span style=\"color: #993300;\"><strong>version 2011.00-a<\/strong><\/span>.<br \/>\nIt was designed as entry field bound to a text format (specified in the property &#8220;Mask&#8221;).<\/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><span style=\"color: #993300;\"><strong>Mask:\u00a0<\/strong><span style=\"color: #333333;\">using the following character you can determine the type of mask to be included on the form:<br \/>\n<b>X<\/b>:It indicates that in this location can be entered any character<br \/>\n<b>9<\/b>:It indicates that in this location can be entered only a number<br \/>\n<b>A<\/b>:It indicates that in this location can be entered only a letter<br \/>\n<b>N<\/b>:It indicates that in this location can be entered only a letter or a number<br \/>\n<\/span><\/span><\/li>\n<\/ul>\n<p>NOTE: Any other characters entered in the format will be inserted in the field and will not be editable by the user.<\/p>\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.<\/span><\/li>\n<\/ul>\n<p><span lang=\"en\">For more information read <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\"><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 This control has been available since version 2011.00-a. It was designed as entry field bound to a text format (specified in the property &#8220;Mask&#8221;). Specific properties In addition to common properties contains the following properties: Mask:\u00a0using the following character you can determine the type of mask to be included on the form: X:It indicates&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\/22579"}],"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=22579"}],"version-history":[{"count":0,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/posts\/22579\/revisions"}],"wp:attachment":[{"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/media?parent=22579"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/categories?post=22579"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/tags?post=22579"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}