[Zope] Problem with dtml-if sequence-start
Dylan Reinhardt
zope@dylanreinhardt.com
01 Aug 2003 08:47:27 -0700
On Fri, 2003-08-01 at 05:22, Borja Prieto wrote:
> I have a problem with the following code, wich is a DTML methos that
> processes a form:
>
> <dtml-with REQUEST>
At best, this does nothing of any value.
> (First, I check if the user has completed the txtCertificado field)
> <dtml-unless txtCertificado>
> <dtml-return "RESPONSE.redirect(URL1+'/InicioIC'+'?msg_error=Error:
> debe introducir un número de certificado')">
There is no dtml-return. You want dtml-call.
You can read more about DTML here:
http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/DTML.stx
HTH,
Dylan