Perl CGI script giving me problems

Denny london.pm at metamathics.org
Thu Feb 8 12:00:40 GMT 2007


On Thu, 2007-02-08 at 11:21 +0000, peter church wrote:
> Hi,
>     I am in the middle of my first CGI project and I am stuck on 2 issues. I
> am creating an answers file using a form one attribute at a time,
> so the form pops up asks a question with a submit then prints the previous
> answers and brings up the next question etc.
> what I need to do is
> 1) make the cursor appear in the box containing the current question each
> time
> 2) make the web page scroll down to where the box is if the page is longer
> than a standard browser window
> 
> is this easy to achieve with the Perl CGI module?

Hiya.  You can do those both with HTML and CSS, you don't specifically
need Perl.  Use accessibility hints to tell the browser where the cursor
should end up, and use an anchor (possibly in combination with a
redirect) to load the page at the correct location.

Feel free to email me off-list if you want more detailed help with it.

Regards,
Denny




More information about the london.pm mailing list