Hi there, Thanks for your help. I'm currently using the following code, which works perfectly; <dtml-in expr="REQUEST.form.items()"> <dtml-let text="_['sequence-key'] + 'x' + _['sequence-item']"> <dtml-call expr="updateDB(text)"> </dtml-let> </dtml-in> Randy's response provided the following code, which didn't work nor did any variation on it. Surprising as it 'appears' to be doing almost the same thing as above(?). <dtml-in expr="REQUEST.form.items()"> <dtml-in expr="updateDB(text=_['sequence-key'] + 'x' + _['sequence-item'])"> <dtml-var result> </dtml-in> </dtml-in> Cheers, Lee jpenny@universal-fasteners.com wrote:
On Sat, Jan 13, 2001 at 06:11:08PM +0000, Lee wrote: You have indeed overlooked something. There are tons of things in REQUEST unrelated to your form.
To simply display the entire request, put <tml-var REQUEST> in display/index_html
To access the value of name1 in display/index_html, you can use many forms:
<dtml-var REQUEST['name1']>
<dtml-var name1> #may get something else if name1 is NOT in REQUEST
<dtml-with REQUEST> <dtml-var name1> </dtml-with>
<dtml-in ('name1', 'age1', 'name2', 'age2')> <dtml-var "REQUEST[_.['sequence-item']]"> </dtml-in>
-- Lee Reilly mailto:lee.reilly@ntlworld.com ø¤º°`°º¤ø,,,,ø¤º°`°º¤ø,,,,ø¤º°`°º¤ø,,,,ø¤º°`°º¤ø,,,, HAVE SKILLS; WILL TRAVEL. I'm currently looking for an internship in the USA in the field of web development. Ideally, I'm looking for a placement for 3 to 18 months. Can you help? More details, my resume, etc. @ http://homepages.strath.ac.uk/~aeu97172/ </shameless plug>
participants (1)
-
Lee