Re: [Zope] default values in forms

2000-12-15 Thread Dieter Maurer
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.

Re: [Zope] default values in forms

2000-12-14 Thread Curtis Maloney
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

[Zope] default values in forms

2000-12-13 Thread Olaf Zanger
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

Re: [Zope] default values in forms

2000-12-13 Thread Andy McKay
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

Re: [Zope] default values in forms

2000-12-13 Thread Stefan H. Holek
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

Re: [Zope] default values in forms

2000-12-13 Thread Andy McKay
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

Re: [Zope] default values in forms

2000-12-13 Thread Ivan Cornell
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

Re: [Zope] default values in forms

2000-12-13 Thread peter bengtson
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