In the face of things like this, we often turn to the form construction to do 
what you want. However, you may be far better off looking at the theme 
function. Just take the values by key and build a table to put them 
side-by-side.
 
Nancy E. Wichmann, PMP
Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.




________________________________
From: Bruno De Bondt <[email protected]>
To: [email protected]
Sent: Thu, March 4, 2010 4:32:32 PM
Subject: [development] re-arranging mutlivalue fields

Hi,

I have two CCK multivalue fields (a nodereference field and a
textfield), both with a set amount of maximum values. My goal is to
build a form that lists these fields as 'nodereference + textfield'
groups, in order to simplify user input. This doesn't seem to be so easy
to do with form_alter(), since a multivalue field is an array of its
own, so re-ordering the fields seems tricky.

Does anyone have ideas on how to approach this?

thanks,
- bruno

Reply via email to