Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [webforms]

One of the modules used for surveys, contests, personalized contact forms, or petitions is the Webform module.

Filter by
Sorted by
Tagged with
0
votes
1answer
628 views

Show fields on webform based on a value in the session

I want to use a webform to do a feedback form but want it to act on data provided by the user. That is, if the user has answered a question about location which is stored in a session, then I want to ...
1
vote
0answers
153 views

Disabling acces to previous pages in Webform

I have a multi-page survey where I need to prevent participants from paging back through the survey and changing his/her answers. The only thing I can think of is to break the multi-page form into ...
2
votes
1answer
2k views

Client-side validation module, fields required only if certain values in other fields are set

We've built a form using WebForms and are using the Client Side Validation module for AJAX/jQuery validation. One field on the form needs to only be mandatory if a certain country is selected in the ...
-2
votes
1answer
174 views

Webform not working [closed]

We're trying to get a custom module to work. For some reason, it's giving us an error, regardless of which version of Drupal we're trying to run. Here's the image: Also, are there any modules which ...
5
votes
2answers
4k views

CAPTCHA session reuse attack detected error message when form is submitted

I am experiencing problems with the captcha module 7.x-1.0-beta1 version. I have enabled captcha in webforms for anonymous users. After submitting the form it repeatedly gives me the error message, ...
1
vote
2answers
2k views

Webform - trying to set submit handler

On a Drupal 7 Webform I've added a button using a markup field like this: <button name="get" value="" type="submit" class="primary-submit submit" id="get"> Get Address </button> I am ...
1
vote
0answers
116 views

how to theme a GROUP of webforms?

i understand how to get the webform-form-[nid].tpl.php naming convention to theme one individual web form - it works great. what i really need, however, is to theme a group of web forms based on ...
9
votes
5answers
3k views

Webform does not submit, instead redirects to self

My soon-to-be production Drupal site's Webforms have stopped saving submissions; instead it comes back to the same page, complete with the inputted values. I do not have a timeline when it stopped ...
2
votes
3answers
3k views

How to add CC to a webform email?

I'm using Drupal 7. Is it possible to add a CC to a webform email? I was using function theme_webform_mail_headers($variables) { $headers = array( 'X-Mailer' => 'Drupal Webform (PHP/' . ...
2
votes
2answers
695 views

Is there a way to get a default e-mail recipient by default when adding a new webform node?

When I add a new Webform node type, this have no e-mail recipien by default. You can read this message: Currently not sending e-mails, add an e-mail recipient below. Is there a way to get a e-...
0
votes
2answers
1k views

How to hide Default values using Drupal Behaviour

I have created a form using the web form module. In this form i have 3 field. Name, Email and Phone. I have set the default values for Name as Name , Email as E-mail and Phone as Phone (Done this ...
2
votes
0answers
3k views

Webform replacements using %post[key] for Array variables

I'm trying to set a default value for a hidden field capturing a POST Array Variable (by the way, webform form keys are arrays) but the literal is not replaced with the posted value. Should I escape/...
0
votes
1answer
605 views

FAPI redirect *and* store to local database

What I'm trying to achieve I am successfully using the Form API in Drupal 7 to dynamically alter Webforms to redirect to an off-site URL on submit. What I need is twofold; I need (a) for the client ...
4
votes
1answer
2k views

use custom tokens on a webform email confirmation

I have written a custom module which defines some tokens. These tokens are used e.g. in Wysiwyg editor this way: [mytype:closing_date] (I have token_filter module) Is it posible to make these tokens ...
0
votes
1answer
2k views

Sending HTML email replies using Webform in Drupal 7

How can I get Webform to send an HTML-formatted email?
2
votes
1answer
678 views

Custom Webform Email Response to two different recipients

When a customer fills out a webform, I create a customized email response by creating a custom email template (e.g. webform-mail-26.tpl.php). I needed to create this so that the customer could see ...
4
votes
6answers
3k views

How to stop webform from sending an email

I'm using Drupal 7.12 / Webform 3 How do I stop email from being sent upon a webform submission? I want to do this conditionally so I need to use a hook. I still want everything else to go through ...
4
votes
5answers
9k views

How to I add a node reference field using the Webform module?

Is it possible to add a node reference field using the Webform module? If it is, how can I add it in my webform?
2
votes
3answers
4k views

How to delete a webform submission in a custom module?

I want to delete a webform submission from a custom module that I've written. I'm using webform_submission_delete(123, 76). The error I receive is: Notice: Trying to get property of non-object in ...
0
votes
1answer
327 views

Create a kind of coupon with a entity references or node reference and no autocomplete

I should create a webform with a field which is related to a node. With webform seems no possible to add a node reference, so probably I should create a content type (coupon) instead of using the ...
2
votes
1answer
2k views

Drupal 7: Add markup to form during validation

I have a custom validator on a webform. When a person enters an address, I validate it. When the address is not right, I set an error in the validation function. This is all going well. But now I want ...
3
votes
1answer
319 views

Is there a way to upload file in database instead of in filesystem via webform?

When files are uploaded via webform, the attachment is stored in filesystem. Is there a way to store the attachment in database blob field?
3
votes
2answers
2k views

Import CSV/XLS data to Webform? [closed]

Is there a way to import records into webform database from user uploaded CSV/XLS?
0
votes
1answer
565 views

Translation of modules

I am using Drupal 7.9 and Webform 3.15. I need to translate -select- option on top of list box. Also I have to translate in Captcha module (7.x-1.0-beta2), the text What code is in the image? and ...
0
votes
1answer
2k views

Prepopulating a multi-select on a webform

I have a webform with a multiselect box. I want to use the prepopulate module to allow people to set the default value in the URL. The following works, but it only supports selecting one value: /...
1
vote
1answer
3k views

Using jQuery to copy some content from div to input value - value displays nicely but there`s no value in html

I've got a webform in a block (using webform pay and webform block) which printing in a overridden template via module_invoke. There is a simple price field (input). In the content type i`ve got a ...
2
votes
1answer
3k views

Export Webform submission data into external database

I need webform submission data to be inserted into an external sql database. How would I go about doing this? Would this be a custom module, or be processed in template.php? I am having trouble ...
1
vote
2answers
987 views

How can I post webform block values to another form?

I have a capture form in a block on a panel, and I am trying to get it to post the values to another form, once it is submitted. How can I achieve this? First name, last name, and email get posted ...
3
votes
1answer
9k views

How do I access webform components labels on the congratulations page

Am using the following code in the Congratulations page. There is more but this is the driving force to retrieve user submissions. Its working fine but I need to retreive as well the actual component ...
1
vote
1answer
124 views

How to add e-mails in 2 different databases in drupal 7

I used drupal 7.10 to built my website and i used 2 modules, the first is the webform to build the membership form, and the simplenews to write and send newsletter to users. Anyone could subscribe in ...
0
votes
1answer
543 views

Drupal 6 Webforms sends duplicate emails

A user fills out a webform that I created and it gets emailed me. Sometimes I get duplicate emails when they fill it out. I'm thinking that this is because they are hitting the submit button multiple ...
1
vote
2answers
635 views

Views arguments from URL

how to get the arguments from the URL and store it for further processing in views drupal 7.I am passing a token from a webform to a view through custom redirect URL.Later i need that value for some ...
0
votes
0answers
54 views

webform data access through views [duplicate]

Possible Duplicate: How do I use Webform fields in a view? I have a webform with 3 fields.Name,Loan amount,and profession.I redirect the form submission to a custom url which is a view page and ...
1
vote
1answer
134 views

Any way to convert a page of type X into page of type Y?

I inserted a webform on a Basic Page. Now, I decided I should have created a dedicated content type to hold that webform. So now - is there an easy, non-risky way to "migrate" that page to a new ...
4
votes
3answers
2k views

Webform submissions

I'd like to get the submission information from Webform, I checked the API but it's can't get me the data I need. The main goal would be to get every submission in a xml/json/array so I could get work ...
2
votes
1answer
1k views

Update new user's profile with rules, based on his webform submitted data

On my site I am using two webforms from which a user can register to the site. This feature is enabled thanks to the webform_registration module. Of course these webforms can only be submitted by ...
0
votes
1answer
384 views

Manually including Webform in a single node

Anyone know how to include Webform module into a single node? Is there a function I can include to do this.
4
votes
4answers
4k views

Can Webforms include the URL they were submitted from in their emails?

I have a bunch of webforms in blocks on taxonomy pages. It would be helpful for the recipient of the resulting emails to know what taxonomy page the user was on at the time they wrote their query. Do ...
0
votes
1answer
89 views

Strange question pertaining views as forms?

I am attempting to provide quizzes in Drupal. The Drupal quiz module is out of question as a version for Drupal 7 does not exist. The way to go about doing this then IMHO is using web-forms. I am ...
4
votes
2answers
1k views

Load an AJAX submission enabled webform using another AJAX call

I am using Javascript/AJAX to call a path defined in a custom module which loads existing node content for display. i.e. you are at: /custom/path and it makes an AJAX request to /custom/content ...
1
vote
1answer
538 views

GA Virtual pageview on Webform reload: is there an easier way?

I can't believe it was so difficult. I have Webform and Google Analytics installed. I want to track submissions of my webform, but since it's set to reload current page on submission, I must make use ...
1
vote
1answer
378 views

Strategies for approaching a client requirement to create quizzes

One of my clients requirements seems to stretch Drupal's boundaries, and is forcing me to think differently on how to approach a problem. I am looking at potential alternatives and strategies to the ...
0
votes
1answer
691 views

Alternate webform UI is buggy [closed]

I have been experimenting with the Webform Alternate UI module for Drupal Webforms. As you would know it requires a few excess modules like options_element, ux element and form builder. The thing is, ...
0
votes
1answer
84 views

How to programtically queue a function for 48 hours (to change webform Author)

The code below changes the submission author to that of a user referenced in the webform (pulls username:uid). However now need this to change after 48 hours. I am unsure how to effectively queue ...
1
vote
1answer
819 views

Limit certain users from filling webform based on their location

I have a contact us form, that I want only users from the US to see, fill and submit. And the other users to see that form but a message says "web form is not available in your country" if the user is ...
0
votes
1answer
1k views

How to hide webform label from email only?

I'm currently using the Webform module to build a warranty support form for Drupal 7. Here is a screen shot of the webform: Below is the email output I receive when the form is submitted: James ...
2
votes
2answers
3k views

Can I have a webform in sidebar block reload current page

I have a webform in my sidebar as a block. If I set Redirection location to No redirect (reload current page), it loads the form url in the main content. I can understand why it's doing this, but I ...
4
votes
3answers
3k views

Add rules to the email recipients in webforms

I am currently working on a Drupal 7 site in which the contact form must email a particular representative based on whether the user belongs to a certain company or is in a certain location. The first ...
1
vote
0answers
2k views

webform hidden component value

I created a webform component and set the display to be "Disabled". the problem is that this option only add the "readonly" attribute to that textfield. If I remove that with firebug, the field ...
2
votes
2answers
542 views

D7 Simple form with an items catalog grid table

I need a form with a simple items catalog, user will enter quantities for each item and it will auto calculate sub total and total using javascript. I am looking something like this: Name: _ Email: ...