|

Point your browser to: http://www.yourdomain.com/forms/index.php. This will take you though the form generator tool to create your forms. Each time you want to generate a form, complete the process below.
There is a five step process for creating forms.
- Enter the number of fields that you want to have on your form.
- Describe each of the fields.
- Required? Check the required check box if you want this form field to be required (users who don't enter this field will get an error and will be prompted to try again).
- Field Name - This is the name that the user will see when entering the information on the form.
- Field Type
- Check Box - Checkboxes allow the web user to click on a box to toggle a value to either yes or no.
- Text Box - Text Entry Fields allow the User to enter non formatted, and/or non validated text.
- E-mail - E-mail captures an e-mail address and completes format checking on the input.
- Password - Password entry that hides the input
- Radio Button - Radio Buttons provide a mutually exclusive selection value. Only one button may be pressed.
- Drop Down Select - Drop Down Select or Combo Box provides an efficient way for the user to choose a value from a list of valid values. The user can select a single or multiple items.
- Text Area - Text Area Entry field allows multiple lines of entry to be entered by the user
- File Upload -
- Hidden Field - information that you want to capture but that the user does not enter including session information, date/time or similar
- Env. Variable - IP Address, Web Browser, Operating System
- Field Size 1 and 2 - Based on the Field Type, the field size are used to define the input.
- Check Box - leave blank
- Text Box - Field size 1 is optional. The value of field size 1 will be applied to your text box, if left blank the default value will be used.
- Radio Button and Drop Down Select - Field size 1 is required. They denote the number of options for those two fields.
- Text Area - Field size 1 and 2 are both required and they define the rows and columns of the text area.
- File Upload - Field size 1 defines the maximum file size that can be uploaded. If field size 1 is left blank, then any size file can be uploaded.
- Entry Options
- For Radio and Drop Down Select, enter the options to be displayed.
- For the hidden field, enter the value for the hidden field
- For the Env. Variable, select the type for value to capture
- Datebase/E-mail Information - This form captures how the data will be captured and saved and defines the redirect page after the form is complete. The three options are e-mail, flat data file, or insert the data into a MySQL database. If you use MySQL, enter the database access information, table information and table column names. The table column names are required. When choosing names for table columns, please make sure you don't have spaces in these names. Also, some of the names are "reserved words" in SQL. So if you 'think' that some column name you chose might be a reserved word in SQL, try adding a prefix to it like: a_delete (delete being a SQL word).
- Generation Status - At this point, the form will be generated. If there were errors, a notification will be displayed. Two html pages will be generated. The first file is the form. http://www.example.com/phpform/forms/form1.html This file contains the form that was created. The second file is an administrative portal. http://www.example.com/phpform/phpform/forms/admin/index.php This is your portal for maintaining your form usage. If you have used the 'database' or 'file-based database' option of the program, you can take advantage of this portal which will let you view all the records filled in through your form.
|