This step is only for users upgrading from a previous version of FORMfields/FORMgen. We recommend that you rename the existing FORMfields directory in your root directory to something like FORMfieldsOld. This way you can more easily copy over the previous configurations that were in dbHelpers.php, FORMfields.css, and tableHelpers.css to your new FORMfields installation.
Unzip the FORMgen archive to the root directory of your website. We recommend that you first save the FORMfields archive to your local machine and then use WinZip or another similar application to unzip your files. Then you should use an FTP program to copy the unzipped files to the root directory of your web server. Important: all directory and file names are case sensitive and must remain intact. After you are done copying these files to your web server, you should have two directories: http://www.yourdomain.com/FORMgen and http://www.yourdomain.com/FORMfields.
Use a FTP program to change the permissions on the /FORMfields/uploads directory to full write permissions. Alternatively, you can set the permissions on this directory using a command like chmod 777.
Test out your installation by going to http://www.yourdomain.com/FORMgen/index.php.
Database Configuration
If you are going to be using the database functionality of FORMfields or TableHelpers then:
Use an FTP client to download the file http://yourdomain.com/FORMfields/dbHelpers.php.
Open this file in a text editor and set DB_HOST, DB_USER, DB_PWD, and DB_NAME to your database’s configuration. If you are unsure as to what these values should be, please refer to your hosting company’s control panel or contact your hosting company’s tech support.
DB_HOST - The hostname of your database
DB_USER - The username for your database account
DB_PWD - The password for your database account
DB_NAME - The name of your database
For example, your modification to dbHelpers.php should look something like:
define ("DB_HOST", "localhost");
define ("DB_NAME", "mydatabase");
define ("DB_USER", "myuser");
define ("DB_PWD", "mypwd");
FTP dbHelpers.php back to your website.
Setup of FORMgen Examples
If you wish to setup the FORMgen examples on your website then use your web browser to visit: