Here is what you could do:

In form:

<cfloop i=1 to ArrayLen(ARRAY) >
    <input name="Array_#i#" value="#array[i]#">
</cfloop>

In Action Page:

<cfloop i=1 to ArrayLen(ARRAY) >
    <cfset array[i] = form["Array_#i#"] />
</cfloop>

Andy
-----Original Message-----
From: Robert Orlini [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 03, 2004 2:02 PM
To: CF-Talk
Subject: update an array

  I have a form that displays information from an array into input text
fields.

  I want the user to be able to change values in these boxes and submit the
form and update the values.

  How do I update info in an array?

  Robert O.
  Wilson
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to