[Tutor] cgi module and checkboxes.

alan.gauld@bt.com alan.gauld@bt.com
Tue Dec 10 06:07:02 2002


> attached is roster.py, It's unfinished, but you should be able to see
> whats happening :-)

OK, You have discovered FieldStorage.
So what is happening? Without a web server its hard to try the code out...

> the problem lies within the last 10 lines of code

	elif cgi.form['action'].value == 'addproject':
		if cgi.checklog():
			print cgi.formitems
			print cgi.form['uid'].value


This bit presumably. But what does get printed?	Anything? 
Or do you get an error message? If so what does it say?

Alan g