You are not logged in.
Pages: 1
Hey a short question,
How can we call a form (made in form builder) in a template file?
Where is the example file located (the special template).
Now we run into the problem that we can only add a form to a page and can not tweak properly
Offline
The Form Build extension includes a template (it's in /extensions/com.fastspot.form-builder/templates/). You can copy that template in the database and the files from that folder to your main /templates/ folder and modify it there if you want a custom template that includes extra fields.
Offline
Is it possible to call the form in the template?
$form = new formbuilder('nameform')
Offline
You can get the form's data in another template with this code:
$form = BTXFormBuilder::getForm($form_id);
You'll need to look at how the template draws all the fields contained in the form data.
Offline
Pages: 1