By adammichaelroach on
This is the functionality I'm looking for.
I have a content type called Recipe. I need it set up so that there are three input options, a text field for Amount, a dropdown for Measurement, and a text field for Ingredient. I need the user to input the first ingredient, then hit add more, and then add ingredient 2, etc.
So far I've looked at using Fieldgroup Table, but its doesn't look to be in active development.
I can't find anything with this type of functionality. Any suggestions welcome.
Comments
recipe?
Have you tried the recipe module (http://drupal.org/project/recipe)? I haven't myself, but if I'm not mistaken, it does what you're asking for.
There is also some work in progress in this issue (200 comments and counting!): http://drupal.org/node/119102. A couple of great developers is working on a really flexible solution which should allow the user to group a couple of fields of any type and multiply that group when needed. As you will understand, their code is based on D6.
Another approach to the same problem (also D6) can be found in this module-in-development: http://drupal.org/project/flexifield.
As you can see, people are working on it... I hope the recipe module will suffice for now.
The biggest problem with the
The biggest problem with the Recipe module in 5.x is the inability to add or remove ingredients without having to submit then edit. It would be nice if it had the same kind of functionality as the link field type for CCK, where there is a add more button that uses javascript to create new fields on the fly.