I currently have an Active Perl program that serves as a 'Contact us' page for a web site. The server is a Windows 2000 server. The script works with an HTML template, which displays empty fields for the user to input data within, along with a SUBMIT button. The input data is error checked by the script (upon the visitor clicking SUBMIT), and the input then is forwarded via email (the server has an email service available).
I would like to take this existing set of templates and script and modify it to function as a random questionaire generator.
I would like to have a series of predefined questions randomly displayed to a visitor of a particular web page. I can provide the HTML template for this page. I want a random question to be inserted into the web page, and the input fields that the visitor inputs will be sent just like the existing script does.
Essentially, all I want to do is to use the same Active Perl script and HTML template but to insert a random question into my existing HTML doorway page (using a variable in the HTML code), and then include that question with the data that the visitor inputs into the form when they click SUBMIT. It is fairly simple. There is one more item, however...
I don't expect the number of questions to exceed more than a dozen or two.
Please read the project first and write the word "Understood". Also write your steps and suggestions to complete the project with a short description of what you understood.