[{"id":"13","title":"Custom Fields","contentTitle":"Custom Fields","content":"<p>The\u00a0<strong>custom fields<\/strong>\u00a0are used to receive all the information you need about your customers.<\/p>\r\n<p>They are displayed in the <em>appointment confirmation<\/em> page and in the <em>packages confirmation <\/em>page, before to store the order in the system.<\/p>\r\n<p>The <strong>custom fields<\/strong> can be also used to collect additional details about the subscribed employees. This is helpful for those websites that run a portal of employees. In fact, thanks to these fields it is possible to extend the filters used by the <strong>Employees Filter<\/strong> module and to collect additional data, such as an ID card.<\/p>\r\n<p>The <strong>custom fields<\/strong> can be translated in different languages only from the edit page, by clicking the flags on the top right side.<\/p>"},{"id":"869","title":"Rules","contentTitle":"Rules","content":"<p>Here's the list of all the rules that the custom fields can use.<\/p>\r\n<p><span class=\"field-param\">Nominative<\/span><br \/>This rule is used to collect a nominative (like First Name, Last Name or Full Name). All the\u00a0<strong>nominative<\/strong>\u00a0custom fields will be merged with a space in the middle. The resulting nominative will be assigned to the\u00a0<span style=\"text-decoration: underline;\">purchaser nominative<\/span>\u00a0field of the reservation.<\/p>\r\n<p><span class=\"field-param\">E-Mail<\/span><br \/>This rule is used to collect an e-mail address. Only one field should have this option enabled, otherwise only the last specified e-mail address will be used.\u00a0The resulting e-mail will be assigned to the\u00a0<span style=\"text-decoration: underline;\">purchaser mail<\/span>\u00a0field of the reservation.<\/p>\r\n<p><span class=\"field-param\">Phone Number<\/span><br \/>This rule is used to collect a phone number. Only one field should have this option enabled, otherwise only the last specified phone number will be used.\u00a0The resulting phone number will be assigned to the\u00a0<span style=\"text-decoration: underline;\">purchaser phone<\/span>\u00a0field of the reservation.<\/p>\r\n<p>When this option is enabled, it is possible to specify the default country of your website, so that the phone prefix dropdown (next to the input) could be pre-selected with a default value.<\/p>\r\n<p><span class=\"field-param\">State\/Province<\/span><br \/>This rule is used to collect a state or a province. It is helpful to collect immediately the billing information of the customers.<\/p>\r\n<p><span class=\"field-param\">City<\/span><br \/>This rule is used to collect a city. It is helpful to collect immediately the billing information of the customers.<\/p>\r\n<p><span class=\"field-param\">Address<\/span><br \/>This rule is used to collect an address. It is helpful to collect immediately the billing information of the customers.<\/p>\r\n<p><span class=\"field-param\">ZIP<\/span><br \/>This rule is used to collect a ZIP code. It is helpful to collect immediately the billing information of the customers.<\/p>\r\n<p><span class=\"field-param\">Company Name<\/span><br \/>This rule is used to collect a company name. It is helpful to collect immediately the billing information of the customers.<\/p>\r\n<p><span class=\"field-param\">VAT Number<\/span><br \/>This rule is used to collect a VAT number. It is helpful to collect immediately the billing information of the customers.<\/p>"},{"id":"871","title":"Override Custom Fields","contentTitle":"How to override a custom field","content":"<p>If you are looking for a way to change the HTML of a custom field in the front-end, you should know that the custom fields use specific <strong>layouts<\/strong>.<\/p>\r\n<p>For example, if you need to change the layout of the TEXT input, you have just to follow these steps:<\/p>\r\n<ol>\r\n<li>reach via FTP the\u00a0path<br \/><code>\/wp-content\/plugins\/vikappointments\/site\/layouts\/form\/fields\/text.php<\/code><\/li>\r\n<li>download locally the <strong>text.php\u00a0file<\/strong><\/li>\r\n<li>start editing the file to create your own layout<\/li>\r\n<li>upload the file via FTP onto<br \/><code>\/wp-content\/uploads\/vikappointments\/layouts\/site\/form\/fields\/<\/code><\/li>\r\n<\/ol>"}]