This script will build a fully working online form based on a text file input formatted in a way that is compatible with this builder. Below is an example. This is saved to a file named "form_data.inc"

form_mail_sender:::jnl.pagobo@gmail.com
form_mail_receiver:::junilo.pagobo@yahoo.com
form_mail_subject:::Contact Form Mail Message
form_mail_thank_you_message:::Message received. We will get back to you as soon as we read your message. Thank You.
form_button_label:::Submit Form
form_field:::text:::required:::First Name
form_field:::text:::required:::Last Name
form_field:::text:::optional:::Phone Number
form_field:::radio:::required:::Size:::Small|Medium|Large
form_field:::checkbox:::optional:::Please indicate choices:::Red|Blue|Green
form_field:::dropdown:::required:::Please select location:::North|South|East|West
form_field:::textarea:::required:::Questions/Comments:::5:::30
The first 5 rows speaks for themselves. For these first 5 rows, the user building the form can replace the data (in each row) following the ':::' Note that all ':::' are to be kept, otherwise the form builder will fail.

Take note of the textarea, the last 2 parameters; 5 and 30 are for rows and cols, value for rows comes first then value for cols.

The next rows, those with 'form_field' are the actual fields that goes to the form. So you have control over what fields to put in, whether to make them required or optional.

 Try it.