Quick CGI Wizard
Quick CGI Wizard is very useful tool which helps you to create simple CGI scripts. To start Wizard press Tools -> CGI Wizard in menu.
Quick CGI Wizard splitted into few steps:
1. On this step you must specify HTML file containing form which you will grab your input from. If file has more than one form you can specify input form in the drop down list. Quick CGI support few input methods:
- Standart
- cgi-lib.pl
- CGI.pm
2. Here you can set validation options, condition for each form field and error message if condition is not met.
Also you can specify HTML file which you will use as template to generate output with error messages. In this template to specify place where to put error messages text use [errors] construction.
3. This step allows you to save input data to the file. You must specify file name (and path if needed) and type of data writing: add data to file or rewrite file. Also you must specify template for data saving.
4. You can send up to 4 mail messages. For each message you must specify To, From, Subject fields and text. In all of this fields you can put input field value with such construction [%fieldname%], where instead of %fieldname% you must specify field name you want to put here.
Active mail message button is bold and if you are sure you want to send it, check the box on the left of active Edit button.
5. On the last step you select how your script will generate output: use template or redirect ot other webpage. If you select to use template you can use [%fieldname%] construction in your template (See 4th step).
|