if form.has_key('first_name') and form.has_key('last_name') and form.has_key('extension'): print "

Hello %s" % cgi.escape(form['first_name']).value)