[Zope] Empty lines in forms?

Juan Garcia Garcia juangar@dei.inf.uc3m.es
Fri, 25 Jan 2002 15:12:34 +0100 (CET)


Hi,

  i suggest you an easy solution. You can erase the line with the
hidden input, and in the document that it's called from the form
you must check if the variable exists, and if it's false you set
an empty list for this variable.

The code:
<dtml-if "not REQUEST.has_key('variable')">
  <dtml-call "REQUEST.set('variable', [])">
</dtml-if>

Bye. Juan