|
You must have some knowledge of HTML before trying to create CGI Forms. AlaWeb does not offer direct support on this feature but will often anwser direct questions related to CGI Form. Prior to attempting to transfer your file(s) to our FTP server you will need to email AlaWeb for your permissions to be set if you have never uploaded to your home directory.
Before jumping into the creation of a form you must have a general understanding of how CGI Forms work. CGI Forms use four differnt files, you will be using three HTML files and one Text file. The main HTML file has variables that are directly related to the Text file. The Text file should be located inside your AlaWeb home directory for proper function. The text file will actually be the email that you will receive when the form is submitted with the variables. The other two HTML files are the files that are viewed after the submit button has been pressed. After the form is submitted, you will either see a Success HTML page $LocationOK$ or an Error HTML page $LocationKO$ when a required field is empty. The Success page and the Error page should be located in your home directory. The Fields in a CGI Form can either be optional or required. You should use the variable Opt.variable for Optional or Req.variable for Required fields. I think it will be easier if I show you an example and you try it on your own. Be sure to customize the template for your own use. You can email Support with questions.
|