I want to create a recipe content type. I want to have a field that asks the user to enter how the number of ingredients that goes into the recipe. Depending on the number of ingredients the user enters, I want to dynamically create that number of input boxes. So, if the user enters 4, I want four input boxes to appear for the user to enter each ingredient into. How do I do this? Do I need another module to do something like this? Is there a way for me to program CCK to do it? I'm proficient in C++, so hopefully I won't find PHP too hard if I need to mess around with the php code.
I considered using a textarea for the ingredients, but wouldn't a list of input boxes make more sense? (since ingredients are just a list?).
Any help is appreciated!
edit: nevermind, i found my answer! guess i didn't look hard enough :-)
Comments
For future reference, what
For future reference, what solution did you use?
Multigroup CCK3
I guess he uses the CCK3 - Multigroup module.
Goto the CCK project page, and follow the link to all releases. You'll find one that is 6.x-3.x-dev. This is a development snapshot that's built automagically twice a day or so.
http://drupal.org/node/494100