in reply to Re: cgi based quiz
in thread cgi based quiz

Hi, Thanks for your help. I've been at this for over 9 hours now( no lie) I just want to know, what was wrong with my old code in cgi and html5 ? the reason why I placed format thrice is because the circles would fill twice or jump. so I thought that would solve it. as for cgi, I think I did what I thought it would be logical .

Replies are listed 'Best First'.
Re^3: cgi based quiz
by poj (Abbot) on Apr 23, 2016 at 10:48 UTC

    The submit sends the parameters within the form tags, ie grp3. The grp1, and grp2 parameters are contained within other forms (without a submit)

    <form action="pagefive.cgi" method="get"> <input type="radio" name="grp3" value="Correct3">Yes< +br/> <input type="radio" name="grp3" value="Incorrect3">No + <br/> <input type="submit" value="Submit"> </form>
    poj
      Would have probably never figured that out Thanks again.

        That's why the distribution includes documentation. And why learning to use (in this case) perldoc cgi (or, on a case-sensitive system, *nix among others, perldoc CGI) at your command prompt is worth doing.

        That's the syntax for a module you have installed; perldoc -f function name will also be useful time after time, and if you have a real interest in the breadth of built-in documentation, try perldoc perldoc.

        Update: Thanx to choroba for calling my attention to the need, for some users, to "s/cgi/CGI/"