Webform is the module for making surveys in Drupal. It can be used for surveys, contests, personalized contact forms, or petitions.

learn more… | top users | synonyms

0
votes
1answer
10 views

Why aren't the options in my dynamically inserted webform showing up?

I've created a webform with one question that includes a list of checkboxes. I made the webform available as a block, and am rendering the block in my template using: <?php $block = ...
0
votes
1answer
16 views

Can you add a 'select all' option to a webform_select_options_list?

I have a webform that collects a list of flagged items. I'd like to add a "select all" option, because the list can get fairly long (50+) selections, and it can be tedious to manually check the boxes. ...
1
vote
1answer
150 views

Is it possible to stop a webform form during submission?

The webform module is being used for a form that takes a payment. The data is validated as much as it can and then in a submit handler it is finally sent to the payment processor. The result can be a ...
0
votes
0answers
16 views

Webform 4.10 Does Not Support 'Excel' Format

I recently installed (Webform 7.x-4.10) to my Drupal site. It works fine but it doesn't have Microsoft Excel as Export format. The only option available is Delimited text (*.tsv), & it doesn't fit ...
0
votes
0answers
15 views

Webform-If a radio button option A is selected, show Correct, else, show wrong

I made a webform to be used for a quiz. I want to show "Correct" if the right option is selected and "wrong" if the wrong option is selected. However, when i added the code below to the confirmation ...
0
votes
0answers
11 views

How to override a file field on webform form?

I have a webform with a file field printed on an overrided webform template like this: <div class="field-archivos"><?php print drupal_render($form['submitted']['archivos']); ...
-2
votes
0answers
14 views

Is there a way I can use the answers from a webform in an aptitude test? [closed]

So on the site I'm working on we need a user to go through an aptitude test to give them an answer. I am pretty new to drupal so sorry for my noobish question, thanks for your help!
1
vote
1answer
18 views

How to force a selection in one field if another webform field is a certain value

I know it is quite simple with Conditionals to show and hide fields based on another fields value in a Webform -- is it possible to change values of fields based on another field's value? For ...
0
votes
2answers
23 views

Where to insert .js code using the webform module for google tracking a submit button

I am trying to insert a google tracker to a form submit button/form using the webform module (drupal 7). Here is my code: Drupal.behaviors.basicWorks = function(context) { // Track submission ...
0
votes
2answers
20 views

Insert webform into content type field

At the content type i add some field: if you want to include or embed block into the body of your node https://www.drupal.org/project/insert_block if you want to include or embed view into the ...
0
votes
1answer
27 views

How to prevent anonymous users not viewing any webform content

I have created a web form contact us page. Anonymous users can see the contact us page at xxx.com/node/add/webform. After they submit the webform, they can see the content of the form at ...
0
votes
2answers
31 views

Webform translation while keeping single node

I want to translate a Webform. I know it's very easy to achieve if there are separate Webform nodes for each language but I don't want to do that, I want to keep a single node. I have already tried ...
0
votes
2answers
56 views

How to remove the webform title field on add/edit form?

I am using bartik responsive theme. I made a sub theme of the theme. I enabled the sub theme as the default theme. I have given access to anonymous users to add webform content at ...
2
votes
1answer
27 views

Drupal Webform Select 2 options instead of unlimited

I have a list of 150 products on my select a sample list on my webform. Customers are supposed to select only 2 products, not 3, 4, etc.... I chose "Multiple" so how can I have them select only 2 ...
1
vote
2answers
33 views

How to filter types of Webforms with Views

I am trying to create a simple View of webforms to display a list of currently available jobs. This is what I am trying to accomplish: Webform1 description description description description... ...
0
votes
1answer
22 views

Move file uploads in webform into subdirectory using hook_webform_submission_presave

I'm using the webform_multiple_file module to let users upload files in a webform. There is a second form component in that form. It's a number. I want to change the upload directory, which is defined ...
0
votes
1answer
24 views

Load Javascript Conditionally Based on Form Value

I have two different kinds of webforms, one I'll call "type 1" and one I'll call "type 2". Depending on the type of webform, I want to conditionally add either type1.js or type2.js. The type of ...
0
votes
1answer
45 views

How to validate webform with JavaScript?

I've got a Webform for which I need additional calculations to hidden fields. I've added a JavaScript file to the page by using drupal_add_js. And let that be the only part that works... My ...
3
votes
2answers
124 views

Problem with anonymous Flag and webform_select_ options_info() only visible to logged in users

So I've been trying to implement an anonymous "wish list" for an eCommerce site using webform_select_options and Flag. My implementation uses an anonymous flag set on my products and uses ...
0
votes
0answers
16 views

Webform submissions not saved from block [closed]

I have made several webforms (using Webform 7.x-4.10) and enabled them to be displayed as blocks but when I submit them the page just refreshes and the submission is not saved. If I go directly to the ...
0
votes
0answers
31 views

Visibily rules on webform in panel

I have the following issue using a Webform inside a panels-page. I have the following configuration: I have a pretty simple contact form (to start with) build with webforms. In this form is a field ...
1
vote
1answer
31 views

How do I enable the PHP filter only for webforms?

How do I enable the PHP filter only for webforms, and not other content types?
0
votes
0answers
15 views

Embed a specific checkbox matrix of taxonomy terms in a content type

I need design help for my website. I am trying to automate embedding a matrix (or webform) that lists taxonomy terms (url link) as rows and Categories as columns for each content in my custom content ...
1
vote
1answer
22 views

How to create a Webform pre-build option list via a query to an external database?

I'm trying in Webform (version 4.9) to create a pre-build option list with data from an external database. A pre-build option list is an available list you get when creating a "select options" field ...
0
votes
0answers
40 views

Date field and Jquery UI date picker - start date - end date

I'm not sure if this could be considered an issue, but I cannot find anywhere relevant in forum to pose the question. I am trying to understand how webforms works with Jquery UI and date picker. My ...
1
vote
0answers
28 views

How to print a field data from the current node after webform (block) submitted successfully without refreshing the page (webform ajax)?

I'm using the Webform module's block on a custom content type. The webform has some text fields and I passed some data from my custom content type fields to webform fields as explained here. I'm ...
0
votes
3answers
45 views

How to send hidden field value to db on webform submit

I am using Drupal 7 webform api, have a created a field in my _form_alter hook in a custom module, but while on page load the hidden field contains the correct value, when I submit the form it does ...
0
votes
2answers
30 views

How to pass field data from custom node type to webform block?

I'm using the Webform module's block on custom content type. The webform has some text fields and I want to pass some data from my custom content type fields to webform fields. I tried to add a ...
0
votes
0answers
26 views

Webform warning when first hiding then showing components in conditionals

Im having a webform (Webform 4.9) wich includes a Fieldset with three components like this: Fieldset --Component A (Select option - Radio button with options X and Y) --Component B (Date) --Component ...
0
votes
2answers
42 views

Multi step form

I am using Webform module, Can anyone help me to make a multistep form where suppose on front page i choose select service and select location and on submit a new form opens in pop up. Pls suggest ...
0
votes
1answer
16 views

Added mail.css file to mimemail theme folder, now cannot get rid of mail send error

I added a test mail.css file to /sites/all/modules/mimemail/theme. Obviously I wasn't meant to. Now when the webform module is meant to send an email, I got an error; No e-mails were able to be ...
0
votes
1answer
12 views

Is there a setting (or a module) to include the webform conditional displayed markup in the webform submissions?

I can write a hook for this in a custom module certainly, making use of the Webform API. But I thought I'd ask first to see if there is an out-of-the-box way to ensure that a webform markup component ...
1
vote
1answer
12 views

How can I automatically visually number each webform component? e.g. 1) … 2) … 3)

I am building a webform and would like to number each question (webform component). What is the automated way to do this (rather than number the component label text)? Webform 3 (but may move to ...
0
votes
1answer
23 views

Add prefix to the error message

How I can add some prefix to the all error messages? Example: This field is required! and I need Error: This field is required! I'm using Clientside Validation module for error messages in my ...
0
votes
0answers
11 views

Webform 7x-4.10: adding a field type to webforms

I'm trying to add an existing field type into the list of available fields Webform can access. I have a field type of "field_attachment". In my other content types, this allows me to upload a file ...
0
votes
0answers
9 views

How to filter content field in webform before sending?

I have an issue on how to proceed in creating a filter/alert for users (any user may send webform) on the content of the messsage through webform (using drupal 6). Let say someone goes to the form ...
0
votes
1answer
24 views

Abandoned webform log

I'm building a huge form with Webform module and need advice for a way to save not fully submitted forms even without Showing "Save draft" button options is enabled and button is visible (which is ...
0
votes
0answers
19 views

Attach term id to block or webform to display on a filtered page

I think this is a simple problem but I cannot find the answer/module/snippet or whatever. I have a page which displays content with a certain taxonomy term www.website.com/#filter=.contact How do i ...
0
votes
0answers
16 views

import and update drupal webform submission from remote url

Is it possible to retrieve data from a remote server, pass it to a Drupal site, and if the corresponding webform is present, to update these values in the database, else, create a new webform ...
0
votes
0answers
34 views

Problem with Go back link after submission of Webform

I programmatically created a custom contactform using webform and it render into another page.Webform submission and redirection working in good. But i can't come back to my contact page by ...
0
votes
2answers
39 views

hide a field in webform components

I want to hide the field "form key" in all of the webform components. I tried doing it with "*hook_form_alter*" and with "[#access] = false" but I can't succeed in this. I also tried to use ...
0
votes
1answer
38 views

Drupal Webform not submitting sometimes right after clearing cache

I add a webform node to another node via hook_page_alter() or in a block. Sometimes when submitting this form it doesn't submit the data and redirect to the Custom URL set in the settings. Right ...
0
votes
2answers
20 views

Webform as a block only

When I crate a Webform I do have an option to make it available as a block as well. But in this case it creates a node as well. How can I create a Webform as a block only?
1
vote
2answers
18 views

Webform formatting question

I'm running Drupal 7.34 and Webform 7.x-4.9/Webform Layout 7.x-2.2. I've put together a webform to be used for customers to fill out their data. If I select Label Display "Above", it disappears and ...
0
votes
3answers
30 views

Image Style Issue Doesn't Work Every Time

I posted a previous post about this, but it kind of went a different path, so in the interest of exploring another avenue I wanted to start a new topic to try and troubleshoot this a different way. ...
1
vote
2answers
17 views

Check for WebForm Errors

Some of my website visitors are stating that they are filling out the webform (ver 7.x-4.2) and we are not getting the email. They have not provided any detail (error messages, etc...) and when I ...
0
votes
1answer
19 views

Return webform in a node

I have a custom filter added for a content type 'sample'. On selecting the custom filter for the node body, it checks for webform tokens like [webform:1234], by exploding it checks whether it is a ...
1
vote
2answers
17 views

Associate webform submissions with the user created

I am allowing anonymous user create submissions, and creating a user programmatically based on these submissions. How do I associate this submission with the user I've just created? UPDATE: I thought ...
1
vote
1answer
22 views

Displaying Webforms on Content Types in Page Manager/Panels

The Webform module allows for a webform to be attached to each Content Type of the site. I can "Enable webform functionality" on my Page and Blog Content types and don't need to use a separate ...
0
votes
0answers
9 views

node destination as webform field

In a content type nodes, I am trying to put a path to a webform in a block, using the following code: <?php $options = array('absolute' => TRUE); $nid = 20; $url = url('node/' . ...