Drupal Webform textfield dynamic growing list

Posted by Bob Crowley on Stack Overflow See other posts from Stack Overflow or by Bob Crowley
Published on 2012-06-27T12:43:28Z Indexed on 2012/06/29 21:16 UTC
Read the original article Hit count: 170

Filed under:
|

Just curious...

I have a project where people can input their cooking recipes. I would like to build a webform that will have a textfield and when it is filled in a new textfield appears below. A "growing textfield list". Let me try to show it here:

Ingredient #1  _________________________________  [add]

When you type and ingredient click "add" you then are going to see:

Ingredient #1  Potatoes_________________________
Ingredient #2  _________________________________  [add]

Sorry for not knowing the proper markup. However if anyone knows:

a) the proper term for this ( I call a growing textfield list )? b) how to do it with webform in drupal?

© Stack Overflow or respective owner

Related posts about drupal

Related posts about dynamic