How can a customize a drupal form?

sfmerv - December 2, 2008 - 14:45

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.

What you're looking for

WorldFallz - December 2, 2008 - 14:55

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

I do this by using the Form

ianfoxfire - December 2, 2008 - 15:12

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.

 
 

Drupal is a registered trademark of Dries Buytaert.