[development] Multiple similar Forms on same page

Ernst Plüss ernst.pluess at gmail.com
Fri Jun 1 09:39:56 UTC 2007


Hi All

I'd like to show the same form multiple times on one page. I tried to
do this by calling drupal_get_form in a loop. Unfortunately this
doesn't work since drupal makes them 100% identical (same form id and
form-token) which means up on submition drupal cannot tell which form
has sent the answer.

Note that the forms are not 100% identical, they differ by things like
item id and selection options. This is handled in the form building
function.

What's the right way of implementing this?

Best Regards
Ernst


More information about the development mailing list