<cfloop index="i" list="#ListGetAt(attributes.menuid, 2, "|")#">
        <!--- Assign the displayorder to the menuid --->
                <!--- Update query goes here --->
</cfloop>

The problem is that attributes.menuid does not exist as it will actually have a number on the end, attributes.menuid|7 for example.

I may have done this all wrong. I would put the menuid onto the value of the text field but then it get displayed a looks messy.

Is there another way? Or can I refer to the fieldname and extract the bit after the | ?

Cheers

Dave

At 10:43 2/25/2003 +0000, you wrote:

what's the loop code you've got?


Duncan Cumming IT Manager

http://www.alienationdesign.co.uk
mailto:[EMAIL PROTECTED]
Tel: 0141 575 9700
Fax: 0141 575 9600

Creative solutions in a technical world

----------------------------------------------------------------------
Get your domain names online from:
http://www.alienationdomains.co.uk
Reseller options available!
----------------------------------------------------------------------
----------------------------------------------------------------------





Dave Phipps

<[EMAIL PROTECTED] To: ColdFusion User group <[EMAIL PROTECTED]>
cf.co.uk> cc:


Subject: [ cf-dev ] Form loop help?
02/25/03


10:41 AM

Please

respond to

dev










Hi,


I have a form that I can't seem to work out how to handle.

I have some text fields which are defined as follows:

<input type="text" name="menuid|#menuid#" value="#displayorder#">

What I can't seem to work out is how to loop through these fields so that
the value of #displayorder# is inserted against the #menuid#.

Any ideas?

Thanks

Dave


-- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]






-- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]


============================================
Phipps CF Development
Oxford, Oxfordshire.
Telephone: +44(0)7718 896696
http://www.phipps-cf.co.uk
============================================


-- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]



Reply via email to