This is a great idea for a module and has some pretty cool features. I'm using Data tables to populate select fields and would like to generate controller field value mappings based on the contents of such a table.
In my case, I have a table which lists postcodes with distributors who cover those postcodes. There are overlaps, so one postcode could have more than one distributor and one distributor can cover more than one postcode.
e.g.
3000|dist1
3002|dist1,dist2,dist3
etc.
If there is a better way to do this I'm open to it. Perhaps through Views.
Comments
Comment #1
smoothify commentedThis is planned, I just need to get the module to a good working state before I add this.
Comment #2
drupalnesia commentedI think you must change the format of "controller_key|key1,key2,key3,key4" to array format, so we can use PHP code easier.
An array format like this maybe will be used,
$array[controller_key][key], i.e:EDIT: btw, i think we can use built-in cck "Allowed value" and "PHP code" rather than use separate textarea?
Comment #3
smoothify commentedI've moved on from Drupal Development work now, and so unfortunately i need to abandon this module. If anyone is interested on reviving it, please let me know through my contact form.