[Zope] default values in forms

Ivan Cornell ivan.cornell@framestore.co.uk
Wed, 13 Dec 2000 17:52:37 +0000


Olaf Zanger wrote:

> hi there,
>
> i'd like to send default values for an data update with the link to the
> form
>
> like
> <a href="adr_change_frm?f_id=<dtml-var id>&f_name=<dtml-var name>">c</a>
>
> unfortunately name may contain spaces.
>
> i found out that spaces may be replaced by "+" in the link,
> but how do i get the "+" into the <dtml-var ...> statement?
>

Try
<a href="adr_change_frm?f_id=<dtml-var id>&f_name=<dtml-var name
fmt=url_quote>">c</a>

Ivan