Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: cgi based quiz

by sargg55 (Novice)
on Apr 23, 2016 at 10:35 UTC ( [id://1161300]=note: print w/replies, xml ) Need Help??


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/"

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1161300]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2024-04-20 00:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found