structKeyList(form) will give you a list of all the form fields passed you can reference any form field dynamically using struct notation
ie form["whatsit#i#"] etc this works with all scopes and with queries you can even access rows using this syntax q_roles["role"][3] which means row number three, column role etc On Sat, Sep 10, 2011 at 7:47 AM, Clifford Moon <[email protected]>wrote: > Greetings, > > I'm having to custom build a form that has is dynamically sized and > I'm having to create the field names, differentiating them by a value > at the end of the form field .. ie CourseTitle_1, CourseTitle_2, etc. > The value at the end is the ID of the Record that will need to be > updated. Once I submit this form, how can I evaluate those fieldnames > and get the values from them within the controller. I know what those > values being appended to the end of the form field name are because > they are submitted as a hidden list within the form. > > Any help is greatly appreciated. > > Thanks, > > Cliff > > -- > Model-Glue Sites: > Home Page: http://www.model-glue.com > Documentation: http://docs.model-glue.com > Bug Tracker: http://bugs.model-glue.com > Blog: http://www.model-glue.com/blog > > You received this message because you are subscribed to the Google > Groups "model-glue" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/model-glue?hl=en -- Zac Spitzer Solution Architect / Director Ennoble Consultancy Australia http://www.ennoble.com.au http://zacster.blogspot.com +61 405 847 168 -- Model-Glue Sites: Home Page: http://www.model-glue.com Documentation: http://docs.model-glue.com Bug Tracker: http://bugs.model-glue.com Blog: http://www.model-glue.com/blog You received this message because you are subscribed to the Google Groups "model-glue" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/model-glue?hl=en
