{"id":15888,"date":"2024-04-03T08:35:25","date_gmt":"2024-04-03T08:35:25","guid":{"rendered":"https:\/\/docs.daftra.com\/user_manual\/%d8%a7%d9%84%d8%ad%d9%82%d9%88%d9%84-%d8%a7%d9%84%d8%a5%d8%b6%d8%a7%d9%81%d9%8a%d8%a9-%d9%84%d8%a3%d9%86%d9%88%d8%a7%d8%b9-%d8%a7%d9%84%d8%b7%d9%84%d8%a8%d8%a7%d8%aa\/"},"modified":"2025-02-09T10:44:01","modified_gmt":"2025-02-09T10:44:01","slug":"custom-fields-for-requests-types","status":"publish","type":"user_manual","link":"https:\/\/docs.daftra.com\/en\/user_manual\/custom-fields-for-requests-types\/","title":{"rendered":"Custom Fields for Requests Types"},"content":{"rendered":"<section class=\"wpb-content-wrapper\"><p>[vc_row][vc_column][vc_column_text css=&#8221;.vc_custom_1739097698398{margin-left: 200px !important;}&#8221;]<\/p>\n<p style=\"text-align: left;\" data-sider-select-id=\"486495e5-b5f8-4aa6-8a80-c60fdc32cbc5\">The custom fields for request types allow you to add different custom fields for the data you want to include in the request file when adding a request of this type. You will find in the system various fields, varied in their use, to serve all the purposes of your business. We will explore the types of these fields and how to customize them in this guide.<\/p>\n<p>[\/vc_column_text][vc_custom_heading text=&#8221;How to Add Custom Fields for Order Types&#8221; font_container=&#8221;tag:h2|font_size:28|text_align:center|color:%2304306b|line_height:2&#8243; use_theme_fonts=&#8221;yes&#8221; css=&#8221;.vc_custom_1713269202309{margin-left: 200px !important;background-color: #f6f9fc !important;border-radius: 4px !important;}&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text css=&#8221;.vc_custom_1739097815325{margin-left: 200px !important;}&#8221;]<\/p>\n<div class=\"post-content-body-container\">\n<article class=\"post-content-body\">\n<section class=\"wpb-content-wrapper\">\n<div class=\"vc_row wpb_row vc_row-fluid\">\n<div class=\"wpb_column vc_column_container vc_col-sm-12\">\n<div class=\"vc_column-inner\">\n<div class=\"wpb_wrapper\">\n<div class=\"wpb_text_column wpb_content_element vc_custom_1711448354587\">\n<div class=\"wpb_wrapper\">\n<p style=\"text-align: left;\" data-sider-select-id=\"548d8102-3836-44de-8bf8-ae764ef4e1bd\">Here is a part of the virtual screen for a request belonging to one of the requests types, which you can suffice with if you do not feel the need to create a new field.<\/p>\n<p><a href=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/iouyhg.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-15921 size-full\" src=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/iouyhg.png\" alt=\"\" width=\"1366\" height=\"596\" srcset=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/iouyhg.png 1366w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/iouyhg-300x131.png 300w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/iouyhg-1024x447.png 1024w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/iouyhg-768x335.png 768w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/a><\/p>\n<p style=\"text-align: left;\">\u00a0If you want to add a field to one of the requests types, you can go to the &#8220;<strong>Settings<\/strong>&#8221; dropdown menu under &#8220;<strong>Requests<\/strong>&#8221; in the main menu. Then, choose the request type to which you want to add a field, and click on &#8220;<strong>Custom Fields<\/strong>.&#8221;<\/p>\n<p style=\"text-align: left;\"><strong>Note<\/strong>: These fields are added to requests of this specific type only, and separate custom fields are available for each request type.<\/p>\n<\/div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-15929 size-full alignnone\" src=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/nkjl-1.png\" alt=\"\" width=\"1366\" height=\"596\" srcset=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/nkjl-1.png 1366w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/nkjl-1-300x131.png 300w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/nkjl-1-1024x447.png 1024w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/nkjl-1-768x335.png 768w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"vc_row wpb_row vc_row-fluid\">\n<div class=\"wpb_column vc_column_container vc_col-sm-12\">\n<div class=\"vc_column-inner\">\n<div class=\"wpb_wrapper\">\n<div class=\"wpb_text_column wpb_content_element vc_custom_1711448354587\">\n<div class=\"wpb_wrapper\">\n<p>You will see a list of available field types that can be added. All you need to do is drag and drop them and adjust their properties.<\/p>\n<p><a href=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/htgrfed.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-15936 size-full\" src=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/htgrfed.png\" alt=\"\" width=\"1366\" height=\"597\" srcset=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/htgrfed.png 1366w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/htgrfed-300x131.png 300w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/htgrfed-1024x448.png 1024w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/htgrfed-768x336.png 768w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/a><\/p>\n<p>The field key should be unique; it&#8217;s not allowed to repeat the same key for more than one field. Otherwise, you&#8217;ll see an error message:<\/p>\n<p>&#8220;(Field Name) Duplicate Value.&#8221;<\/p>\n<p><a href=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/pokjn-.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-15940 size-full\" src=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/pokjn-.png\" alt=\"\" width=\"1366\" height=\"597\" srcset=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/pokjn-.png 1366w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/pokjn--300x131.png 300w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/pokjn--1024x448.png 1024w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/pokjn--768x336.png 768w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/a><\/p>\n<p>After saving, the custom fields will appear in the file of any request belonging to this type.<\/p>\n<p><a href=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/gfhjk.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-15956 size-full\" src=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/gfhjk.png\" alt=\"\" width=\"1366\" height=\"547\" srcset=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/gfhjk.png 1366w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/gfhjk-300x120.png 300w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/gfhjk-1024x410.png 1024w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/gfhjk-768x308.png 768w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>In addition to the properties of the previous fields, there are dynamic fields related to dropdown lists, which are linked to the database.<\/p>\n<p>These fields automatically display choices for the employee to select from when clicking on the dropdown list of the field, without needing you to manually input these choices when creating the custom field.<\/p>\n<p><strong>Dynamic Fields Properties:<\/strong><\/p>\n<ul>\n<li><strong>Entity<\/strong>: You select the database associated with the field from which the choices will be made.<\/li>\n<li><strong>Listing Field:<\/strong> You select the part that you want to display as a choice for the field from this database.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-15944\" src=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/dgf.png\" alt=\"\" width=\"1366\" height=\"596\" srcset=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/dgf.png 1366w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/dgf-300x131.png 300w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/dgf-1024x447.png 1024w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/dgf-768x335.png 768w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/p>\n<p>Notice the automatic appearance of the countries database from the system due to the nature of the dynamic field, which is linked to the countries database.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-15946 size-full\" src=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/kjlmn.png\" alt=\"\" width=\"1016\" height=\"597\" srcset=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/kjlmn.png 1016w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/kjlmn-300x176.png 300w, https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/kjlmn-768x451.png 768w\" sizes=\"auto, (max-width: 1016px) 100vw, 1016px\" \/><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/section>\n<\/article>\n<\/div>\n<p>[\/vc_column_text][\/vc_column][\/vc_row]<\/p>\n<\/section>","protected":false},"author":13,"template":"","categories":[2197,2198],"tags":[],"class_list":["post-15888","user_manual","type-user_manual","status-publish","hentry","category-hr","category-manage-requests"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v17.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Custom Fields for Requests Types - Daftra Knowledge Base<\/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:\/\/docs.daftra.com\/en\/user_manual\/custom-fields-for-requests-types\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Custom Fields for Requests Types - Daftra Knowledge Base\" \/>\n<meta property=\"og:description\" content=\"[vc_row][vc_column][vc_column_text css=&#8221;.vc_custom_1739097698398{margin-left: 200px !important;}&#8221;] The custom fields for request types allow you to add different custom fields for the data you want to include in the request file when adding a request of this type. You will find in the system various fields, varied in their use, to serve all the purposes of your business. [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/docs.daftra.com\/en\/user_manual\/custom-fields-for-requests-types\/\" \/>\n<meta property=\"og:site_name\" content=\"Daftra Knowledge Base\" \/>\n<meta property=\"article:modified_time\" content=\"2025-02-09T10:44:01+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/iouyhg.png\" \/>\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=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/docs.daftra.com\/#website\",\"url\":\"https:\/\/docs.daftra.com\/\",\"name\":\"Daftra Knowledge Base\",\"description\":\"Daftra\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/docs.daftra.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/docs.daftra.com\/en\/user_manual\/custom-fields-for-requests-types\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/iouyhg.png\",\"contentUrl\":\"https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/iouyhg.png\",\"width\":1366,\"height\":596},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/docs.daftra.com\/en\/user_manual\/custom-fields-for-requests-types\/#webpage\",\"url\":\"https:\/\/docs.daftra.com\/en\/user_manual\/custom-fields-for-requests-types\/\",\"name\":\"Custom Fields for Requests Types - Daftra Knowledge Base\",\"isPartOf\":{\"@id\":\"https:\/\/docs.daftra.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/docs.daftra.com\/en\/user_manual\/custom-fields-for-requests-types\/#primaryimage\"},\"datePublished\":\"2024-04-03T08:35:25+00:00\",\"dateModified\":\"2025-02-09T10:44:01+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/docs.daftra.com\/en\/user_manual\/custom-fields-for-requests-types\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/docs.daftra.com\/en\/user_manual\/custom-fields-for-requests-types\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/docs.daftra.com\/en\/user_manual\/custom-fields-for-requests-types\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/docs.daftra.com\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Custom Fields for Requests Types\"}]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Custom Fields for Requests Types - Daftra Knowledge Base","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:\/\/docs.daftra.com\/en\/user_manual\/custom-fields-for-requests-types\/","og_locale":"en_US","og_type":"article","og_title":"Custom Fields for Requests Types - Daftra Knowledge Base","og_description":"[vc_row][vc_column][vc_column_text css=&#8221;.vc_custom_1739097698398{margin-left: 200px !important;}&#8221;] The custom fields for request types allow you to add different custom fields for the data you want to include in the request file when adding a request of this type. You will find in the system various fields, varied in their use, to serve all the purposes of your business. [&hellip;]","og_url":"https:\/\/docs.daftra.com\/en\/user_manual\/custom-fields-for-requests-types\/","og_site_name":"Daftra Knowledge Base","article_modified_time":"2025-02-09T10:44:01+00:00","og_image":[{"url":"https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/iouyhg.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/docs.daftra.com\/#website","url":"https:\/\/docs.daftra.com\/","name":"Daftra Knowledge Base","description":"Daftra","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/docs.daftra.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","@id":"https:\/\/docs.daftra.com\/en\/user_manual\/custom-fields-for-requests-types\/#primaryimage","inLanguage":"en-US","url":"https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/iouyhg.png","contentUrl":"https:\/\/docs.daftra.com\/wp-content\/uploads\/2024\/04\/iouyhg.png","width":1366,"height":596},{"@type":"WebPage","@id":"https:\/\/docs.daftra.com\/en\/user_manual\/custom-fields-for-requests-types\/#webpage","url":"https:\/\/docs.daftra.com\/en\/user_manual\/custom-fields-for-requests-types\/","name":"Custom Fields for Requests Types - Daftra Knowledge Base","isPartOf":{"@id":"https:\/\/docs.daftra.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/docs.daftra.com\/en\/user_manual\/custom-fields-for-requests-types\/#primaryimage"},"datePublished":"2024-04-03T08:35:25+00:00","dateModified":"2025-02-09T10:44:01+00:00","breadcrumb":{"@id":"https:\/\/docs.daftra.com\/en\/user_manual\/custom-fields-for-requests-types\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/docs.daftra.com\/en\/user_manual\/custom-fields-for-requests-types\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/docs.daftra.com\/en\/user_manual\/custom-fields-for-requests-types\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/docs.daftra.com\/en\/"},{"@type":"ListItem","position":2,"name":"Custom Fields for Requests Types"}]}]}},"_links":{"self":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/user_manual\/15888","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/user_manual"}],"about":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/types\/user_manual"}],"author":[{"embeddable":true,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/users\/13"}],"version-history":[{"count":5,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/user_manual\/15888\/revisions"}],"predecessor-version":[{"id":29226,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/user_manual\/15888\/revisions\/29226"}],"wp:attachment":[{"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/media?parent=15888"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/categories?post=15888"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.daftra.com\/en\/wp-json\/wp\/v2\/tags?post=15888"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}