{"id":8670,"date":"2024-12-05T09:35:36","date_gmt":"2024-12-05T14:35:36","guid":{"rendered":"https:\/\/learndash.com\/support\/?post_type=docs&#038;p=8670"},"modified":"2024-12-05T09:36:34","modified_gmt":"2024-12-05T14:36:34","password":"","slug":"adding-fields-to-learndash-registration-forms-with-advanced-custom-fields-acf","status":"publish","type":"docs","link":"https:\/\/learndash.com\/support\/kb\/resources\/developers\/adding-fields-to-learndash-registration-forms-with-advanced-custom-fields-acf\/","title":{"rendered":"Adding Fields to LearnDash Registration Forms with Advanced Custom Fields (ACF)"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"h-why-custom-registration-fields-matter-for-course-providers\">Why Custom Registration Fields Matter for Course Providers<\/h2>\n\n\n\n<p>Elevate your course experience by unlocking powerful student insights with custom registration fields. Custom registration fields help you better understand your students&#8217; experience, goals, and learning needs from the start. Using the information collected, you can match students to the right level courses, adjust your course content and materials to align with their specific objectives, and accommodate different learning requirements and preferences.&nbsp;<\/p>\n\n\n\n<p>Collecting this data also empowers you to make more informed decisions about new course development, marketing, and course improvements. Using a personalized approach helps you make informed decisions with new data points, and generates a higher rate of student satisfaction.<\/p>\n\n\n\n<p>Remember: Only ask for information you&#8217;ll actually use to improve your courses or student experience. Each field should have a clear purpose!<\/p>\n\n\n\n<p>The guide below will walk you through the process of creating and implementing custom fields to collect the information you need to increase engagement and streamline learning experiences.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-getting-started\">Getting Started<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>You\u2019ll need an active LearnDash Registration Form on your website. This form must already exist so you can insert your custom fields. <\/li>\n\n\n\n<li>Download the ZIP plugin file from the ACF website. You can find the free version as well as the premium version of the plugin <a href=\"https:\/\/www.advancedcustomfields.com\/\"><strong>here<\/strong><\/a>. <br>Once you are there, you\u2019ll see a \u201cDownload\u201d button with the most current software version number. Click on that to Download the latest version for your installation<\/li>\n\n\n\n<li>Now you should have an advanced-custom-fields ZIP file in your Downloads folder. Note that some browsers (specifically Safari) automatically unzip ZIP files upon download. If you see a folder instead of a ZIP file, you\u2019ll need to ZIP that folder before proceeding.<\/li>\n\n\n\n<li>Next you need to upload the ZIP file to your WordPress website.<\/li>\n\n\n\n<li>To do this, navigate in your WordPress admin to \u201cPlugins &gt; Add New Plugin\u201d. From there click on \u201cChoose File\u201d. That will open your computer\u2019s file system for you to find the ZIP file you previously downloaded. Choose that and click the Install Now button.<\/li>\n<\/ol>\n\n\n\n<p class=\"has-theme-palette-8-color has-theme-palette-1-background-color has-text-color has-background has-link-color wp-elements-e1b22fbfcdbbdf4e1034e2a4bcacd8c6\"><strong>Note:  <\/strong>For the purposes of this article, you just need the free version!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-creating-your-custom-fields\">Creating Your Custom Fields<\/h2>\n\n\n\n<p>Once you\u2019ve activated ACF and have your Registration form, go to ACF &gt; Custom Fields section in your WordPress admin dashboard. Click Add New to create a Fields Group and name the Fields Group so you can identify it as part of your registration system. For example: \u201cExtra Registration Fields\u201d. Then, add your Custom Fields.&nbsp;<\/p>\n\n\n\n<ol start=\"3\" class=\"wp-block-list\">\n<li><\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Field Type: Select the appropriate field type for each custom field. You have various field types available, like text areas, radio buttons, check boxes, etc.<\/li>\n\n\n\n<li>Field Label: Provide a label for each field.<\/li>\n\n\n\n<li>Additional Options: You can make fields required, set character limits, and add placeholder text.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1295\" height=\"1846\" src=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2024\/12\/fields-open-to-edit-o.png\" alt=\"Edit Field Group Menu ACF\" class=\"wp-image-8674\" srcset=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2024\/12\/fields-open-to-edit-o.png 1295w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2024\/12\/fields-open-to-edit-o-281x400.png 281w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2024\/12\/fields-open-to-edit-o-561x800.png 561w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2024\/12\/fields-open-to-edit-o-768x1095.png 768w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2024\/12\/fields-open-to-edit-o-1078x1536.png 1078w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2024\/12\/fields-open-to-edit-o-360x512.png 360w\" sizes=\"auto, (max-width: 1295px) 100vw, 1295px\" \/><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"h-set-location-rules\">Set Location Rules<\/h2>\n\n\n\n<p>To ensure your custom fields appear on the LearnDash Registration Form, you&#8217;ll need to set up Location Rules:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Create a New Rule: In the location rules section, create a rule to display the fields on the user form.<\/li>\n\n\n\n<li>Set User Form to &#8220;All&#8221;: Ensure the rule is set to &#8220;User Form is equal to All&#8221;.<\/li>\n\n\n\n<li>Save Changes: Click &#8220;Save Changes&#8221; to apply your new settings.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"2614\" height=\"733\" src=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2024\/12\/location-rules-o-o.png\" alt=\"Relocation Rules\" class=\"wp-image-8677\" srcset=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2024\/12\/location-rules-o-o.png 2614w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2024\/12\/location-rules-o-o-400x112.png 400w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2024\/12\/location-rules-o-o-800x224.png 800w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2024\/12\/location-rules-o-o-768x215.png 768w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2024\/12\/location-rules-o-o-1536x431.png 1536w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2024\/12\/location-rules-o-o-2048x574.png 2048w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2024\/12\/location-rules-o-o-360x101.png 360w\" sizes=\"auto, (max-width: 2614px) 100vw, 2614px\" \/><\/figure>\n\n\n\n<p>The new Custom Registration Fields created with ACF will magically appear on the LearnDash Registration Form. Nothing else needed!<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"900\" height=\"1616\" src=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2024\/12\/registration-form-w-custom-fields-o.png\" alt=\"Registration Form with Custom Fields\" class=\"wp-image-8678\" srcset=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2024\/12\/registration-form-w-custom-fields-o.png 900w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2024\/12\/registration-form-w-custom-fields-o-223x400.png 223w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2024\/12\/registration-form-w-custom-fields-o-446x800.png 446w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2024\/12\/registration-form-w-custom-fields-o-768x1379.png 768w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2024\/12\/registration-form-w-custom-fields-o-855x1536.png 855w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2024\/12\/registration-form-w-custom-fields-o-285x512.png 285w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"h-viewing-custom-field-data-in-wordpress-user-profile\">Viewing Custom Field Data in WordPress User Profile<\/h2>\n\n\n\n<p>Custom fields are visible in two places: on the registration form itself, and on the User Profile Page once the user registers.<\/p>\n\n\n\n<p>Additionally, administrators can view and edit these fields from the WordPress admin dashboard. The fields will also populate any values that the students have entered while submitting the LearnDash Registration Form.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>User Profile Page: Users will see the additional fields on their profile page.<\/li>\n\n\n\n<li>Admin Dashboard: Administrators can view and edit custom field data by navigating to the &#8220;All Users&#8221; section and editing a specific user.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1638\" height=\"638\" src=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2024\/12\/fields-in-user-profile-screen-o-o.png\" alt=\"Custom fields in the User Profile\" class=\"wp-image-8679\" srcset=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2024\/12\/fields-in-user-profile-screen-o-o.png 1638w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2024\/12\/fields-in-user-profile-screen-o-o-400x156.png 400w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2024\/12\/fields-in-user-profile-screen-o-o-800x312.png 800w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2024\/12\/fields-in-user-profile-screen-o-o-768x299.png 768w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2024\/12\/fields-in-user-profile-screen-o-o-1536x598.png 1536w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2024\/12\/fields-in-user-profile-screen-o-o-360x140.png 360w\" sizes=\"auto, (max-width: 1638px) 100vw, 1638px\" \/><\/figure><\/div>","protected":false},"excerpt":{"rendered":"<p>Why Custom Registration Fields Matter for Course Providers Elevate your course experience by unlocking powerful student insights with custom registration fields. Custom registration fields help you better understand your students&#8217; experience, goals, and learning needs from the start. Using the information collected, you can match students to the right level courses, adjust your course content&#8230;<\/p>\n","protected":false},"author":58,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_helpful_status":1,"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_swpsp_post_exclude":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"footnotes":""},"doc_category":[217],"doc_tag":[],"knowledge_base":[157],"class_list":["post-8670","docs","type-docs","status-publish","hentry","doc_category-developers","knowledge_base-resources"],"year_month":"2026-04","word_count":644,"total_views":"3866","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"display_name":"Stephanie Liy","author_link":"https:\/\/learndash.com\/support\/author\/stephaniei\/"},"doc_category_info":[{"term_name":"Developers","term_url":"https:\/\/learndash.com\/support\/kb\/resources\/developers\/"}],"doc_tag_info":[],"taxonomy_info":{"doc_category":[{"value":217,"label":"Developers"}],"knowledge_base":[{"value":157,"label":"Resources"}]},"featured_image_src_large":false,"comment_info":0,"knowledge_base_info":[{"term_name":"Resources","term_url":"https:\/\/learndash.com\/support\/kb\/resources\/","term_slug":"resources"}],"knowledge_base_slug":["resources"],"_links":{"self":[{"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/docs\/8670","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/users\/58"}],"replies":[{"embeddable":true,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/comments?post=8670"}],"version-history":[{"count":2,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/docs\/8670\/revisions"}],"predecessor-version":[{"id":8681,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/docs\/8670\/revisions\/8681"}],"wp:attachment":[{"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/media?parent=8670"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/doc_category?post=8670"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/doc_tag?post=8670"},{"taxonomy":"knowledge_base","embeddable":true,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/knowledge_base?post=8670"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}