Curtis Maloney writes:
a href="dtml-var " 'adr_change_frm?f_id=%sf_name=%s' % ( id, name ) "
fmt=url_quotec/a
Be careful:
In general, the part after "?" must be quoted differently
from the part before.
After "?", a blank must be coded as '+',
before "?", is must be unchanged.
On Thursday 14 December 2000 04:52, Ivan Cornell wrote:
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 idf_name=dtml-var name"c/a
unfortunately name may contain spaces.
i
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 idf_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
State.
- Original Message -
From: "Olaf Zanger" [EMAIL PROTECTED]
To: "Zope Mailinglist" [EMAIL PROTECTED]
Sent: Wednesday, December 13, 2000 6:55 AM
Subject: [Zope] default values in forms
hi there,
i'd like to send default values for an data update with the link to
On Wed, 13 Dec 2000, Olaf Zanger wrote:
i found out that spaces may be replaced by "+" in the link,
but how do i get the "+" into the dtml-var ... statement?
what you want is dtml-var blah url_quote
see the DTML guide:
http://www.zope.org/Documentation/Guides/DTML-HTML/DTML.5.html
HTH
c: "Zope Mailinglist" [EMAIL PROTECTED]
Sent: Wednesday, December 13, 2000 9:04 AM
Subject: Re: [Zope] default values in forms
On Wed, 13 Dec 2000, Olaf Zanger wrote:
i found out that spaces may be replaced by "+" in the link,
but how do i get the "+" into the d
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 idf_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
snip
i found out that spaces may be replaced by "+" in the link,
but how do i get the "+" into the dtml-var ... statement?
dtml-var something url_quote_plus
Can't honestly remember where the word "plus" is supposed to be, but search
the DTML Reference documentation.
thanks for help
olaf