{"id":1759,"date":"2024-11-27T14:57:20","date_gmt":"2024-11-27T14:57:20","guid":{"rendered":"https:\/\/help.xodox.in\/?post_type=docs&#038;p=1759"},"modified":"2024-12-05T14:16:31","modified_gmt":"2024-12-05T14:16:31","password":"","slug":"custom-fields","status":"publish","type":"docs","link":"https:\/\/help.xodox.in\/pt\/docs\/custom-fields\/","title":{"rendered":"Custom Fields"},"content":{"rendered":"<div class=\"entry-content\">\n<p>Custom fields is feature in Xodox which allows you to add field based on your needs. With this ability Xodox can fit easily for your company requirements.<br \/>\nFollow the steps to add new custom field.<\/p>\n<ol>\n<li>Go to <strong>Setup -&gt; Custom Fields<\/strong><\/li>\n<li>Click <strong>New Custom Field<\/strong><\/li>\n<li>Select where this field will belong. Only available the options listed in the dropdown. (if you are selecting <strong>Leads<\/strong> will be shown also as option when converting to client to merge the fields in the client area. Based on other custom field or existing database field)<\/li>\n<li><strong>Name<\/strong> \u2013 Give\u00a0the field name.<\/li>\n<li>Select Type<\/li>\n<li>The <strong>Options field is for select and checkboxes fields only<\/strong>. If your new custom field is <strong>select or checkbox<\/strong> separate the options with coma ex. orange,juice,banana<\/li>\n<li><strong>Order<\/strong> (Default will be 0) \u2013 This is if you have multiple fields for the same feature and you want to reoder.<\/li>\n<li><strong>Disabled<\/strong> \u2013 If you set the field to disabled wont be shown anywhere. If values found they wont be deleted but if you delete the field all values will be deleted.<\/li>\n<li><strong>Required<\/strong> \u2013 set required or not when editing the field where belogs.<\/li>\n<li><strong>Restrict visibility for administrators only<\/strong> \u2013 If you check this option the visibility\/add\/edit to this custom field will be only for administrators.<\/li>\n<li><strong>Visibility<\/strong> \u2013 Also you can control the visibility of this field. Do you want to show on table,pdf,customer portal. Note that the visibility is not the same for each field. <strong>NOTE: If you check visibility to customer portal and the field is not related to the customer profile will be also added in the tables while listing. \u00a0All fields that visibility show on table is checked will be added before the options\u00a0data. If no options in this table will be added at the end.<\/strong><\/li>\n<li><strong>Grid \u2013 <\/strong>Bootstrap column eq col-md-6<\/li>\n<\/ol>\n<p>Click <strong>save<\/strong> and check the field where you have added.<\/p>\n<div class=\"st-alert st-alert-info\">Its not recommended to add more then 10 custom fields for one feature and always limit the number (max 5) of custom fields that are shown in tables. Less is better and faster.<\/div>\n<h4 id=\"custom-fields-in-multiple-languages\">Custom fields in multiple languages<\/h4>\n<p>This is main example for the German language, you can apply to same steps for other languages where you want the custom fields to be translated.<\/p>\n<p>In <strong>application\/language\/german<\/strong> create file <a href=\"https:\/\/help.xodox.in\/pt\/docs\/overwrite-translation-text\/\">custom_lang.php<\/a><\/p>\n<div><\/div>\n<p>Go to <strong>Setup-&gt;Custom fields<\/strong> and in the table there is SLUG column, copy this slug.<\/p>\n<div><\/div>\n<div><\/div>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-large wp-image-1157\" src=\"https:\/\/help.xodox.in\/wp-content\/uploads\/2024\/11\/Custom-Fields-11-27-2024_08_26_PM.png\" alt=\"\" width=\"980\" height=\"270\" \/><\/p>\n<p>In the file custom_lang.php you created in the language folder you are trying translate the custom field add the following code:<\/p>\n<div><\/div>\n<div>\n<pre class=\"lang:default decode:true\">&lt;?php\r\n\r\n$lang['cf_translate_ADD_SLUG_HERE'] = 'My Custom Field in German';<\/pre>\n<p>Eq. if your custom field slug is named\u00a0<b>leads_regions\u00a0<\/b>the lang key should look like this:<\/p>\n<\/div>\n<div>\n<pre class=\"lang:default decode:true\">$lang['cf_translate_leads_regions'] = 'My Custom Field in German';<\/pre>\n<p>Repeat these steps for each custom field if needed.<\/p>\n<\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Custom fields is feature in Xodox which allows you to add field based on your needs. With this ability Xodox can fit easily for your company requirements. Follow the steps to add new custom field. Go to Setup -&gt; Custom Fields Click New Custom Field Select where this field will belong. Only available the options listed in the dropdown. (if you are selecting Leads will be shown also as option when converting to client to merge the fields in the client area. Based on other custom field or existing database field) Name \u2013 Give\u00a0the field name. Select Type The Options field is for select and checkboxes fields only. If your new custom field is select or checkbox separate the options with coma ex. orange,juice,banana Order (Default will be 0) \u2013 This is if you have multiple fields for the same feature and you want to reoder. Disabled \u2013 If you set the field to disabled wont be shown anywhere. If values found they wont be deleted but if you delete the field all values will be deleted. Required \u2013 set required or not when editing the field where belogs. Restrict visibility for administrators only \u2013 If you check this option the visibility\/add\/edit to this custom field will be only for administrators. Visibility \u2013 Also you can control the visibility of this field. Do you want to show on table,pdf,customer portal. Note that the visibility is not the same for each field. NOTE: If you check visibility to customer portal and the field is not related to the customer profile will be also added in the tables while listing. \u00a0All fields that visibility show on table is checked will be added before the options\u00a0data. If no options in this table will be added at the end. Grid \u2013 Bootstrap column eq col-md-6 Click save and check the field where you have added. Its not recommended to add more then 10 custom fields for one feature and always limit the number (max 5) of custom fields that are shown in tables. Less is better and faster. Custom fields in multiple languages This is main example for the German language, you can apply to same steps for other languages where you want the custom fields to be translated. In application\/language\/german create file custom_lang.php Go to Setup-&gt;Custom fields and in the table there is SLUG column, copy this slug. In the file custom_lang.php you created in the language folder you are trying translate the custom field add the following code: &lt;?php $lang[&#8216;cf_translate_ADD_SLUG_HERE&#8217;] = &#8216;My Custom Field in German&#8217;; Eq. if your custom field slug is named\u00a0leads_regions\u00a0the lang key should look like this: $lang[&#8216;cf_translate_leads_regions&#8217;] = &#8216;My Custom Field in German&#8217;; Repeat these steps for each custom field if needed.<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"doc_category":[39],"doc_tag":[],"class_list":["post-1759","docs","type-docs","status-publish","hentry","doc_category-setup-configuration"],"acf":[],"year_month":"2026-04","word_count":472,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"help-xodox","author_nicename":"help-xodox","author_url":"https:\/\/help.xodox.in\/pt\/author\/help-xodox\/"},"doc_category_info":[{"term_name":"Setup &amp; Configuration","term_url":"https:\/\/help.xodox.in\/pt\/docs-category\/setup-configuration\/"}],"doc_tag_info":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Custom Fields - My CMS<\/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:\/\/help.xodox.in\/pt\/docs\/custom-fields\/\" \/>\n<meta property=\"og:locale\" content=\"pt_PT\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Custom Fields - My CMS\" \/>\n<meta property=\"og:description\" content=\"Custom fields is feature in Xodox which allows you to add field based on your needs. With this ability Xodox can fit easily for your company requirements. Follow the steps to add new custom field. Go to Setup -&gt; Custom Fields Click New Custom Field Select where this field will belong. Only available the options listed in the dropdown. (if you are selecting Leads will be shown also as option when converting to client to merge the fields in the client area. Based on other custom field or existing database field) Name \u2013 Give\u00a0the field name. Select Type The Options field is for select and checkboxes fields only. If your new custom field is select or checkbox separate the options with coma ex. orange,juice,banana Order (Default will be 0) \u2013 This is if you have multiple fields for the same feature and you want to reoder. Disabled \u2013 If you set the field to disabled wont be shown anywhere. If values found they wont be deleted but if you delete the field all values will be deleted. Required \u2013 set required or not when editing the field where belogs. Restrict visibility for administrators only \u2013 If you check this option the visibility\/add\/edit to this custom field will be only for administrators. Visibility \u2013 Also you can control the visibility of this field. Do you want to show on table,pdf,customer portal. Note that the visibility is not the same for each field. NOTE: If you check visibility to customer portal and the field is not related to the customer profile will be also added in the tables while listing. \u00a0All fields that visibility show on table is checked will be added before the options\u00a0data. If no options in this table will be added at the end. Grid \u2013 Bootstrap column eq col-md-6 Click save and check the field where you have added. Its not recommended to add more then 10 custom fields for one feature and always limit the number (max 5) of custom fields that are shown in tables. Less is better and faster. Custom fields in multiple languages This is main example for the German language, you can apply to same steps for other languages where you want the custom fields to be translated. In application\/language\/german create file custom_lang.php Go to Setup-&gt;Custom fields and in the table there is SLUG column, copy this slug. In the file custom_lang.php you created in the language folder you are trying translate the custom field add the following code: &lt;?php $lang[&#039;cf_translate_ADD_SLUG_HERE&#039;] = &#039;My Custom Field in German&#039;; Eq. if your custom field slug is named\u00a0leads_regions\u00a0the lang key should look like this: $lang[&#039;cf_translate_leads_regions&#039;] = &#039;My Custom Field in German&#039;; Repeat these steps for each custom field if needed.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/help.xodox.in\/pt\/docs\/custom-fields\/\" \/>\n<meta property=\"og:site_name\" content=\"My CMS\" \/>\n<meta property=\"article:modified_time\" content=\"2024-12-05T14:16:31+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Tempo estimado de leitura\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/help.xodox.in\/docs\/custom-fields\/\",\"url\":\"https:\/\/help.xodox.in\/docs\/custom-fields\/\",\"name\":\"Custom Fields - My CMS\",\"isPartOf\":{\"@id\":\"https:\/\/help.xodox.in\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/help.xodox.in\/docs\/custom-fields\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/help.xodox.in\/docs\/custom-fields\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/help.xodox.in\/wp-content\/uploads\/2024\/11\/Custom-Fields-11-27-2024_08_26_PM.png\",\"datePublished\":\"2024-11-27T14:57:20+00:00\",\"dateModified\":\"2024-12-05T14:16:31+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/help.xodox.in\/docs\/custom-fields\/#breadcrumb\"},\"inLanguage\":\"pt-PT\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/help.xodox.in\/docs\/custom-fields\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-PT\",\"@id\":\"https:\/\/help.xodox.in\/docs\/custom-fields\/#primaryimage\",\"url\":\"https:\/\/help.xodox.in\/wp-content\/uploads\/2024\/11\/Custom-Fields-11-27-2024_08_26_PM.png\",\"contentUrl\":\"https:\/\/help.xodox.in\/wp-content\/uploads\/2024\/11\/Custom-Fields-11-27-2024_08_26_PM.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/help.xodox.in\/docs\/custom-fields\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/help.xodox.in\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Custom Fields\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/help.xodox.in\/#website\",\"url\":\"https:\/\/help.xodox.in\/\",\"name\":\"My CMS\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/help.xodox.in\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/help.xodox.in\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pt-PT\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/help.xodox.in\/#organization\",\"name\":\"My CMS\",\"url\":\"https:\/\/help.xodox.in\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-PT\",\"@id\":\"https:\/\/help.xodox.in\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/help.xodox.in\/wp-content\/uploads\/2024\/10\/Xodox-Logo-01-2.png\",\"contentUrl\":\"https:\/\/help.xodox.in\/wp-content\/uploads\/2024\/10\/Xodox-Logo-01-2.png\",\"width\":573,\"height\":192,\"caption\":\"My CMS\"},\"image\":{\"@id\":\"https:\/\/help.xodox.in\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Custom Fields - My CMS","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:\/\/help.xodox.in\/pt\/docs\/custom-fields\/","og_locale":"pt_PT","og_type":"article","og_title":"Custom Fields - My CMS","og_description":"Custom fields is feature in Xodox which allows you to add field based on your needs. With this ability Xodox can fit easily for your company requirements. Follow the steps to add new custom field. Go to Setup -&gt; Custom Fields Click New Custom Field Select where this field will belong. Only available the options listed in the dropdown. (if you are selecting Leads will be shown also as option when converting to client to merge the fields in the client area. Based on other custom field or existing database field) Name \u2013 Give\u00a0the field name. Select Type The Options field is for select and checkboxes fields only. If your new custom field is select or checkbox separate the options with coma ex. orange,juice,banana Order (Default will be 0) \u2013 This is if you have multiple fields for the same feature and you want to reoder. Disabled \u2013 If you set the field to disabled wont be shown anywhere. If values found they wont be deleted but if you delete the field all values will be deleted. Required \u2013 set required or not when editing the field where belogs. Restrict visibility for administrators only \u2013 If you check this option the visibility\/add\/edit to this custom field will be only for administrators. Visibility \u2013 Also you can control the visibility of this field. Do you want to show on table,pdf,customer portal. Note that the visibility is not the same for each field. NOTE: If you check visibility to customer portal and the field is not related to the customer profile will be also added in the tables while listing. \u00a0All fields that visibility show on table is checked will be added before the options\u00a0data. If no options in this table will be added at the end. Grid \u2013 Bootstrap column eq col-md-6 Click save and check the field where you have added. Its not recommended to add more then 10 custom fields for one feature and always limit the number (max 5) of custom fields that are shown in tables. Less is better and faster. Custom fields in multiple languages This is main example for the German language, you can apply to same steps for other languages where you want the custom fields to be translated. In application\/language\/german create file custom_lang.php Go to Setup-&gt;Custom fields and in the table there is SLUG column, copy this slug. In the file custom_lang.php you created in the language folder you are trying translate the custom field add the following code: &lt;?php $lang['cf_translate_ADD_SLUG_HERE'] = 'My Custom Field in German'; Eq. if your custom field slug is named\u00a0leads_regions\u00a0the lang key should look like this: $lang['cf_translate_leads_regions'] = 'My Custom Field in German'; Repeat these steps for each custom field if needed.","og_url":"https:\/\/help.xodox.in\/pt\/docs\/custom-fields\/","og_site_name":"My CMS","article_modified_time":"2024-12-05T14:16:31+00:00","twitter_card":"summary_large_image","twitter_misc":{"Tempo estimado de leitura":"2 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/help.xodox.in\/docs\/custom-fields\/","url":"https:\/\/help.xodox.in\/docs\/custom-fields\/","name":"Custom Fields - My CMS","isPartOf":{"@id":"https:\/\/help.xodox.in\/#website"},"primaryImageOfPage":{"@id":"https:\/\/help.xodox.in\/docs\/custom-fields\/#primaryimage"},"image":{"@id":"https:\/\/help.xodox.in\/docs\/custom-fields\/#primaryimage"},"thumbnailUrl":"https:\/\/help.xodox.in\/wp-content\/uploads\/2024\/11\/Custom-Fields-11-27-2024_08_26_PM.png","datePublished":"2024-11-27T14:57:20+00:00","dateModified":"2024-12-05T14:16:31+00:00","breadcrumb":{"@id":"https:\/\/help.xodox.in\/docs\/custom-fields\/#breadcrumb"},"inLanguage":"pt-PT","potentialAction":[{"@type":"ReadAction","target":["https:\/\/help.xodox.in\/docs\/custom-fields\/"]}]},{"@type":"ImageObject","inLanguage":"pt-PT","@id":"https:\/\/help.xodox.in\/docs\/custom-fields\/#primaryimage","url":"https:\/\/help.xodox.in\/wp-content\/uploads\/2024\/11\/Custom-Fields-11-27-2024_08_26_PM.png","contentUrl":"https:\/\/help.xodox.in\/wp-content\/uploads\/2024\/11\/Custom-Fields-11-27-2024_08_26_PM.png"},{"@type":"BreadcrumbList","@id":"https:\/\/help.xodox.in\/docs\/custom-fields\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/help.xodox.in\/"},{"@type":"ListItem","position":2,"name":"Custom Fields"}]},{"@type":"WebSite","@id":"https:\/\/help.xodox.in\/#website","url":"https:\/\/help.xodox.in\/","name":"My CMS","description":"","publisher":{"@id":"https:\/\/help.xodox.in\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/help.xodox.in\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pt-PT"},{"@type":"Organization","@id":"https:\/\/help.xodox.in\/#organization","name":"My CMS","url":"https:\/\/help.xodox.in\/","logo":{"@type":"ImageObject","inLanguage":"pt-PT","@id":"https:\/\/help.xodox.in\/#\/schema\/logo\/image\/","url":"https:\/\/help.xodox.in\/wp-content\/uploads\/2024\/10\/Xodox-Logo-01-2.png","contentUrl":"https:\/\/help.xodox.in\/wp-content\/uploads\/2024\/10\/Xodox-Logo-01-2.png","width":573,"height":192,"caption":"My CMS"},"image":{"@id":"https:\/\/help.xodox.in\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/help.xodox.in\/pt\/wp-json\/wp\/v2\/docs\/1759","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/help.xodox.in\/pt\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/help.xodox.in\/pt\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/help.xodox.in\/pt\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/help.xodox.in\/pt\/wp-json\/wp\/v2\/comments?post=1759"}],"version-history":[{"count":0,"href":"https:\/\/help.xodox.in\/pt\/wp-json\/wp\/v2\/docs\/1759\/revisions"}],"wp:attachment":[{"href":"https:\/\/help.xodox.in\/pt\/wp-json\/wp\/v2\/media?parent=1759"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/help.xodox.in\/pt\/wp-json\/wp\/v2\/doc_category?post=1759"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/help.xodox.in\/pt\/wp-json\/wp\/v2\/doc_tag?post=1759"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}