Community & Support

How can a customize a drupal form?

I want to create a form that will let users add recipes to my site. I have used cck to create the content type and that all looks good. But what I want to do is Have the ingredient and amount fields on the same line grouped together so a user will type in the name of the ingredient and then the amount in the next box. Also when the user click add another ingredient I want both fields to be added, so that another row with both just pops up. I have been looking for a module to do this but can not find anything for Drupal 6 Any help will be great.

Comments

What you're looking for

What you're looking for looking for is a cck combo field. Check out the issue for it: http://drupal.org/node/119102.
Another option until that work is finished is the http://drupal.org/project/flexifield module.

===
"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." - Lao Tzu
"God helps those who help themselves." - Ben Franklin
"Search is your best friend." - Worldfallz

_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.

I do this by using the Form

I do this by using the Form Markup module. This allows you to place html elements before or after any cck field. I simply add a div with a unique id around the fields i want to group, then via CSS, can change all sub div form items to float left.