{"id":5000,"date":"2017-01-31T16:28:21","date_gmt":"2017-01-31T16:28:21","guid":{"rendered":"http:\/\/tommustester.wpengine.com\/?page_id=111"},"modified":"2017-01-31T16:28:21","modified_gmt":"2017-01-31T16:28:21","slug":"form-elements","status":"publish","type":"page","link":"https:\/\/psdev2.com\/blog\/elements\/form-elements","title":{"rendered":"Elements &#8211; Form Elements"},"content":{"rendered":"<p>[vc_row full_width=&#8221;stretch_row&#8221;][vc_column][stack_hero image=&#8221;38&#8243;][vc_column_text]<\/p>\n<h1>Form Elements<\/h1>\n<p class=\"lead\">These modular elements can be readily used and customized across pages and in different blocks.<\/p>\n<hr class=\"short\" \/>\n<p>Explore all of Stack&#8217;s modular elements<br \/>\nat the\u00a0<a href=\"\/elements\/\">Element Index Page \u2192<\/a>[\/vc_column_text][\/stack_hero][\/vc_column][\/vc_row][vc_section][vc_row css=&#8221;.vc_custom_1485825445121{margin-bottom: 30px !important;}&#8221;][vc_column width=&#8221;1\/2&#8243;][stack_boxed_content padding=&#8221;boxed&#8211;lg&#8221; background=&#8221;bg&#8211;secondary&#8221;][vc_column_text]<\/p>\n<h4>Standard Inputs<\/h4>\n<p>Common inputs such as text, email, telephone, password, address etc. Add the class <strong>.validate-required<\/strong> if the input is required in the form.<\/p>\n<p>Alternatively use the <strong>&lt;label&gt;<\/strong> tag before an input for greater user assistance.[\/vc_column_text][\/stack_boxed_content][\/vc_column][vc_column width=&#8221;1\/2&#8243;][contact-form-7 id=&#8221;20&#8243; title=&#8221;Contact form 1&#8243;][\/vc_column][\/vc_row][\/vc_section][vc_section][vc_row css=&#8221;.vc_custom_1485825445121{margin-bottom: 30px !important;}&#8221;][vc_column width=&#8221;1\/2&#8243;][stack_boxed_content padding=&#8221;boxed&#8211;lg&#8221; background=&#8221;bg&#8211;secondary&#8221;][vc_column_text]<\/p>\n<h4>Checkbox Inputs<\/h4>\n<p>Wrap checkbox inputs in the input-checkbox element for a more stylish option. Alternatively, place a span directly after to group the two for visual usability[\/vc_column_text][\/stack_boxed_content][\/vc_column][vc_column width=&#8221;1\/2&#8243;][contact-form-7 id=&#8221;117&#8243; title=&#8221;Checkbox Inputs&#8221;][\/vc_column][\/vc_row][\/vc_section][vc_section][vc_row css=&#8221;.vc_custom_1485825445121{margin-bottom: 30px !important;}&#8221;][vc_column width=&#8221;1\/2&#8243;][stack_boxed_content padding=&#8221;boxed&#8211;lg&#8221; background=&#8221;bg&#8211;secondary&#8221;][vc_column_text]<\/p>\n<h4>Radio Inputs<\/h4>\n<p>Wrap radio inputs in the input-radio element for a more stylish option. Use in conjunction with the &lt;label&gt; tag.[\/vc_column_text][\/stack_boxed_content][\/vc_column][vc_column width=&#8221;1\/2&#8243;][contact-form-7 id=&#8221;120&#8243; title=&#8221;Radio Inputs&#8221;][\/vc_column][\/vc_row][\/vc_section][vc_section][vc_row css=&#8221;.vc_custom_1485825445121{margin-bottom: 30px !important;}&#8221;][vc_column width=&#8221;1\/2&#8243;][stack_boxed_content padding=&#8221;boxed&#8211;lg&#8221; background=&#8221;bg&#8211;secondary&#8221;][vc_column_text]<\/p>\n<h4>Select Inputs<\/h4>\n<p>Wrap radio inputs in the input-select element for a more theme-consistent stylish option.[\/vc_column_text][\/stack_boxed_content][\/vc_column][vc_column width=&#8221;1\/2&#8243;][contact-form-7 id=&#8221;123&#8243; title=&#8221;Select Inputs&#8221;][\/vc_column][\/vc_row][\/vc_section][vc_section][vc_row css=&#8221;.vc_custom_1485825445121{margin-bottom: 30px !important;}&#8221;][vc_column width=&#8221;1\/2&#8243;][stack_boxed_content padding=&#8221;boxed&#8211;lg&#8221; background=&#8221;bg&#8211;secondary&#8221;][vc_column_text]<\/p>\n<h4>Formatting Forms<\/h4>\n<p>Using the <a href=\"http:\/\/getbootstrap.com\/css\/#grid\" target=\"_blank\">Bootstrap column classes<\/a>, you can easily control the widths of the inputs in your form.<\/p>\n<p>The below code would render a form with two equally sized (six columns) inputs in two adjacent columns.[\/vc_column_text][\/stack_boxed_content][\/vc_column][vc_column width=&#8221;1\/2&#8243;][contact-form-7 id=&#8221;126&#8243; title=&#8221;Full Form&#8221;][\/vc_column][\/vc_row][\/vc_section][vc_row][vc_column][vc_column_text el_class=&#8221;text-center&#8221;]<\/p>\n<h2 style=\"text-align: center;\">Looking for styled form sections?<\/h2>\n<div class=\"btn btn-group text-center\" style=\"text-align: center;\"><a class=\"btn btn--primary type--uppercase\" href=\"\/sections\/contact-forms\/\"><span class=\"btn__text\">Contacts<\/span><\/a><a class=\"btn btn--primary-1 type--uppercase\" href=\"\/sections\/forms-subscribe\/\"><span class=\"btn__text\">Subscribes<\/span><\/a><a class=\"btn btn--primary-2 type--uppercase\" href=\"\/sections\/signup-forms\/\"><span class=\"btn__text\">Signup<\/span><\/a><\/div>\n<p class=\"type--fine-print\" style=\"text-align: center;\">or try the\u00a0<a href=\"http:\/\/tommusrhodus.theme-demo.net\/stackwordpresstheme\" target=\"_blank\">admin demo \u2197<\/a><\/p>\n<p>[\/vc_column_text][\/vc_column][\/vc_row]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[vc_row full_width=&#8221;stretch_row&#8221;][vc_column][stack_hero image=&#8221;38&#8243;][vc_column_text] Form Elements These modular elements can be readily used and customized across pages and in different blocks. Explore all of Stack&#8217;s modular elements at the\u00a0Element Index Page \u2192[\/vc_column_text][\/stack_hero][\/vc_column][\/vc_row][vc_section][vc_row css=&#8221;.vc_custom_1485825445121{margin-bottom: 30px !important;}&#8221;][vc_column width=&#8221;1\/2&#8243;][stack_boxed_content padding=&#8221;boxed&#8211;lg&#8221; background=&#8221;bg&#8211;secondary&#8221;][vc_column_text] Standard Inputs Common inputs such as text, email, telephone, password, address etc. Add the class .validate-required if the [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"parent":33,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/psdev2.com\/blog\/wp-json\/wp\/v2\/pages\/5000"}],"collection":[{"href":"https:\/\/psdev2.com\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/psdev2.com\/blog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/psdev2.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/psdev2.com\/blog\/wp-json\/wp\/v2\/comments?post=5000"}],"version-history":[{"count":0,"href":"https:\/\/psdev2.com\/blog\/wp-json\/wp\/v2\/pages\/5000\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/psdev2.com\/blog\/wp-json\/wp\/v2\/pages\/33"}],"wp:attachment":[{"href":"https:\/\/psdev2.com\/blog\/wp-json\/wp\/v2\/media?parent=5000"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}