I created two webforms. I found that trigger either one of the form to generate a webform block will trigger another form clear the generate webform block checkbox automatically.

Is it a bug or a limitation on webform block module ?

Comments

amaudy’s picture

No idea,

I ever create 2 form in same page (use Panels module for display 2 forms in same page).

I'm not found this issue.

adrianmak’s picture

I'm not put two forms on the same page too. They are put on different node content.

But When I generated webform block of a webform, another webform block in the block section will disappear.
And I checked that form is cleared the generated webform block.

update:
Just did a fresh installation of drupal and webform and webform block is installed only

Same result as I described.

Poieo’s picture

I can confirm this issue. Only one webform block is allowed at a time, regardless of where the blocks are placed. As soon as you activate a block for one webform, any others that have been activated are automatically disabled.

4ud’s picture

I can confirm this issue too. To bad...
Hope Mike can help us.

TIA, 4ud

someone_cooler’s picture

Having the same issue here.

So it would seem that you can only create one Webform block for you entire site rather than having a block for every form. This module is great but could really be much much more if it generated a block per webform to utilize anywhere else on your site.

Does anyone have any ideas on how to fix this? I am going to try and look into this myself to see if i can figure out a way to have it create new instances. If i figure it out i'll post my findings or problems.

budda’s picture

Version: 6.x-1.0 » 6.x-1.x-dev
Status: Active » Needs review

Confirmed the bug. Good spot. I've only ever used it on a single form!
Was a small oversight in the SQL.

I've committed a fix to the dev package for you guys to try.

mkrapf’s picture

With the original code I embedded two form blocks in one node. One of those forms repeats itself twice. After using the dev version and emptying cached, the problem remained.

budda’s picture

This sounds different from the bug regarding now being able to see more than 1 webform listed on the block admin page?

Could you open a new issue for that -- and possibly attach a screenshot (and/or a url) to demonstrate the problem and desired effect.

thecompnerd’s picture

Sorry, I'm a bit new to the Drupal community and lingo, so are you saying that there is a test module that can be downloaded right now? I couldn't find the dev package you're referring to. I'm anxiously awaiting the fix that you've been working on.

Thanks.

Poieo’s picture

The dev is here: http://drupal.org/node/448520/release

If you visit the project page for a module, you can visit the link "view all releases" to see all the versions out there.

budda’s picture

Status: Needs review » Fixed

I've added the dev snapshots to the project homepage now too.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

surya.sairaam’s picture

Hi, this mighty be in page.tpl.php, your repeating same code 2 times eg:

print render($page['contact_form']);
print render($page['contact_form']);