How to duplicate a form block for different styles?
Permalink
I am using Concrete5 v.5.5.1. I would like to duplicate a form block to have the form displayed in 2 different styles. The current form block has <table>, <label> and <input> tags within controller.php file. That means I cannot create custom templates (or can I?).
I want 2 styles of forms within the website I am building. If I can duplicate the form block, this can be easily done but I'm not sure how to duplicate the form block so that I can choose between 2 form blocks to add to any page.
Thanks
I want 2 styles of forms within the website I am building. If I can duplicate the form block, this can be easily done but I'm not sure how to duplicate the form block so that I can choose between 2 form blocks to add to any page.
Thanks
I always use the "Form Tableless Layout" addon which gives you a completely CSS output of the core form block.
http://www.concrete5.org/marketplace/addons/form-tableless-layout/...
It's actually simply a custom template for the form block. I then actually just take a copy of the template and modify it further if I need any special DIVs or CSS.
http://www.concrete5.org/marketplace/addons/form-tableless-layout/...
It's actually simply a custom template for the form block. I then actually just take a copy of the template and modify it further if I need any special DIVs or CSS.
Seems to work and submit OK, including the CAPTCHA thingy. Now of course customise it as you see fit.