faqts : Computers : Internet : Web Servers : Zope : Common Problems

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

6 of 7 people (86%) answered Yes
Recently 3 of 4 people (75%) answered Yes

Entry

Using dtml how can I cat the values of parameters, all strings, in a form to another parameter in the same form?

Jul 16th, 2000 22:55
unknown unknown, Aaron Williamson


I tested using this:
<dtml-call "REQUEST.set('foo','this is a string')">
<dtml-call "REQUEST.set('bar','so is this')">
<dtml-call "REQUEST.set('foobar',foo+bar)">
and it worked, so I guess you could just use
<dtml-call "REQUEST.set('all_params', param1+param2+etc...>