[development] Multiple similar Forms on same page

Ernst Plüss ernst.pluess at gmail.com
Fri Jun 1 13:51:11 UTC 2007


After all: Found the answer at
http://www.gtrlabs.org/blog/dayre/drupal_5_how_to_process_multiple_instances_of_the_same_form_on_the_same_page

Best Regards
Ernst

2007/6/1, Ernst Plüss <ernst.pluess at gmail.com>:
> 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