I want to assign the values of parameters in a form to another parameter in the same form?
Dear Zope list, I want to cat the values of parameters, all strings, in a form to another parameter in the same form. How would I go about doing this using dtml? -- Sean G. Richards : Web Technician/Treasurer PLUG Purdue University : Engineering Computing Network seangr@purdue.edu :
Sean G Richards wrote:
Dear Zope list, I want to cat the values of parameters, all strings, in a form to another parameter in the same form. How would I go about doing this using dtml?
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...> Is that what you wanted? --Aaron
participants (2)
-
Aaron Williamson -
Sean G Richards