[Zope] Arguments problem

Rob Page rob.page@digicool.com
Thu, 29 Jul 1999 15:26:05 -0400


Is the case of the fieldnames in the form consistent with the method
call?

i.e., 

<input type="text" name="Firstname" value="">

> 	I have done as was recommended and am now getting a 
> different error:
> 	Error Type: Bad Request
>            Error Value: ['Firstname,', 'Lastname,', 'Email,', 
> 'Institution,', 
> 'Telephone,', 'Lastvisit,', 'Passwordvalue,',
>            'Passworddate,']
>            
>         Here's the call:
>         <!--#call "add_users(Firstname=Firstname, Lastname=Lastname, 
> Email=Email, Institution=Institution, Telephone=Telephone, 
> Lastvisit='1-20-77', 
> Passwordvalue=Password, Passworddate='1-30-77', Group=Group)"-->
>        
>         And here's the SQL Method:
>         insert into Users (firstname, lastname, email, 
> institution, telephone, 
> lastvisit, passwordvalue, passworddate, groupname)
>                   values(<!--#sqlvar Firstname type=string-->,
>                          <!--#sqlvar Lastname type=string-->,
>                          <!--#sqlvar Email type=string-->,
>                          <!--#sqlvar Institution type=string-->,
>                          <!--#sqlvar Telephone type=string-->,
>                          <!--#sqlvar Lastvisit type=string-->,
>                          <!--#sqlvar Passwordvalue type=string-->,
>                          <!--#sqlvar Passworddate type=string-->,
>                          <!--#sqlvar Group type=string-->)
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://www.zope.org/mailman/listinfo/zope
> 
> (To receive general Zope announcements, see:
> http://www.zope.org/mailman/listinfo/zope-announce
> 
> For developer-specific issues, zope-dev@zope.org -
> http://www.zope.org/mailman/listinfo/zope-dev )
>