Hi all,

I have a strange thing going: I build a form with the webform module. And I set it on
"Promoted to front page" in the publishing options. But when I open my startpage
or frontpage I got indeed the Title of my webform content and a description but
the form elements do not appear before I click on a link called "go to the form".
What is happening here? Does anyone can help me or has an idea how to solve
this problem?
What can I do?

Thanks a lot,
Soezkan

Comments

marcvangend’s picture

Try this (I'm not 100% sure if this is the solution): Go to the edit-page of your webform, open the 'Webform advanced settings', check 'Show complete form in teaser' and save the form.

soezkan’s picture

That was the hint I needed! Thanks a lot.
Now it works :)

Soezkan

jazzitup’s picture

I've tried that with my webform that has a couple of page breaks, but I can't proceed to page number two by submitting the first part of my webform from the frontpage...

Reported issue:
http://drupal.org/node/267945

--
www.jazzit.hr

marcvangend’s picture

I once did something that might be a workaround for you in this case:
I created a plain html form, put it in a block and let it post to the webform. In the webform, I put the values from the front-page form into hidden fields. I guess this should work for you as well.

jazzitup’s picture

I have a webform divided by 3 pagebreaks (which makes 4 smaller subforms)...

http://localhost:
(1) Step 1 (after submitting this custom form on a frontpage, I'd like to go to "Step 2" of my webform)

http://localhost/webform_url:
(1) Step 1
(2) Step 2
(3) Step 3
(4) Step 4

If I put the first "subform" as a custom HTML form (in a block on my frontpage), which is exactly I'd like to do - because of the
completely different design, and pass those results to hidden fields of my webform, then how could I skip "Step 1" of my webform location (webform_url)?

--
www.jazzit.hr

marcvangend’s picture

Good question - but I'm afraid I can only say "I don't know". Maybe you can PM one of the webform developers and ask if they have time to have a look at this forum topic.

quicksketch’s picture

Speaking as a maintainer/developer of Webform. Please, please, please! Don't ever private message a developer with a support request! The frequent support requests received by e-mail often leads prominent Drupal developers to disable their contact forms. If you mail a support request to a developer, you can expect to be shunned in any support requests you ever submit to that developer. It's highly discouraged.

Open a support request instead in the project's issue queue. Many maintainers also specifically request that issues are posted to issue queues, not forums. That's the appropriate place to work back and forth on solutions, because you can post patch files and the issues can easily be cross referenced. It also makes it so that you can easily find other people that have had the same problem, or even find that the problem has already been corrected.

Nathan Haug
creative graphic design        w: quicksketch.org
& software development       e: nate@quicksketch.org

marcvangend’s picture

Nathan, my apologies for the suggestion of sending a PM, I sould have realized that developers like you probably receive more than enough support requests by PM and email.

I deliberately suggested to ask the developer (you, in this case) to have a look at the forum, instead of sending the support request directly, so the actual support remains on this site. However I understand that even this is considered an unnecassary waste of time and mailbox. Can I emphasize my apologies with a donation to the (excellent!) Webform module?

Marc

jazzitup’s picture

If we were in Japan, someone from the Drupal core developer's clan would probably force you to cut your own thumb with the Samurai katana and I would be beaten to death by Drupal Ninjas on a public square. However, I guess the point is taken. We will sin no more. :)

To add some value to this post, I'll describe the solution as an answer to my own post from above:
1. Go to the first page of your multipage webform
2. Copy the HTML code between <form> and </form> inclusive
   (the key is in hidden fields)
3. Paste it into your frontpage PHPtemplate file and modify as needed
4. Use some extra hidden fields if necessary

As you can see, the solution should be very simple and you could use fully customized "STEP 1" on any page, or any block you'd like, without touching your webform itself.

Good work, Ninjas, and sorry once again!

agrawalyogesh’s picture

Hi, Where do I find webform module for drupal 6.x, can someone provide me with the link to it.

Thanks,
Yogesh

marcvangend’s picture

Take some time to get to know drupal.org. The download-button (top right menu) will take you to the project pages where all controbuted modules and themes are available. You will find webform at http://drupal.org/project/webform.

agrawalyogesh’s picture

Thanks, I went to the module link and I couldn't find it there, any way thanks once again