extendable data forms / repeatable fields
Last: thread:194
Extra ordening mechanism
Edited: 09 Dec 2009 15:27 by: Steven Heynderickx
Comments: 1
Next: thread:317
ifPage and ifUser
Edited: 04 Mar 2010 04:28 by: leiger
Comments: 0

Ben MillerBen Miller wrote on 13 Oct 2011 03:09

I'm building a site to track academics through their careers at various universities, and to trace mentor/student relationships between these academics. For simple cases, data forms and a newPage module work well; however, most are not simple cases, and I'm running into problems when I want to add many students to one mentor, or several universities to someone advanced in their career — without cluttering up the form for people who only need one field of each.

What I'd like to see is an "add row" function built into the data forms somehow: an option to insert a button that, when clicked, would duplicate the indicated fields. (There would need to be some kind of suffix added, I guess: student-1, student-2, … student-i.)

Ideally, we would even be able to treat joined fields as a single item for the purposes of this duplication, which would allow users to save, e.g., additional address blocks (name, street, city, state), whether for shipping gifts or, in my case, for university names and locations.

In theory, this should be possible: I've seen advanced search engines do it. But I have no idea what the underlying architecture of the data forms is, despite several hours of combing through the documentation and forums.

Can anyone help me determine whether this is feasible, and how? I'm willing to put in a good amount of time coding and debugging, if you can point me in the right direction.


Start a new sub-thread

Comments: 4

Add a New Comment
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License