Custom built form integration with C5
Permalink
I have built a form that required hand coding because of tableless layout.
How do I get the fields to register on the database so I can see them in the form request dialog box?
Do I simply copy and paste the action code from a standard form?
How do I get the fields to register on the database so I can see them in the form request dialog box?
Do I simply copy and paste the action code from a standard form?
Rather than hand code the form, you could use the regular form block with:
http://www.concrete5.org/marketplace/addons/form-tableless-layout/...
That way you can easily style the form with css and no tables.
http://www.concrete5.org/marketplace/addons/form-tableless-layout/...
That way you can easily style the form with css and no tables.
To change the table layout , you don't need to create a form . You can change the layout by overriding function callled "loadSurvey()" of MiniSurvey class.
Write this funcion in your controller i.e [root/blocks/form/controller.php]
Thanks