Could you allow the use of a nodereference field for select options? Or maybe the result of a view? Even allowing php in the options box would work -- that way, any type of field or select statement could populate options. A "php" checkbox maybe so you'd know to evaluate it to get the option list?
Comments
Comment #1
aaron1234nz commentedI like the option of the php check box to evaluate php code. I'll see what I can craft up. It should not be too hard to implement.
Comment #2
aaron1234nz commentedThis feature is now implemented in the latest dev. You can add php code in the options box now. This code should return an array of values. Note there is an extra permission you must set before you can add php code.
can you give it a test and let me know how you get on.
Comment #3
aaron1234nz commented@lutegrass
have you tested this feature?
Comment #4
chrisschaub commentedHi, I hope to this weekend. Sorry, got swamped. I'll report back in a bit. Thanks.
Comment #5
chrisschaub commentedOk, sorry for taking soooo long to test this out. I see the option, but I am unable to save them. I'm using the rootcandy theme. When I click the save button nothing happens. Must be some sort of javascript conflict. I'll try to test with garland. Also, if you define your field with columns, is it possible to add more rows on the fly? Or predefine the number of rows in the table? Thanks.
Comment #6
intrafusion