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
0answers
6 views

Invoke the custom webform datas(text field values) from rules

I want to invoke the custom webform datas(text field values) from rules. for example, This is something similar to product quote. I have list of product parts(check box with label) under some ...
0
votes
0answers
12 views

XML format for creating a new submission in a webform

Can someone please tell me how to create a webform submission on XML form? Or if not can you please correct this code and tell me where I'm going wrong?? I've been struggling for a week This is my ...
0
votes
1answer
10 views

7- attachment added through hook_mail_alter is making no effect

I'm trying to add one pdf attachment to the mail sent on webform submission. I'm using hook_mail_alter to add attachment to the mail. Here is my code. function webfpdf_mail_alter(&$message) { ...
-1
votes
1answer
18 views

Any advice for dynamic radio butons

I need a form that has a radio buton field. The field must not hard coded. Options must created dynamicly. The form will be a block and get radio buton options from given chosed node field. For ...
1
vote
0answers
17 views

Drupal 7 Webforms 4, prevent submission if value of field is less than or equal to previous submission

I know that you can prevent submission if a specific value has previously submitted. However can you prevent a submission if the submission is less than or equal to a previously submitted value. ...
-1
votes
0answers
18 views

Submit a File Field to Webform Programmatically

I have a webform node that I can submit data to it using codes below: $data = array( $fieldId1 => array('text1'), // Textfield $fieldId2 => array('value1'), // Select options ...
0
votes
1answer
13 views

how to create categorized webforms in drupal?

I want to create a multiple Forms in my site . so i am going with the webform module , i want webforms in such a categorized as display below , general inquiry Forms general feedback general ...
1
vote
1answer
20 views

How to integrate captcha to multi page webform

I have integrated a multi step form through the drupal webform modules. Need to add a captcha at the end of the form. I have used captcha module for it..but while enabling the module and assigning the ...
1
vote
1answer
24 views

allow users to continue the survey (webform) if closed by accident

I wonder if there is a way of let users continue with survey (webform) in case they close the browser or the tab. For example: I have a very long webform survey, it has like 30 questions, if Users ...
0
votes
0answers
25 views

Webform confirmation message in Pop up [duplicate]

I made a webform to submit data.I want the confirmation message to be displayed in pop up .How to get it? Email field is not highlighted red like other fields any solution for it? please help .Thanks ...
0
votes
1answer
18 views

Attach a form input to a node that will be submitted by multiple users

I'm trying to create a content type that serves as a "Contest". Each contest needs the ability to upload an image by the user. Basically, I'm looking for the best way to attach a form field (file ...
1
vote
0answers
9 views

Webform capability issue with Chosen

The Chosen module no longer get applied to Webform select fields with the most recent updates to a Drupal Commerce 2.0 site that I am working on. I am using Chosen version 7.x-2.0-beta4+1-dev (part of ...
0
votes
0answers
12 views

Webform get values with HtmlMail module

I'm new in Drupal7, I created a webform using webform module and I created a template for my customised html e-mail with HTMLMail module that will be sent on webform submission. I want to put every ...
-1
votes
0answers
20 views

form to use html5 elements only on mobile [closed]

My webform uses regular fields for a desktop which is fine. i have a hook written to change the elements to HTML5 elements on mobile devices only. here is the code. . . . // function ...
0
votes
2answers
15 views

How to count webform radio button submissions

What would be the best way to count all submissions (True & False) of a radio button type in a web form? There are about 100 radio buttons in each survey form so need to get a total number of ...
0
votes
1answer
18 views

Get submitted value of a select list error on #options - Drupal 7

I have seen this block of code in a few places as the correct method: $selected_index = $form_state['values']['select_field']; $display_value = $form['select_field']['#options'][$selected_index]; ...
-3
votes
1answer
29 views

Add content form in a block

I want to add content form in a customized manner. For example consider Twitter is a custom content type i want a create a add new tweet button and display only the body field hiding the title and ...
1
vote
2answers
22 views

Javascript works inline in webform but not as standalone

I have a javascript that works if I place it in a mark up in my webform but breaks the form if I make the form a multipage. If I place the script as it's own file and then call it using ...
0
votes
1answer
32 views

Call Remove Button (File Upload) Programmatically using JavaScript

How can I call the remove button of temporary uploaded file programmatically using JavaScript? I want to clear the form fields when the condition changes. I've done all the form fields exept the ...
0
votes
1answer
10 views

Drupal 6 webform: send email if a checkbox is checked?

I have a webform in Drupal 6 with a checkbox component: 'Send email'. If this box is checked I would like a rule to trigger an email send. Is this possible with a Drupal 6 webform? Thanks
0
votes
1answer
21 views

Webform modules is shown installed but can't access them, their settings

I have Drupal 7 installed and I am trying to install Webform module. Firstly the page shows " The website has faced some unexpected error" and then after re-accessing the Modules page, it shows the ...
0
votes
2answers
34 views

Hook Form Alter Specific Node

I want to put a hook to a form on one specific form that I created. Based on Node ID. The code i currently have is . function jhumobileform_form_alter(&$form, &$form_state, $form_id) { ...
0
votes
0answers
14 views

Download the drafted webform

In my webform I've enabled the feature to save form as draft, any possibilities to download the drafted form as a PDF ?
0
votes
2answers
24 views

Change the Mandatory field based on selection in webform

I have Webform with a radio button type field named as "preferred contact method", for selecting email or phone. When user select the email I want to set the email field as mandatory or if user ...
0
votes
1answer
16 views

Webform - How to filter submissions by user?

I need to make a view that displays to the current user her own submissions. Option 1: For a specific node and then I can display also the data. Option 2: For any node and then I can just use the ...
0
votes
0answers
17 views

Webforms module breaks MySQL database

I've got 'Webform 7.x.3.20" installed on my Drupal 7 and it works perfectly, apart from it seems to have 'broken' the MySQL database. I first noticed this when I tried to use the 'Backup and Migrate' ...
0
votes
1answer
28 views

Changing Webform's submit button's text

The famous Webform module gives a beautiful nicely designed "Submit" button. How can I change it's text from "Submit", To anything else (I want to change it to another language but I found no way to ...
-1
votes
1answer
60 views

Webform-mail.tpl.php : custom HTML email template is sometimes received with encrypted characters

Hello everybody, I am customizing webform email template in webform-mail-[nodeId].tpl.php but face a weird issue. I have already tried many things to solve it and decided now to step forward here and ...
0
votes
0answers
9 views

Per node contact form, recipient from taxonomy

I'm attempting to build a conditional recipient contact form on D7 and I'm running into a few issues. Here are my requirements. I have a Content Type called "Dataset", which has a Term reference ...
0
votes
0answers
10 views

Webform module email variable manipulation

I'm using the Webforms module to send forms etc. I'd like to customize the email being sent to do some basic math calculations but i'm not sure how to do it. eg. Within webform-mail.tpl.php I have ...
-1
votes
1answer
25 views

how to setup cron to run everytime when new file is generated in drupal files folder

I created webform and saving submitted data into text file in drupal files folder. A remote script performs calculations and outputs new text file to the same folder . I want cron to run everytime ...
0
votes
0answers
12 views

Add “Edit” link in webform result table

In my D7 webform result, table format, the default result table is "#, SUBMITTED, USER, IP ADDRESS" I want to add a "Edit" in "ACTION" column, to make it as "#, ACTION, SUBMITTED, USER, IP ADDRESS". ...
0
votes
1answer
12 views

Webform populate text component with encoded url values

How to populate a webform component with encoded values. For exampmple my url http://example.com/abc?submitted%5Bthis%5D=1 I tried to use token [current-page:query:this] but it doesnt work.
0
votes
0answers
19 views

Custom Laying out Webform programmatically

I have made a webform which I wanna output in a template page with all the form fields. My question is how can I programmatically show and lay out all the HTML form fields that I created in that ...
0
votes
1answer
33 views

Alter webform value submitted by webform

I'm using D7 webform, which have 3 fields: - number of table (enter by user) - price per table (default webform value) - total amount to pay (calculation using formula, in webform is hidden field ...
0
votes
1answer
17 views

How to use the admin theme for webform email

I would like my html e-mails that are sent after a webform is submitted to use my admin theme. I tried using htmlmail module but that did not work. Thanks for any assistance.
0
votes
0answers
26 views

Webform Conditionals in Drupal 6

Using Drupal 6 and trying to do a simple Webform Country/State Conditional. If user selects US for Country a State drop down appears. If user selects any other Country the State drop down goes away ...
0
votes
1answer
9 views

how can I make date fields come out in other languages in webform with drupal 7

using drupal 7 , and Webform 7.x-3.18 + 3-dev I need my date field to come out in spanish, mes/dia/ano but it keeps on coming out with month/day/year How can I fix this? thanks
0
votes
1answer
30 views

Webform validation are working but they some error

when i am login or page redirect to home page they can show this notice " Notice: Undefined index: submitted in web_alter_form_validate() at line 19" here is my code function ...
0
votes
3answers
36 views

Drupal_add_js is not working inside hook submit

I have alter and hook submit for webform. I would like to pop a modal if form is successfully submitted. But drupal_add_js seemed to be not working inside the hook submit. function ...
0
votes
2answers
16 views

update user data without a form from a module

in my drupal system i use the basic_wemail module along with a custom module i created that creates a postfix mail alias for a new user, so we can provide users with free email addresses as part of ...
0
votes
0answers
8 views

Hide/remove complete webform

I have a custom module with this code: function custommodule_form_alter(&$form, &$form_state, $form_id) { switch ($form_id) { case 'webform_client_form_180': unset($form); ...
1
vote
1answer
38 views

Create a simple quiz

I have a videos content type and I want users, who have watched this video, to answer some questions related to each single video. How can I create a quiz for each single video node? I tried the ...
0
votes
2answers
33 views

Trying to send a <div> with webform

I have a Webform that does some calculations (javascript) based on user selections, which i would like to send along with the user-selectable fields to a user's email. Is it possible to append these ...
0
votes
1answer
14 views

Theme webform using custom module

I know I could easily theme a webform using the webform-form.tpl template. However, I want to do this on the module level where the tpl is located inside the custom module folder or coded directly ...
1
vote
1answer
24 views

Honeypot in custom webforms (manual)

I'm making a custom form (fields are added by using drupal_render), but since I have Honeypot enabled for all my web forms, when I submit a form, I get the following message: There was a problem ...
1
vote
1answer
20 views

Webform - how do I change dateformat in mail

Module: Webform The short date type is dd/mm/yy, so it appears correctly in the form (day/month/year) But in the mail it is shown with month first. (month/day/year) How can I change the date type in ...
0
votes
0answers
22 views

remove node link url?

I have been trying to figure out a way to remove the actual link from the title of my webform node, however I dont want to go into code for this. I want to be able to change a setting on the actual ...
0
votes
0answers
14 views

Metatag quick meta description not displaying on webforms

I have a website that is using webforms and metatag quick and the meta description tag is not showing up on webforms either set in the content or attempting to use path-based metatags. What do I need ...
0
votes
1answer
23 views

Drupal 7 Webform Components Related To Individual Nodes

I am attempting to create a decision making "questionnaire" in Drupal 7. I am currently using the Webform module to create the questionnaire. The questionnaire (webform) will create a list of related ...