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
2answers
18 views

How to create a quote request form in Drupal 7

I'm building a Drupal site that uses nodes to display a number of high value products. There are no e-commerce features due to the high value of the products being offered for sale, but the client ...
1
vote
1answer
18 views

Multiple forms for one content type using one module

I want to create the following functionality: Multiple interrelated forms needed Form 1, Form 1 detail and Form 1 user detail But the user can fill in the forms only in order.. I mean when the ...
1
vote
1answer
22 views

Add Font Awesome to Webform Placeholder

I am currently using Webform 7.x-4.2 and am looking to add a Font Awesome icon inside the placeholder. I did try modifying the settings.php with the following line: $conf['webform_allowed_tags'] = ...
0
votes
1answer
29 views

limit access to private files uploaded by webform to specific role

In my Drupal 7 site, I have a webform where anonymous users upload a file (typically, their CV). The webform is configured to save it in the private file system. How can I achieve that the uploaded ...
1
vote
0answers
9 views

Commerce multi-select membership donation form

Something like this using Drupal Commerce? You select from a select list multiple options of which everyone has a price right? And so it adds it as a total below in a field like a cart, but in a same ...
0
votes
0answers
12 views

How to add dynamically select option in Select Component in Webform Matrix Component Module

How to add dynamically select option in Select Component in Webform Matrix Component module? Please help. Like Webform module we can add Country list and Weeks Days list, But in Webform Maxtrix ...
-2
votes
0answers
25 views

Drupal Dynamic Select options for Webform

I am trying to select data from database through the following code but the data not showing when I clicking the class name in dropdown box function _webform_options_info() { $items = array(); ...
-6
votes
0answers
19 views

how to align a form in drupal(webform)? [on hold]

i need to develop a form in drupal. i used webform to do that. but the alignment is so bad. i would like to customize the arrangement of input fields and label. also i want apply some bootstrap styles ...
0
votes
0answers
17 views

Using the Webform2PDF pdf generation doesn't properly replace tokens, but only when emailed

For example, the token [submission:values:identification_information:first_name] is blank in the emailed PDF that gets sent out when submitted, but if I go to the "Results" screen in the CMS, and ...
0
votes
1answer
12 views

adding data attribute to option value in Drupal 6

I have a form, like this: $form['my_case_type_list']=array( '#type'=>'select', '#title' => 'Issue Type', '#options' => $my_list, ...
0
votes
0answers
6 views

The webform component simplenews is not able to be displayed

I have some Drupal sites that I need to migrate from CentOS 5 to CentOS 6. That means that PHP will be upgraded to 5.3.3. That means that most Drupal modules will have issues. I upgraded the Drupal ...
1
vote
1answer
22 views

How to add html to the form?

I am creating a custom module. I have a form that I would like to add some HTML to, but I don't know what the best way to do this. In this example, I have a page with a textbox, dropdown list, and ...
0
votes
1answer
18 views

Use Webform for multiple possible inputs

I want to create a webform that will replace a excisting excell file (visitors download a excell file, fill it in and send it back to the company). Under here a simplified example of the excell ...
0
votes
0answers
12 views

Json Populated Select Boxes 'An illegal choice has been detected'

I'm dynamically building the select options using json. When the user submits the form they get 'An illegal choice has been detected'. I know this is because I populated the options outside of ...
0
votes
2answers
31 views

How to soley wrap the <input>-field in a custom <div>-wrapper in Webform 4.x?

I've a fairly simple question. Due to a given CSS I need to wrap the <input>-field (as well as <select> or <textarea>) of webform-component with a custom <div>-wrapper. Change ...
2
votes
0answers
12 views

Webform depending on Select List - Number of delegates

Webform 4.x On a Webform booking form how would one add the functionality where from a dropdown list of number of delegates (1,2,3...) would then add the necessary number fields on the form. So if 1 ...
0
votes
0answers
21 views

Render webform submissions in template

I want to render webform submitted data below the form on every page from a specific content-type. But not all fields are allowed for everyone to see like a phone number, views could solve that but ...
1
vote
1answer
65 views

Send email to specific users when Webform submitted

How can I send emails to specific user roles when a specific Webform is submitted? For example if a Webform named test is submitted then we have to send email to all users having the role say ...
0
votes
0answers
21 views

how to use following GeoIP2 API in drupal [closed]

I want to use the following GEOIP API in my drupal webform for filter states depends upon countries and also filter cities depends upon when select states in drop down list on webform. Link is: ...
0
votes
0answers
12 views

Add css or prefix/suffix created form.

I am creating a dynamic form in drupal. It needs to create a question for each row in a mysql table. The mysql questions will be changed on a daily basis. My issue is formatting each question into a ...
0
votes
0answers
15 views

Webform localization string translation

I am using the webform localization module for string translation of my webform components. I have created a custom module that outputs the data but can not get the translation to work. I am using the ...
0
votes
0answers
20 views

how I can create 2 mail templates, and send one for admin and second for user when he is submission webform?

I have webform, this webform has many of data, was set from user, and others detected by server, so Im create webform mail template for admin and its wrok fine .. but when I try to send this email ...
0
votes
0answers
12 views

How to add a class to protected download file?

I am using this module: https://www.drupal.org/project/webform_protected_downloads I need to assign a class to my protected download files in order to have a modal Terms of use agreement show before ...
0
votes
1answer
27 views

views webform submission username

I would like to have webform submission username using views. Add fields > webform submissions: user The result is uid (user id number) How can I have username login name instead of uid ?
0
votes
0answers
10 views

Webform emails flagged as spam, emails sent from outside Drupal not flagged

Our Drupal installation uses Webform and Mime Mail. Emails sent from our webforms are getting flagged as spam by Gmail and other providers. We also have some email scripts running on our server ...
0
votes
0answers
14 views

Expose multiple custom forms to views

I would like to create several "calculators". These consist of a page with a form which will perform calculations and provide results in a table. There may also be messages triggered depending on ...
0
votes
1answer
22 views

How to create a new prebuilt list in webform?

First off, I'm a complete newbie to both PHP, and Drupal, so I expect the answer to be on par with "you forgot a semicolon, moron!" I'm attempting to define a new prebuilt list for our site, and even ...
0
votes
1answer
9 views

Drupal 7 trim user input and other checks to prevent security issues

What is the recommended way in Drupal to perform trim and other checks before accepting user input to avoid sql injections and other similar security issues? Thanks.
0
votes
0answers
8 views

Drupal 7 Webform add a select field via alter

I am aware of adding fields via the Drupal form API. I am wondering how can I add a field to a Webform via my custom module. In this case I would like to add a select field whose value I would like to ...
0
votes
1answer
35 views

Is it possible to redirect user to another form depending on values entered in the first form

I have 3 Webforms named A, AA and AB, In form A there are few question with Yes and No options. I am looking for a way to direct user depending on the selected options, If user select all the options ...
0
votes
0answers
11 views

Webform, let data expire after a period of time

How might I expire data collected in webform? That is, I'd like to purge data after a period of 6 to 18 months. Alternatively, I'd be happy to find a module that cleans up old data in a Drupal 7 ...
0
votes
0answers
6 views

Webform and WebService

I'm just trying to generate one Webform for the people enter their data and that will answer true or false. Depending on that answer I need to show some kind of message, but if thats true I need to ...
0
votes
0answers
16 views

Adding checkbox on webform submitted view?

I have a question, its about webform. I have created a registration form, the form contains 5 textfield, so far its fine, but lately I would like to give a checkbox in each textfield for verification ...
0
votes
2answers
40 views

Webform theming field labels through webform-form.tpl.php

I'm theming a Webform I created by using a custom webform-form-[nid].tpl.php template. I've been able to render individual fields fine, but I'm having a problem with the date field which is split into ...
0
votes
0answers
17 views

How to tell if a Webform field has been hidden by conditional rule

I maintain a contrib module that implements hook_webform_submission_presave. It does some complex stuff which boils down to taking the submitted values and storing them in another database. Here's ...
0
votes
0answers
9 views

Drupal Form with Note datagrid that allows additional notes

I have a registration form that requires my client to manage it through an application process where this client may have multiple contact with the person submitting the form. As such, the client ...
0
votes
1answer
20 views

Using Webform to create a node

So i know there are answers around not using Webform, but i require the reporting and tracking functionality of webform, so please stick to using it. I am needing to create a node based on a ...
0
votes
1answer
26 views

Webform with File upload field throwing “… field is required” error

I have created a Webform, which has two file fields (i.e. Attach document 1 and Attach document 2). Both of them are mandatory and files are to be uploaded in the "Private" folder. Now when someone ...
0
votes
0answers
10 views

Multistep webform does not have step 2 elements in $form['submitted']

After I updated my current webform to be a multistep webform by adding a pagebreak. I am unable to alter the fields with $form['submitted'], since it does not show the fields on Step 2. Unsure how ...
0
votes
0answers
9 views

Drupal Alter a multistep webform

I am using the page-break method to create multi-step webform. There are different fields I want to edit on two different steps of a webform. On Step 1, I am fetching a particular values from an ...
2
votes
2answers
37 views

record of email notifications sent out (webform / postfix)

I have a webform with example.com/node/123/webform/emails set to send email notification from info@example.com to several email addresses when a submission is received. Is there a way to see a record ...
0
votes
0answers
9 views

Pay by check: How do I make the form be processed and an email be sent to the company?

I'm working on an ubercart payment process with "pay by checks" available as an option. When the user selects the option, the form currently makes them fill out the form over and over again. I need ...
0
votes
1answer
21 views

User course listings with contact forms

I'm very new to drupal and trying to get my head around how things are setup. I'm attempting to create a training course listings website where a user can join as a course provider and add listings ...
1
vote
1answer
20 views

how to debug drupal_http_request

I'm working on a module that takes a form submission and posts it to a rest api, using the webform validator module's hooks. I'm trying to debug what's going wrong, and I have the following code, ...
0
votes
1answer
13 views

Webform does not submit when a file field is added

I have a single page webform with a bunch of fields (text field, radio buttons, etc) that works fine. As soon as I add a file upload field it stops working: when submitted, the form returns with all ...
-1
votes
0answers
8 views

I want to submit the form using social login buttons?

I am using Drupal 7. I have to created form using Webfrom. If i submitted the form pdf will be downloaded. But I want to replace social login icons for Form submit button. If user is logged in via ...
0
votes
1answer
73 views

drupal 7.34 cannot rearrange form component and others

I have a fresh installation drupal 7.34 the install module ctools views and webformm. I cannot rearrange the form component. Both weight and the + symbol appear. Normally in the previous version I can ...
0
votes
1answer
16 views

What is the syntax for using a token on webform confirmation page for Drupal 7 Webform 4

I have an Email field on my webform with the key email_address. On successful webform submission, I would like to display the confirmation message as. Further instructions have been sent to ...
0
votes
0answers
3 views

Openpublic and Webservice

I am working on a Drupal 7 website using the openpublic distribution. I just wanted to know which is the best way to send data to one webservice? 1) Should I use a "webform" connecting to a ...
0
votes
2answers
33 views

How to add unique identifier to each submission?

In short, I am trying to figure out how to add a custom and unique identifier to each submission from the Webform module. Example: User fills out the Webform and submits. User then receives an email ...