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
12 views

Adding a loading indicator to form submission module

I have a custom module that is altering a webform to add custom submission handling using: $form['#submit'][]='paymentComplete'; From the time the user clicks the submit button, until the ...
0
votes
1answer
13 views

Returning the form in form_alter function

I have a doubt that is, can i use return $form; in hook_form_alter function. When i used some callback function inside the form, its not calling to that particular function. Thatsy i confused whether ...
0
votes
2answers
19 views

How to add reset button in webform?

I tried to use below code to add reset button in webform,but its not working.I think that is not calling to "contact_form_reset" this function.Please help me out.. function ...
0
votes
0answers
23 views

Redirection message after the form is submitted

I have a customized webform; after user submission there will be a dynamic ticket number shown in the confirmation message. If I want to show purely a customized message, how do I do this? I've tried ...
0
votes
0answers
17 views

Webform add a submit user confirmation

i want to add a step between the validation of the form (check if there is errors in the form) and the submition of the form (the moment when the form is saved). I want to show to the user a colorbox ...
0
votes
0answers
3 views

Cloning webform_submissions view and apending node id does not change submissions list as expected

I have been attempting to follow this article: https://www.drupal.org/node/2453023 that talks about changing default views for displaying the list of sumbissions that is seen when you click on the ...
0
votes
1answer
14 views

Can I use AddressBook values to populate a webform field?

I am currently trying to make lots of things work together. I'll try to put it simple without annoying details. I work on a lawyer's site with drupal commerce installed, as well as AddressBook, ...
0
votes
0answers
10 views

How to set a component value with VBO?

I installed Webform 7-4.12, VBO 7.33, Webform Rules 7.16. I tried 4 hours to set a value of submission of a "Select options" component with these modules(esp. the rule action component) in the ...
0
votes
0answers
12 views

Insert a form into a webform

i've created by the backoffice a webform and now i want to add the user_profile form (and modify it to include only fields i want) into this form. I don't know how to do that, i've tried this but this ...
0
votes
3answers
39 views

Use db_select with multiple conditions of which one needs to apply

My question is not a duplicate and it has complex conditions. Please let me explain. In my second condition, first I need to check if number value is correct (in first condition I checked complete ...
0
votes
0answers
10 views

Push data to dataLayer on Webform Ajax submit

I'm using the Webform Ajax module to ajaxify my Webform and I need to push some data to the dataLayer to use with Google Tag Manager after a successful submit. Like: dataLayer.push({ 'event': ...
0
votes
0answers
29 views

How to create a list of users who did not submit webform including past submissions?

When I use flag and rules, I can list only user who did not submit webform after the logic applied. How can I have the list including the past submissions. This is a followup question from How to ...
2
votes
1answer
29 views

How to hide webform block for users who submitted the form already?

I have created an inquiry form using the Webform module. I displayed it using block by enabling Available as block (Form Settings -> Advanced Settings) which is working fine and the form submitted ...
3
votes
1answer
68 views

How to create a list of users who did not submit some webform?

I have a webform expecting all users to record their data online. I would like to list all users who did not submit the webform yet. I have been trying to use Views, but I cannot find a way to do ...
-1
votes
0answers
11 views

form_state keys are coming as numbers

I am planning to insert a sample employee data in to the DB from Drupal Webforms. The Webforms are created using Drupal GUI and wriiten the hook_form_alter to write the custom submit handler. The ...
0
votes
2answers
23 views

Get webform submissions filtered by data value

I have 2 webforms set up, one form collects the user email address and emails the user some info, the second form collects their email address again and needs to select the previous form's submitted ...
1
vote
1answer
40 views

Webform draft share link

I would like to create a webform which accepts input from two parties. First party fills out part of a form and share a link with second party to proceed with the rest. I have found 'save draft' ...
0
votes
1answer
23 views

When a link is clicked, a value is retrieved from the table and displayed on a Webform field

I have created a basic page with two buttons, "Yes" and "No". When the "Yes" button is clicked, it is directed to the webform. Aim: When the webform appears, it displays a value from the table into a ...
0
votes
0answers
28 views

Sending email notifications to Webform submissions using Rules, Views and Webform

I am trying to create a rule that will send an email to a list of webform submissions, notifying them when new content is created. So far, here's what I have: Event: after saving new content of type ...
0
votes
1answer
19 views

How to change “Save Draft” value on Webform?

I want to change the button text value from "Save Draft" to "Save". How can I target the button (CSS or custom module works for me)? I used to target forms like this: ...
0
votes
0answers
9 views

Display data on checkboxes when a webform loads

I have data from a table "customer" in this format: "data1,data2,data3," Examples: "tenant, training, consulting" "other" The key-value pairs are for the component of the webform are: ...
0
votes
2answers
28 views

HTML email containing selected node content

I need to send an email containing the content from one or more selected nodes. The nodes are selected in an email contact form by the user (which also needs to fill the rest of the form with other, ...
0
votes
0answers
6 views

Webform Service module : how to upload files

I need to create new submissions to a webform using a webservice. It works well using the Webform Service module, but it seems limited to simple components only (i.e. text...). Is it possible to ...
0
votes
1answer
23 views

Send email to webform submissions when new content is created

I have a webform on my site, which collects names and email addresses, for the purposes of receiving content updates. When a new piece of content of a specific content type is added, I want to be able ...
0
votes
2answers
24 views

add a webform in a product checkout

I would add a webform in the checkout step of a particular product. I need this feature because sometimes the products that i offer needs more information and sometimes the information that i need are ...
0
votes
0answers
17 views

How to authenticate email to send emails with Webform?

Context: I have a Drupal 7 installation and I have a contact form Webform. Webform is configured to send an email to 5 recipients each time you do submit the form. Problem: When I submit in my form, ...
0
votes
0answers
10 views

Is there a limit on the size or number of conditions in Webform 7.4.12?

I have been using Webform with Conditions for a year or more and the Conditions work fine on small forms. Indeed I have several other small working forms using conditionals live on the site at the ...
0
votes
0answers
28 views

Webform submission tokens empty

when a form is submitted, then drupal sends a email with submission values empty. Default email template is: Submitted on [submission:date:long] Submitted by user: [submission:user] Submitted values ...
0
votes
0answers
6 views

How to make membership optional in Civicrm sign up form?

I am using webform module with Civicrm. I have a registration form. This latter could be used to become member of an organization. However, I would like to make this membership optional. How could I ...
0
votes
1answer
13 views

Attach a Webform to user registration form

Is there any way to do this in Drupal 7? I want new users send some documents via Webform on registration. The reason is that I don't want to save these documents as an user profile field.
0
votes
1answer
25 views

Insert multiple checkbox value from webform into table

I created: a webform named Test Number checkboxes checkboxes named Number with values one, two and three using Form Builder a table named checkbox_check Aim: When the webform is submitted, the ...
0
votes
0answers
14 views

Displaying drupal server side validation errors on the client side?

I'm using drupal client side validation to do validation of webform fields like first name, last name, email address and a unique event code. The event code has to be evaluated by making a http get ...
0
votes
0answers
10 views

Insert a wrapper element mid render chain, webform

I'm using webform module, and I am trying to extend the fieldset component using hook_webform_component_render_alter(&$element, &$component) My goal is to wrap all the child components of the ...
1
vote
0answers
26 views

Use webforms to search and edit information from a custom table on the database

I am attempting to search and edit information by using 2 webforms. The custom table is found in the database that my Drupal project is using and is named "test_update." It has 2 records on the table. ...
0
votes
2answers
28 views

Check whether a field value exists in a custom table when a webform is submitted

I created a custom table named "test_customerid" for the use of select queries from the drupal database. The fields are naid (for national id), name and surname. My aim is to display an error message ...
0
votes
0answers
13 views

Webform template for all webforms in content type

I have content type with attached webforms. There is currently 8 nodes with webforms. Is there a way to create one webform template for all of this webforms? Because right now I'm using multiple ...
0
votes
1answer
38 views

How and where to use/place database queries when a webform is submitted?

Let's say that I already created a webform with fields Customer Name, Customer Surname and Customer Address. When the webform is submitted, I want to insert those values captured in a custom table ...
3
votes
1answer
71 views

Display file upload images in webform view [duplicate]

I have a webform where users can upload images. For easier administration, I created a view of these submissions. The default behavior of the field is to display as a link. However, I would like to ...
0
votes
0answers
16 views

How to set readonly or locked a select webform field?

I would to lock a prefilled select webform field but no option is provided by the UI.So I think to do that programmatically. Actually I do in a hook_form_alter: ...
0
votes
0answers
11 views

Add unique class to webform radio form-item div

Hi There can anyone point me in the right direction as to how to add a unique class to the webform select options container divs .form-item? I would like to theme these divs surrounding the radio ...
0
votes
0answers
17 views

Webform, validate field against another field of submitted data

I have built an event registration page. I have a registration web form that people fill out. When they submit the form they receive a registration code. If they are registering additional people ...
0
votes
0answers
26 views

Adding a drag-and-drop file upload widget to a webform

I have a webform with a file upload field on it. I want to make the file upload drag-and-drop-- i.e., that when you drag a file icon from the desktop onto the file upload form elements (label, browse ...
0
votes
0answers
26 views

How good is the default encryption method provided by the Encrypt module?

I want to encrypt certain field values from webform submissions and will use webform_encrypt module to achieve this. This is dependant on encrypt module. I am interested to know how satisfactory are ...
0
votes
0answers
12 views

Webform file upload uses wrong file type

I have a webform that provides a file field, and I want to enable users to upload files there (additional to other information). I have a custom file entity (nebst the built-in document) named News, ...
1
vote
1answer
23 views

webform + form builder: how to clone an existing form

I am using webform + form builder to manage some forms on my site. I can't find a way to clone the form (with all its elements) to a new form? I know that I can clone elements inside the same form, ...
1
vote
0answers
30 views

Content type webform template

How should I name the tpl file for "training" content type webform? I've tried webform-form-training.tpl.php and webform-training.tpl.php and it doesn't work.
0
votes
1answer
25 views

Custom form, webform, or entityform

Would it be best to create my own form or use contrib. drupal7 modules to complete my following need. If i use contrib. modules, which ones should i use. I want to make a form that has 3 fields. 2 ...
1
vote
1answer
61 views

How do I programmatically export all webform submissions into a single csv? (multiple webforms)

I have hundreds of webforms created from a single webform template. How do I programmatically export all webform submissions into a single csv? Note that this is not possible via views out of the box. ...
0
votes
0answers
18 views

Push node programmatically using webform for two different databases

I have an idea to create a node using webform. I've got webform at site1, where I have fields "title" and "body" which are present in two node structures at two different websites. The one is powered ...
0
votes
1answer
17 views

Webform Radio buttons are not getting “radio-checked” class when clicked on

I've developed webforms before where I set a component to "Select options" and the design has required these options to look like buttons, so with a bit of simple CSS, we can achieve this: form ...