{"id":1180,"date":"2022-02-24T07:35:06","date_gmt":"2022-02-24T07:35:06","guid":{"rendered":"https:\/\/doc.dnngo.com\/powerforms\/?page_id=1180"},"modified":"2022-03-07T13:06:48","modified_gmt":"2022-03-07T13:06:48","slug":"add-new-fields","status":"publish","type":"page","link":"https:\/\/doc.dnngo.com\/powerforms\/add-new-fields\/","title":{"rendered":"Add new fields"},"content":{"rendered":"<p>[vc_row el_id=&#8221;Addnew&#8221;][vc_column]<div class=\"dg-title subtitle-style01 text-left mb-0\" id=\"dg-title1646656675623-afde6c75-d7e1\" ><span class=\"decorated l\"><\/span><h3 class=\"title \" >Add Field<\/h3><span class=\"decorated r\"><\/span><\/div>[vc_column_text]<\/p>\n<ul>\n<li>Name &#8211; This is a field name and not used to display on the form. Only characters from a-Z and 0-9 can be allowed.<\/li>\n<li>Alias &#8211; Texts here will be shown in the form.<\/li>\n<li>ToolTip-To set tooltip texts for the fields.<\/li>\n<\/ul>\n<p>[\/vc_column_text][vc_empty_space height=&#8221;20px&#8221;]<div class=\"dg-title subtitle-style01 text-left mb-0\" id=\"dg-title1645694820139-e56424ed-a744\" ><span class=\"decorated l\"><\/span><h5 class=\"title \" >Control Settings<\/h5><span class=\"decorated r\"><\/span><\/div>[vc_column_text]<\/p>\n<p>There are totally 17 types of control included in the module, You can define different control types for each field.<\/p>\n<ul>\n<li>Control Type -To set types for the fields.<\/li>\n<li>Width &#8211; To set width for the the control, normally set to 100%.<\/li>\n<li>Required &#8211; To set whether it is required.<\/li>\n<\/ul>\n<p>[\/vc_column_text][vc_empty_space height=&#8221;20px&#8221;]<div class=\"dg-title subtitle-style01 text-left mb-0\" id=\"dg-title1645694895692-129e28e4-3e5a\" ><span class=\"decorated l\"><\/span><h5 class=\"title \" >Item Option<\/h5><span class=\"decorated r\"><\/span><\/div>[vc_column_text customcss=&#8221;mb-10&#8243;]You can set width for each field. You can set width of each of the three fields to 33%, so these three fields will display in one line.[\/vc_column_text][vc_single_image image=&#8221;1284&#8243; img_size=&#8221;full&#8221; style=&#8221;vc_box_shadow&#8221;][vc_empty_space height=&#8221;20px&#8221;]<div class=\"dg-title subtitle-style01 text-left mb-0\" id=\"dg-title1645694936789-193c0d0c-fe02\" ><span class=\"decorated l\"><\/span><h5 class=\"title \" >Permissions<\/h5><span class=\"decorated r\"><\/span><\/div>[vc_column_text customcss=&#8221;mb-10&#8243;]You can set view permission for each field.[\/vc_column_text][vc_single_image image=&#8221;1285&#8243; img_size=&#8221;full&#8221; style=&#8221;vc_box_shadow&#8221;][vc_empty_space height=&#8221;20px&#8221;]<div class=\"dg-title subtitle-style01 text-left mb-0\" id=\"dg-title1645694967198-3cc80623-7b79\" ><span class=\"decorated l\"><\/span><h5 class=\"title \" >E-mail Template Options<\/h5><span class=\"decorated r\"><\/span><\/div>[vc_column_text]To set whether the fields will be included in the email templates.<\/p>\n<p>[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column]<div class=\"dg-title subtitle-style01 text-left mb-0\" id=\"dg-title1645694995749-da251668-3082\" ><span class=\"decorated l\"><\/span><h3 class=\"title \" >Control Types<\/h3><span class=\"decorated r\"><\/span><\/div>[vc_separator css=&#8221;.vc_custom_1645690764970{margin-bottom: 30px !important;}&#8221;][vc_column_text]This module contains 17 controls, now we will elaborate on the use for these fields.<\/p>\n<p>[\/vc_column_text][\/vc_column][\/vc_row][vc_row el_id=&#8221;TextBox&#8221;][vc_column][vc_empty_space height=&#8221;40px&#8221;]<div class=\"dg-title subtitle-style01 text-left mb-0\" id=\"dg-title1645695081540-4179f353-b158\" ><span class=\"decorated l\"><\/span><h5 class=\"title \" >TextBox<\/h5><span class=\"decorated r\"><\/span><\/div>[vc_column_text customcss=&#8221;mb-10&#8243;]This field allows user to enter text in one or multiple lines.<\/p>\n<ul>\n<li>Width -To set widths for the controls.<\/li>\n<li>Rows is for the height of input box, for instance, it will show with multiple lines if you set it to 2, then you can<br \/>\nenter multiline text.<\/li>\n<li>Default Value &#8211; To set default value in the input box..<\/li>\n<li>Verification &#8211; You can set up different validation for the field, for instance, when you choose Email, it will only allow<br \/>\nto enter correct email address.<\/li>\n<li>Required &#8211; To set whether it is required..<\/li>\n<li>Equals Control &#8211; Another field can be set as the equivalent fields. Only when the values of the two fields are the same<br \/>\ncan users submit forms.<\/li>\n<li>Max Length &#8211; To set the number of characters for the input box..<\/li>\n<\/ul>\n<p>[\/vc_column_text][vc_single_image image=&#8221;1283&#8243; img_size=&#8221;full&#8221;][\/vc_column][\/vc_row][vc_row el_id=&#8221;TextBoxDisplayName&#8221;][vc_column][vc_empty_space height=&#8221;40px&#8221;]<div class=\"dg-title subtitle-style01 text-left mb-0\" id=\"dg-title1645748359473-93c656eb-7500\" ><span class=\"decorated l\"><\/span><h5 class=\"title \" >TextBox ( DisplayName )<\/h5><span class=\"decorated r\"><\/span><\/div>[vc_column_text]This control will show the DisplayName of current user once he\/she logs in.<\/p>\n<p>[\/vc_column_text][\/vc_column][\/vc_row][vc_row el_id=&#8221;TextBoxEmail&#8221;][vc_column][vc_empty_space height=&#8221;40px&#8221;]<div class=\"dg-title subtitle-style01 text-left mb-0\" id=\"dg-title1645748393254-e026a051-33f4\" ><span class=\"decorated l\"><\/span><h5 class=\"title \" >TextBox ( Email )<\/h5><span class=\"decorated r\"><\/span><\/div>[vc_column_text]This control will show the Email of current user once he\/she logs in.<\/p>\n<p>You need to use this field to collect emails of submission users, otherwise, submission users will not receive emails.[\/vc_column_text][\/vc_column][\/vc_row][vc_row el_id=&#8221;RichTextBox&#8221;][vc_column][vc_empty_space height=&#8221;40px&#8221;]<div class=\"dg-title subtitle-style01 text-left mb-0\" id=\"dg-title1645748459550-130d7c82-52b8\" ><span class=\"decorated l\"><\/span><h5 class=\"title \" >RichTextBox<\/h5><span class=\"decorated r\"><\/span><\/div>[vc_column_text customcss=&#8221;mb-10&#8243;]This control allows you to enter some complicated text.[\/vc_column_text][vc_single_image image=&#8221;1286&#8243; img_size=&#8221;full&#8221; style=&#8221;vc_box_shadow&#8221;][\/vc_column][\/vc_row][vc_row el_id=&#8221;DropDownList&#8221;][vc_column][vc_empty_space height=&#8221;40px&#8221;]<div class=\"dg-title subtitle-style01 text-left mb-0\" id=\"dg-title1645748857049-0a2b6ae6-0d76\" ><span class=\"decorated l\"><\/span><h5 class=\"title \" >DropDownList<\/h5><span class=\"decorated r\"><\/span><\/div>[vc_column_text customcss=&#8221;mb-10&#8243;]You can enter multiline texts in List Collection, each line text stands for an option.[\/vc_column_text][vc_empty_space height=&#8221;20px&#8221;][vc_single_image image=&#8221;1288&#8243; img_size=&#8221;full&#8221; style=&#8221;vc_box_shadow&#8221;][vc_empty_space height=&#8221;20px&#8221;][vc_column_text]You can enter a default value in Default Value, which must be option included in the List Collection.<\/p>\n<p>Below is the screen shot for control:[\/vc_column_text][vc_empty_space height=&#8221;20px&#8221;][vc_single_image image=&#8221;1289&#8243; img_size=&#8221;full&#8221; style=&#8221;vc_box_shadow&#8221;][\/vc_column][\/vc_row][vc_row el_id=&#8221;ListBox&#8221;][vc_column][vc_empty_space height=&#8221;40px&#8221;]<div class=\"dg-title subtitle-style01 text-left mb-0\" id=\"dg-title1645748987802-28d49cd4-bf66\" ><span class=\"decorated l\"><\/span><h5 class=\"title \" >ListBox<\/h5><span class=\"decorated r\"><\/span><\/div>[vc_column_text customcss=&#8221;mb-10&#8243;]You can enter multiline texts in List Collection, each line text stands for an option.[\/vc_column_text][vc_single_image image=&#8221;1291&#8243; img_size=&#8221;full&#8221; style=&#8221;vc_box_shadow&#8221;][vc_column_text customcss=&#8221;mb-10&#8243;]You can enter one or multiple default values in Default Value, multiple values should be separated by comma.<\/p>\n<p>All the default values should be option included in List Collection.<\/p>\n<p>Below is the screen shot for control:[\/vc_column_text][vc_single_image image=&#8221;1295&#8243; img_size=&#8221;full&#8221; style=&#8221;vc_box_shadow&#8221;][\/vc_column][\/vc_row][vc_row el_id=&#8221;RadioButtonList&#8221;][vc_column][vc_empty_space height=&#8221;40px&#8221;]<div class=\"dg-title subtitle-style01 text-left mb-0\" id=\"dg-title1645749220837-fb1a65f6-a295\" ><span class=\"decorated l\"><\/span><h5 class=\"title \" >RadioButtonList<\/h5><span class=\"decorated r\"><\/span><\/div>[vc_column_text customcss=&#8221;mb-10&#8243;]<\/p>\n<ul>\n<li>Direction &#8211; To set the direction to display.<\/li>\n<li>Column &#8211; You to set number of columns for the control and it is valid only when Horizontal above is selected.<\/li>\n<li>List Collection &#8211; You can enter multiline text in List Collection, each line text stands for an option.<\/li>\n<li>Default Value &#8211; You can enter default values in Default Value. All the default values should be option included in List<br \/>\nCollection.<\/li>\n<\/ul>\n<p>Below is the screen shot for control:[\/vc_column_text][vc_single_image image=&#8221;1297&#8243; img_size=&#8221;full&#8221; style=&#8221;vc_box_shadow&#8221;][\/vc_column][\/vc_row][vc_row el_id=&#8221;FileUpload&#8221;][vc_column][vc_empty_space height=&#8221;40px&#8221;]<div class=\"dg-title subtitle-style01 text-left mb-0\" id=\"dg-title1645749324052-71fd41c0-9a3c\" ><span class=\"decorated l\"><\/span><h5 class=\"title \" >FileUpload<\/h5><span class=\"decorated r\"><\/span><\/div>[vc_column_text]Users can upload an attachment through this field, and set File extensions through Host &gt; Host Settings &gt; Other Settings &gt; Allowable File Extensions.<\/p>\n<p>You can view the file uploaded by user through History Records.[\/vc_column_text][\/vc_column][\/vc_row][vc_row el_id=&#8221;MultipleFilesUpload&#8221;][vc_column][vc_empty_space height=&#8221;40px&#8221;]<div class=\"dg-title subtitle-style01 text-left mb-0\" id=\"dg-title1645749350130-34f300b0-cdaa\" ><span class=\"decorated l\"><\/span><h5 class=\"title \" >MultipleFilesUpload<\/h5><span class=\"decorated r\"><\/span><\/div>[vc_column_text]Users can upload multiple attachments through this filed.<\/p>\n<p>Below is the screen shot for control:<\/p>\n<p>[\/vc_column_text][vc_single_image image=&#8221;1299&#8243; img_size=&#8221;full&#8221; style=&#8221;vc_box_shadow&#8221;][\/vc_column][\/vc_row][vc_row el_id=&#8221;CheckBox&#8221;][vc_column][vc_empty_space height=&#8221;40px&#8221;]<div class=\"dg-title subtitle-style01 text-left mb-0\" id=\"dg-title1645749449280-d04cb812-9770\" ><span class=\"decorated l\"><\/span><h5 class=\"title \" >CheckBox<\/h5><span class=\"decorated r\"><\/span><\/div>[vc_column_text customcss=&#8221;mb-10&#8243;]You need to fill in the prompts for CheckBox in ToolTip.<\/p>\n<p>Below is the screen shot for control:[\/vc_column_text][vc_single_image image=&#8221;1301&#8243; img_size=&#8221;full&#8221; style=&#8221;vc_box_shadow&#8221;][\/vc_column][\/vc_row][vc_row el_id=&#8221;CheckBoxList&#8221;][vc_column][vc_empty_space height=&#8221;40px&#8221;]<div class=\"dg-title subtitle-style01 text-left mb-0\" id=\"dg-title1645749482641-d383aae8-35bd\" ><span class=\"decorated l\"><\/span><h5 class=\"title \" >CheckBoxList<\/h5><span class=\"decorated r\"><\/span><\/div>[vc_column_text customcss=&#8221;mb-10&#8243;]<\/p>\n<ul>\n<li>Direction &#8211; To set the direction to display.<\/li>\n<li>Column &#8211; You to set number of columns for the control and it is valid only when Horizontal above is selected.<\/li>\n<li>List Collection &#8211; You can enter multiline text in List Collection, each line text stands for an option.<\/li>\n<li>Default Value &#8211; You can enter default values in Default Value. All the default values should be option included in List<br \/>\nCollection.<\/li>\n<\/ul>\n<p>Below is the screen shot for control:[\/vc_column_text][vc_single_image image=&#8221;1302&#8243; img_size=&#8221;full&#8221; style=&#8221;vc_box_shadow&#8221;][\/vc_column][\/vc_row][vc_row el_id=&#8221;DatePicker&#8221;][vc_column][vc_empty_space height=&#8221;40px&#8221;]<div class=\"dg-title subtitle-style01 text-left mb-0\" id=\"dg-title1645749628489-9444d168-5bc0\" ><span class=\"decorated l\"><\/span><h5 class=\"title \" >DatePicker<\/h5><span class=\"decorated r\"><\/span><\/div>[vc_column_text customcss=&#8221;mb-10&#8243;]You can select a date easily through this control.<\/p>\n<p>Below is the screen shot for control:[\/vc_column_text][vc_single_image image=&#8221;1304&#8243; img_size=&#8221;full&#8221; style=&#8221;vc_box_shadow&#8221;][\/vc_column][\/vc_row][vc_row el_id=&#8221;Label&#8221;][vc_column][vc_empty_space height=&#8221;40px&#8221;]<div class=\"dg-title subtitle-style01 text-left mb-0\" id=\"dg-title1645749681410-22d04bb2-93db\" ><span class=\"decorated l\"><\/span><h5 class=\"title \" >Label<\/h5><span class=\"decorated r\"><\/span><\/div>[vc_column_text customcss=&#8221;mb-10&#8243;]You can enter some texts in Default Value, the texts will display on the form as description.<\/p>\n<p>Below is the screen shot for control:[\/vc_column_text][vc_single_image image=&#8221;1306&#8243; img_size=&#8221;full&#8221; style=&#8221;vc_box_shadow&#8221;][\/vc_column][\/vc_row][vc_row el_id=&#8221;DropDownListCountry&#8221;][vc_column][vc_empty_space height=&#8221;40px&#8221;]<div class=\"dg-title subtitle-style01 text-left mb-0\" id=\"dg-title1645753371411-17c9c76b-fd53\" ><span class=\"decorated l\"><\/span><h5 class=\"title \" >DropDownList ( Country )<\/h5><span class=\"decorated r\"><\/span><\/div>[vc_column_text customcss=&#8221;mb-10&#8243;]This control contains option from all over the countries.<\/p>\n<p>Below is the screen shot for control:[\/vc_column_text][vc_single_image image=&#8221;1308&#8243; img_size=&#8221;full&#8221; style=&#8221;vc_box_shadow&#8221;][\/vc_column][\/vc_row][vc_row el_id=&#8221;DropDownListRegion&#8221;][vc_column][vc_empty_space height=&#8221;40px&#8221;]<div class=\"dg-title subtitle-style01 text-left mb-0\" id=\"dg-title1645753430838-520ad1e9-f68b\" ><span class=\"decorated l\"><\/span><h5 class=\"title \" >DropDownList ( Region )<\/h5><span class=\"decorated r\"><\/span><\/div>[vc_column_text customcss=&#8221;mb-10&#8243;]To set the states which corresponds to the country, you need to have the country field selected in Associated Control.<\/p>\n<p>Below is the screen shot for control:[\/vc_column_text][vc_single_image image=&#8221;1309&#8243; img_size=&#8221;full&#8221; style=&#8221;vc_box_shadow&#8221;][\/vc_column][\/vc_row][vc_row el_id=&#8221;DropDownListSendEmail&#8221;][vc_column][vc_empty_space height=&#8221;40px&#8221;]<div class=\"dg-title subtitle-style01 text-left mb-0\" id=\"dg-title1645753476104-fe34f03c-1a0d\" ><span class=\"decorated l\"><\/span><h5 class=\"title \" >DropDownList ( SendEmail )<\/h5><span class=\"decorated r\"><\/span><\/div>[vc_column_text customcss=&#8221;mb-10&#8243;]You can enter multiline texts in List Collection, the text format must be written as below:<br \/>\nAddress 1: admin@dnngo.net<br \/>\nAddress 2: dnnskindev@gmail.com<\/p>\n<p>This field allows user to choose an address to send email.<\/p>\n<p>For instance, if one user chooses Address2, the submitted email will be sent to email bonded with Address 2, which is dnnskindev@gmail.com in this case.<\/p>\n<p>Below is the screen shot for control:[\/vc_column_text][vc_single_image image=&#8221;1310&#8243; img_size=&#8221;full&#8221; style=&#8221;vc_box_shadow&#8221;][\/vc_column][\/vc_row][vc_row el_id=&#8221;HTML&#8221;][vc_column][vc_empty_space height=&#8221;40px&#8221;]<div class=\"dg-title subtitle-style01 text-left mb-0\" id=\"dg-title1645753514095-235278f1-0b23\" ><span class=\"decorated l\"><\/span><h5 class=\"title \" >HTML<\/h5><span class=\"decorated r\"><\/span><\/div>[vc_column_text]Some texts or HTML codes can be added.<\/p>\n<p>[\/vc_column_text][\/vc_column][\/vc_row][vc_row el_id=&#8221;Confirm&#8221;][vc_column][vc_empty_space height=&#8221;40px&#8221;]<div class=\"dg-title subtitle-style01 text-left mb-0\" id=\"dg-title1645753537576-03f1cc76-6fba\" ><span class=\"decorated l\"><\/span><h5 class=\"title \" >Confirm<\/h5><span class=\"decorated r\"><\/span><\/div>[vc_column_text customcss=&#8221;mb-10&#8243;]This control is a secondary confirmation control. User can tick after submitting<\/p>\n<p>Default Value &#8211; You can set whether the default is not checked. Only 2 values can be filled, true and false.<br \/>\nBelow is the screen shot for control:[\/vc_column_text][vc_single_image image=&#8221;1311&#8243; img_size=&#8221;full&#8221; style=&#8221;vc_box_shadow&#8221;][\/vc_column][\/vc_row]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[vc_row el_id=&#8221;Addnew&#8221;][vc_column][vc_column_text] Name &#8211; This is a field name and not used to display on the form. Only characters from a-Z and 0-9 can be allowed. Alias &#8211; Texts here will be shown in the form. ToolTip-To set tooltip texts for the fields. [\/vc_column_text][vc_empty_space height=&#8221;20px&#8221;][vc_column_text] There are totally 17 types of control included in the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/doc.dnngo.com\/powerforms\/wp-json\/wp\/v2\/pages\/1180"}],"collection":[{"href":"https:\/\/doc.dnngo.com\/powerforms\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/doc.dnngo.com\/powerforms\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/doc.dnngo.com\/powerforms\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/doc.dnngo.com\/powerforms\/wp-json\/wp\/v2\/comments?post=1180"}],"version-history":[{"count":39,"href":"https:\/\/doc.dnngo.com\/powerforms\/wp-json\/wp\/v2\/pages\/1180\/revisions"}],"predecessor-version":[{"id":1427,"href":"https:\/\/doc.dnngo.com\/powerforms\/wp-json\/wp\/v2\/pages\/1180\/revisions\/1427"}],"wp:attachment":[{"href":"https:\/\/doc.dnngo.com\/powerforms\/wp-json\/wp\/v2\/media?parent=1180"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}