Hi Rick,

your original question was about updating multiple records and checkboxes. You can 
only update multiple records when you want to put the same value(s) in the same 
column(s) for all records. This is often the case with checkboxes, because you just 
want to set a flag on all checked records.

Your code has a select inside a rows loop. This is not going to be suitable for 
updating in one statement, because the user will make different selections for each 
item. You will need to loop through and update each record separately. The other posts 
in the thread had some suggestions. I would forget the hidden input. Use the 
editorialArrayId as the name of the select. To process the form...

assign myArgs <@postargnames>
for each row in myArgs (for loop action)
   if <@isnumber <@var myArgs[@@counter,1]>>
      update action
      (id = <@var myArgs[@@counter,1]> in the top pane
      <@arg <@var myArgs[@@counter,1]>> in the values pane)

Be clear that each line of this pseudo code is an action from the actions bar, not 
code in a results html.

Good luck
Simon


-- 
_______________________________________________
Get your free email from http://www.graffiti.net

Powered by Outblaze
________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body

Reply via email to