I'm having a problem. I've added a webform to a page, and I can see all the fields in the webform settings for that page, but no form elements display on the page when the page is previewed or viewed.
I also tried creating a webform and adding form fields to it as well, and there too, I was unable to see any of these fields when I view the form.
I've watched several tutorial videos about how to use webform, and according to them, I'm not doing anything wrong.
I've swapped my theme to a downloaded one to make sure the problem wasn't with my theme. No effect.
Does anyone know why my form might not be showing?
Thanks so much,
Evan
Comments
Comment #1
evan_hn commentedSolved! It was Chaos Tools - Page Manager. I've disabled this and now, the forms show properly.
Comment #2
evan_hn commentedComment #3
quicksketchSweet, thanks for the followup; I probably wouldn't have been able to suggest that. I'll keep it in mind as a possible solution in the future.
Comment #5
grimbones commentedI was having the same problem and it worked when I disabled page manager, but that messed up pages that used page manager, so I originally downgraded ctools and panels and that seemed to work. I now have figured out how to get it to work with the newest versions of all the modules. First make sure that ctools, webform, and panels modules are all up to date with the newest release. Next in panels under node template make a webform variant. Under the content section of the variant add the nodes content. In the settings for the content make sure that "no extras" is deselected, then under build node select full node. This should make the webforms display correctly.
I am using:
Webform 6.x-3.3
Chaos Tool Suite 6.x-1.7
Panels 6.x-3.7
Comment #6
baisongI just had a similar error and solved it in a different way.
I had created a webform and added it's pane to a panel page. I had tested it out several times and then it stopped showing up. It turns out that the default webform settings (which can be changed in each webform's settings) were to limit the number of submissions to one user to 1. After making it unlimited, it reappeared on my page. :)
Comment #7
jmones commentedThank you! I hadn't guessed webform was "an extra"! That made the trick.
Comment #8
dorys commentedI know this issue is closed but I hope someone will see this and respond.
I'm following the instructions to the tee on #5, however, when I add the content in the node template for my form, I do not see "no extras" and build form (to click on full node).
Here is what I'm doing:
Panels>node template>
Node Type: XYZ form
Builders: One column
Content>add content>node>xyz field
the only choices here are
Node: node being viewed
Field Label:
Field Formatter: Default, Plain text, Trimmed.
Where is the "no extras" selection??
***Edit***
The above form was created using CCK. I created a new form using webforms and was able to get the form into a panel. Silly me.
Comment #9
jerrylow commentedThis issue still occurs with
D7
Ctools: 1.2
Webform: 3.18
Has there been a fix?
Comment #10
jerrylow commentedOk after some messing around with the ideas of panels above I fixed the issue.
Basically I created a new variant under:
Structure > Panels > Node Template
I called the variant: Webform and configured it:
Selection Rules: Node: type = Webform
Content: Primary: node:body and node:webform
And arranged this variant to come before all the other variants including default.
This allowed all webforms to be properly outputted in the page.
Comment #11
silentkrange commentedThis issue was making me crazy [as most things do when they don't work like I expect]. But here's how I solved it:
I'm using Panels for D7
In my default node template, I was just showing the "Node being viewed" content. I decided to "Add content" to that region and poke around for an element that might be related to a webform... and, voila!!!
Under the "Node" list, there is a little doohickey that says "Webform" - it's got the yellow-green cube icon. I added that and, BINGO!, my webform appeared on my contact page.
So satisfying to get something to work.
Comment #12
jeffc518 commentedSilentkrange - thank you for your post. I was going crazy trying to find the webform component that I *knew* should be available. I'm also using Panels in D7. I'm trying to avoid using Panelizer too much, as it can become unpredictable.
Comment #13
ronsnow commentedJust adding a thanks to grimbones #5 that this worked for a Drupal6 environment on PHP5.5. It had been working on very very old versions on a PHP4 system. After the upgrade the Webforms were not coming up. They would if Chaos Tools Page manager was off, but that was not possible with this older website.
Using #5 instructions to add variants for the webforms on Panels Node Template did the trick. If you have this problem and using PHP5.n, try this solution.
Thanks
Comment #14
loziofabio commentedSame issue here with:
- Drupal 7.54
- Webform 7.x-4.14
- Display Suite 7.x-2.14
- Page manager 7.x-1.12
I'm using a Display Suite layout for a node/webform with several components: no components are showing up on page, only basic elements (as title and body) or additional fileds.
After choosing NONE in Select a layout, all components are visible on the page.
**UPDATE**
After setting DS "Select a layout" back to 1 column (or 6-6 or whatever) the form is still showing and now Webform element is visible in this node DS configuration (it wasn't available before the DS switch off/switch on)...