{"id":73,"date":"2017-06-22T15:22:29","date_gmt":"2017-06-22T15:22:29","guid":{"rendered":"https:\/\/userswp.io\/docs\/?p=73"},"modified":"2019-11-02T17:56:37","modified_gmt":"2019-11-02T17:56:37","slug":"userswp-form-builder","status":"publish","type":"docs","link":"https:\/\/userswp.io\/docs\/core-plugin\/userswp-form-builder\/","title":{"rendered":"Form Builder"},"content":{"rendered":"<p><span class=\"bookmark-index\"><br \/>\n<a href=\"#intro\">Introduction<\/a><br \/>\n<a href=\"#register-form\">Register Form<\/a><br \/>\n<a href=\"#account-form\">Account Form<\/a><br \/>\n<a href=\"#custom\">Add Custom Fields<\/a><br \/>\n<a href=\"#settings\">Settings<\/a><\/span><\/p>\n<h3><a href=\"#intro\" name=\"intro\">Introduction<\/a><\/h3>\n<p>The Form Builder for <a href=\"https:\/\/wordpress.org\/plugins\/userswp\/\">UsersWP<\/a> is where you can add custom fields to the Account and Register forms.<br \/>\n<img src=\"https:\/\/userswp.io\/docs\/wp-content\/uploads\/sites\/16\/2017\/06\/uwp-form-menu.jpg\" alt=\"\" width=\"260\" height=\"256\" class=\"alignnone size-full wp-image-166\" \/><br \/>\n<img class=\"aligncenter size-full wp-image-23243\" src=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2016\/12\/9.png\" alt=\"\" width=\"1096\" height=\"653\" \/><\/p>\n<h3><a href=\"#register-form\" name=\"register-form\">Register Form<\/a><\/h3>\n<p>The Register form is where your site visitors sign up for an account on your site. You can use the custom field options to display new fields on the Register form, the Account form, or both. All fields must be added to the account form first, but each field has settings to allow it to be shown on the Register form, too.<\/p>\n<p>Many site managers have found that keeping the Register form as &#8220;simple&#8221; as possible encourages users to finish filling the form and request their account. It is therefore recommend that the registration form be as short as possible, only requiring email address, username and password. The quicker the form, the higher the percentage of your visitors will finish registration and come back to fill in more information in their Account.<br \/>\n<img class=\"aligncenter size-full wp-image-23259\" src=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2016\/12\/101-1.png\" alt=\"\" width=\"430\" height=\"724\" \/><\/p>\n<h3><a href=\"#account-form\" name=\"account-forms\">Account Form<\/a><\/h3>\n<p>The Account form is only visible to a logged in user of the website. UsersWP supplies a link in the UsersWP section of the custom menu to &#8220;Account&#8221; that links to this form. It is the same form set in the UsersWP &#8211; General settings for &#8220;Account&#8221;. Note &#8211; All custom fields will show on the Account form.<br \/>\n<img src=\"https:\/\/userswp.io\/docs\/wp-content\/uploads\/sites\/16\/2017\/06\/uwp-account.jpg\" alt=\"\" width=\"475\" height=\"836\" class=\"alignnone size-full wp-image-162\" srcset=\"https:\/\/userswp.io\/docs\/wp-content\/uploads\/sites\/16\/2017\/06\/uwp-account.jpg 475w, https:\/\/userswp.io\/docs\/wp-content\/uploads\/sites\/16\/2017\/06\/uwp-account-170x300.jpg 170w\" sizes=\"(max-width: 475px) 100vw, 475px\" \/><\/p>\n<h3><a href=\"#custom\" name=\"custom\">Add a Custom Field<\/a><\/h3>\n<p>Account and Register forms for UsersWP are powered by the Form Builder.<\/p>\n<p>New fields must first be added to the account form. Within the field options, you can choose to display the field on the Register form.<\/p>\n<p>To add a new custom field, use the following steps:<\/p>\n<ol>\n<li>Select the Account form (default).<\/li>\n<li>Select the field type.<\/li>\n<li>Configure the field settings.<\/li>\n<li>Adjust &#8220;Include this field in the register form&#8221; to Yes if you want the field to show up in the Register form.<\/li>\n<li>Save the field.<\/li>\n<li>Drag and drop fields to change their order in the form.<\/li>\n<\/ol>\n<p><strong>Show the field in the Register Form<\/strong><br \/>\n<img src=\"https:\/\/userswp.io\/docs\/wp-content\/uploads\/sites\/16\/2017\/06\/uwp-form-new-1.jpg\" alt=\"\" width=\"683\" height=\"567\" class=\"alignnone size-full wp-image-168\" srcset=\"https:\/\/userswp.io\/docs\/wp-content\/uploads\/sites\/16\/2017\/06\/uwp-form-new-1.jpg 683w, https:\/\/userswp.io\/docs\/wp-content\/uploads\/sites\/16\/2017\/06\/uwp-form-new-1-300x249.jpg 300w\" sizes=\"(max-width: 683px) 100vw, 683px\" \/><br \/>\nIf the new field is to be shown in the Register form, one or both of the following options must be selected.<br \/>\n<img src=\"https:\/\/userswp.io\/docs\/wp-content\/uploads\/sites\/16\/2017\/06\/uwp-form-register.jpg\" alt=\"\" width=\"496\" height=\"214\" class=\"alignnone size-full wp-image-167\" srcset=\"https:\/\/userswp.io\/docs\/wp-content\/uploads\/sites\/16\/2017\/06\/uwp-form-register.jpg 496w, https:\/\/userswp.io\/docs\/wp-content\/uploads\/sites\/16\/2017\/06\/uwp-form-register-300x129.jpg 300w\" sizes=\"(max-width: 496px) 100vw, 496px\" \/><br \/>\nThe final step is to set the field into the Register form. By adjusting the settings above, the field is available to the Register form, but additional steps are needed to show the field in the form:<\/p>\n<ol>\n<li>Select the Register form (default).<\/li>\n<li>Find the new field in the list of Available Fields.<\/li>\n<li>Select the field to add it to the Register form.<\/li>\n<li>Drag and drop fields to change their order in the form.<\/li>\n<\/ol>\n<h3><a href=\"#settings\" name=\"settings\">Settings<\/a><\/h3>\n<p>Each field has a number of possible settings. Read more about each one in detail, here.<br \/>\n<img class=\"aligncenter size-full wp-image-23244\" src=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2016\/12\/11.png\" alt=\"\" width=\"570\" height=\"890\" \/><\/p>\n<p><strong>Label:<\/strong><br \/>\nThis will be the label for the field and displayed all over the site.<br \/>\n<strong>Form Label:<\/strong><br \/>\nIf your form label is different, then you can fill this field. Ex: You would like to display &#8220;What is your age?&#8221; in Form Field but would like to display &#8220;DOB&#8221; in site. In such cases &#8220;What is your age?&#8221; should be entered here and &#8220;DOB&#8221; should be entered in previous field. Note: If this field not field, then the previous field will be used in Form<br \/>\n<strong>HTML variable name:<\/strong><br \/>\nThis is a unique identifier used in the HTML, it MUST NOT contain spaces or special characters<br \/>\n<strong>Is active?<\/strong><br \/>\nIf no is selected then the field will not be displayed anywhere.<br \/>\n<strong>Is Public?<\/strong><br \/>\nIf no is selected then the field will not be visible to other users.<br \/>\n<strong>Default value:<\/strong><br \/>\nA default value for the field, usually blank. (for &#8220;link&#8221; this will be used as the link text)<br \/>\n<strong>Is required?<\/strong><br \/>\nSelect yes to set field as required<br \/>\n<strong>Required message:<\/strong><br \/>\nEnter text for the error message if the field is required and has not fulfilled the requirements<br \/>\n<strong>Upload icon:<\/strong><br \/>\nUpload icon using media and enter its url path, or enter font awesome class eg:&#8221;fa fa-home&#8221;<br \/>\n<strong>CSS class:<\/strong><br \/>\nThis will be css class. uwp_social is the reserved class. If you use that class and the field type is URL, then it will be displayed as social buttons<br \/>\n<strong>Show in what locations?<\/strong><br \/>\nSelect in what locations you want to display this field<br \/>\nYou can choose the following locations.<\/p>\n<ol>\n<li>Users Page<\/li>\n<li>More info tab<\/li>\n<li>Profile page own tab<\/li>\n<li>Profile Side<\/li>\n<\/ol>\n<p><strong>Include this field in register form<\/strong><br \/>\nWhen this option enabled field will ALSO appear in register form<br \/>\n<strong>Include this field ONLY in register form<\/strong><br \/>\nWhen this option enabled field will ONLY appear in register form<\/p>\n","protected":false},"featured_media":0,"parent":290,"menu_order":1,"comment_status":"open","ping_status":"open","template":"","doc_tag":[],"amp_validity":null,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/userswp.io\/docs\/wp-json\/wp\/v2\/docs\/73"}],"collection":[{"href":"https:\/\/userswp.io\/docs\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/userswp.io\/docs\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/userswp.io\/docs\/wp-json\/wp\/v2\/comments?post=73"}],"version-history":[{"count":0,"href":"https:\/\/userswp.io\/docs\/wp-json\/wp\/v2\/docs\/73\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/userswp.io\/docs\/wp-json\/wp\/v2\/docs\/290"}],"next":[{"title":"Settings","link":"https:\/\/userswp.io\/docs\/core-plugin\/userswp-main-settings\/","href":"https:\/\/userswp.io\/docs\/wp-json\/wp\/v2\/docs\/72"}],"prev":[{"title":"Menus","link":"https:\/\/userswp.io\/docs\/core-plugin\/userswp-menus\/","href":"https:\/\/userswp.io\/docs\/wp-json\/wp\/v2\/docs\/75"}],"wp:attachment":[{"href":"https:\/\/userswp.io\/docs\/wp-json\/wp\/v2\/media?parent=73"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/userswp.io\/docs\/wp-json\/wp\/v2\/doc_tag?post=73"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}