Overview
After creating a form, developers can publish forms created in Solodev Forms to their website via shortcodes or using the module directly. This document will outline both steps.
Prerequisites
Before publishing a form, developers should:
Create a form module and a form.
Create a submission page and activate the redirect on submit button.
Capture the ID number of the form module.
Publishing the form
Publish forms with the form module
From the Solodev dashboard, click websites.
Expand the www folder.
Open the page that is supposed to contain the form.
Select the dynamic div that will house the form.
Open the directory that contains the form datatable.
Click the datatable to place it into the dynamic div.
Click Publish.
Publish forms with shortcodes
To publish forms with shortcodes, please refer to the following steps:
From the Solodev dashboard, click websites.
Expand the web files folder.
Open the folder that will contain the form content.
Open the HTML or .tpl file or create the HTML or .tpl file that will contain the form content.
Enter the shortcode with the ID number of the form module adhering to the syntax below:
['form id = #']
where the # is the form module ID#.
Click Publish.
Expand the www folder.
Open the page that is supposed to contain the form.
Select the dynamic div that will house the form.
Click the HTML or .tpl file that contains the form content to place it into the dynamic div.
Click Publish.