[Zope] newbie in python script

J Cameron Cooper jccooper at jcameroncooper.com
Tue Oct 14 12:43:53 EDT 2003


> I appreciate if you can explain my error below  or point me to some form
> processing python scripts.
>
> Error Message
> ============
> Site Error
>
> An error was encountered while publishing this resource.
>
> Invalid request
> The parameter, f_name, was omitted from the request.
>
> Make sure to specify all required parameters, and try the request again.
>
>
> Data Entry Form
> ==============
> <form action="addEntry_ps" method="post" enctype="multipart/form-data">
> <table>
>    <tr>
>       <td>Your Name:</td>
>       <td><input type='text" name="f_name" value="" /></td:>

I think your problem is right here. The type has mixed quote types. That 
probably breaks the form.

You can always print out the request object to check its contents::

print context.REQUEST
return printed

             --jcc




More information about the Zope mailing list