An ugly solution is <a href="adr_change_frm?f_id=<dtml-var "_.string.replace(id, ' ', '+'">&f_name=<dtml-var "_.string.replace(name, ' ', '+')">">c</a> Be careful that other none url compliant characters dont slip into your variables. -- Andy McKay, Developer. ActiveState. ----- Original Message ----- From: "Olaf Zanger" <olaf.zanger@soli-con.com> To: "Zope Mailinglist" <zope@zope.org> 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 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?
thanks for help
olaf
-- soli-con Engineering Zanger Dipl.-Ing. (FH) Olaf Zanger Nusch Lorrainestrasse 23 3013 Bern / Switzerland Fon: +41-31-332 9782 Mob: +41-76-572 9782 mailto:info@soli-con.com mailto:olaf.zanger@soli-con.com http://www.soli-con.com