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
1
vote
1answer
2k views

Email webform results - only filled fields

Is there a way to email the webform results with only the filled (NOT empty) fields I don´t want all the fields to be mandatory and 80% of my long long form will be optional and it´s very wierd ...
0
votes
1answer
536 views

Cookies for a webform using page breaks

I'm using the Webform module in a Drupal 6 installation. This webform is appearing in an iFrame, and can be found on every page. The website that contains the iframe is static, the Drupal installation ...
1
vote
1answer
2k views

Webform module - Contact form will not send webform emails to users with the same domain, but will send to all other email accounts I set

I have a Drupal 6 site. Using the Webform module. I have it set to send all submissions to the webform to my email address (me@gmail.com) and the clients email (tim@domain.com) - for some reason ...
3
votes
3answers
2k views

Set default radio button on webform

I have a standard contact page created using webform, which has a set of radio buttons. Is it possible to change the pre-selected radio option based on the referring page?
0
votes
1answer
810 views

Session values are getting populated only when the page is refreshed

I have a webform. I provide default values to these webform using session token variables. These session variables are set using hook_form_alter(). The problem is that when users log in, and see the ...
1
vote
0answers
198 views

Enable different elements for different webform-content type

The Webform module has a setting page (admin/settings/webform) that enables you to select which content type you want to act as a "webform". You can also select which elements show up in the form, but ...
1
vote
0answers
317 views

Adding variables in db_query for webform dynamic select

I would like to populate a dynamic select option in page 2 of my webform based on the value of another select option in the previous page. I would like to use a variable in db_query, and hence tried ...
1
vote
1answer
2k views

Processing data sent from drupal 7 webform

I've inserted a webform in a node's template like so: <?php print render($content['webform']); ?> and created the webform in the admin panel for that page. The form shows up fine and I've ...
2
votes
1answer
180 views

Any alternative for webform_mysql_views

I am using postgresql as database. I want to create views of webform submissions. is there anything similar to webform_mysql_views for postgresql.
5
votes
1answer
733 views

Why does the Webform disappear after changing Submit button text in Form settings?

I have created a Webform page called "Quick Quote". It is working fine in the website. But when I change the "Submit button text" to a new value in Advance Settings >> Form Setting ...
5
votes
2answers
9k views

How I create table View of webform submissions

I want to view webform submissions in table view. I created a view of webform submissions but it shows a link for the data submitted. I dont want to use link, I want only simple table view.
1
vote
2answers
5k views

How do I use webform tokens in my PHP code for the form submission page?

I see this in webforms, but I don't know how to use these in my result page, as print_r(%value) doesn't print anything. Submission tokens %sid - The unique submission ID. %value[key] - A ...
2
votes
1answer
1k views

dynamic options list based on the previous select box value

I have a webform. I want the second select box values to be loaded based on the 1st select box value. And these values should be loaded from DB table. Please let me know which hook i need to use and ...
2
votes
0answers
602 views

How to disable change of date field value in webform

I have created a webform using Webform module. I have used field date, which I use as access date. I want user not to edit this date. Then what do I need to do? I have tried min date and max date as ...
0
votes
1answer
332 views

Subscription and Node action

I am using Drupal 7. And i am quite new. I want to develop a system in website where an Event is declared by the Administrator. (Event is a custom event type - or i can use any existing one if ...
0
votes
1answer
1k views

Webform table element and Webform

I am trying to create a form with essentially form elements stored inside a table. After digging around, have two alternatives: 1) Install Webform module along with the Webform Table Element module. ...
0
votes
1answer
123 views

Help understanding Drupal form creation/content creation

I am fairly new to Drupal 7.9 and still trying to get a hang of it. Understandably it has a learning curve which I am trying to scale at the moment. My challenge here is to basically create a page ...
8
votes
9answers
7k views

Unable to send e-mail. Contact the site administrator if the problem persists

When my web form is filled and submitted, I get redirected to a page that says: Thank you for submitting. but theres a red warning box there that says: Unable to send e-mail. Contact the site ...
0
votes
1answer
326 views

Webforms with subheadings that have their own fields

I realise what field sets are as they can group parts of your webform together. What I am looking for though is to have subheadings within those fieldsets. I've been trying to find tutorials about ...
0
votes
1answer
1k views

How do I add a webform to my Event content type View

I'm using the Date module to create custom Event content types. I'm using Webform to create registration forms for each event. I've created a View that displays events in a table based on start date/...
1
vote
3answers
6k views

How to disable copy and paste in webform textarea?

Is there a way to disable pasting into a webform textarea field? I've created a textarea field called: my_words and I want to forbid anyone from copying and pasting text into this field.
0
votes
2answers
608 views

Any way to flag users who previously submitted a webform on revisit?

My business team needs users who submitted a specific form to be flagged in order to allow them to gain access to a certain piece of content, which we've hidden behind a conditional check on whether ...
8
votes
2answers
8k views

How do I translate the Webform module form?

I really see no way of translating the Webform module. Is anyone else facing this issue? I know it is possible with locale (for the same node), or creating another node, but I really want to use the ...
2
votes
2answers
148 views

Letting users remove webform submissions they've made earlier

I have a website where people can sign up for events. The client now wants the users be able to delete their submission for the event, by entering their email address, displaying a list of events they'...
1
vote
0answers
100 views

Webform component: Loses value after validation

I have a webform component. When submitting (without filling in required fields), I get error messages, but the value of that component disappears. How should the value be retained?
5
votes
3answers
4k views

populating a webform select list from a view?

I have a webform in D7 where I want the user to select a value from a dropdown list. These values I want to be dynamically updated from a view. How can I do this? I found the webform viewreference ...
0
votes
1answer
985 views

Add rule for a webform checkbox to autosend email after specified time

Im running D7 with webform. I have a multstep form, on the last step the user is asked to participate in a future survey. If they enter their email and check the box to agree, they should receive an ...
4
votes
2answers
6k views

How to autofill webform from GET vars?

I need to make a form that autofills itself with some values that I give from the GET or POST params I have an emailing that is personalized for each user so when they click on a link or a submit ...
0
votes
2answers
824 views

Webform: states dropdown vs textbox plain text in case of other country autoswitch?

How can I make a webform so when a user selects the country US it will show the states in a list with a mandatory select from list and when other countries it will show Province as textedit also ...
2
votes
3answers
2k views

Posting to a Drupal Form via HTML page

I have created a plain HTML page. I want that the when ever a submit button is clicked, It submits the values to a form that is present on a drupal Site. Its a simple form with only text field. Any ...
0
votes
2answers
949 views

Removing part of string retrieved from $_SERVER[“REQUEST_URI”] in webform default value field

I'm trying to figure out if doing this is possible. I'm not very good at php so I'm trying to avoid having to create a module or something else to do this. What I am trying to do is this: In the ...
0
votes
1answer
2k views

Pass URL alias info to default value of Webform field

I'm running the Storm (project management) module and for each task, the user needs to fill out a form regarding information about the task, including uploading images about certain information ...
2
votes
2answers
1k views

webform alter default value template.php

I need to alter the default value of a webform in d6, so in my template.php I insert the following function, but it does not work; I don't like to use $get in webform. function themename_form_alter(&...
1
vote
1answer
3k views

Webform rules: compare a form field to a user field

I am trying to create a rule that will update a user piece of info from a webform. The webform is a service request form and the field I want to update is a car license plate field, present both in ...
2
votes
1answer
104 views

I am looking to export webform submissions to cck instead of typing each submission in Drupal 6?

I have close to 150 submissions on my webform but had to change to content type midway , is there a simple way to export those submissions to a cck content type and map those fields instead of typing ...
5
votes
2answers
5k views

D7 Webform tokens for user fields

In D6 we could configure a webform field to pull profile data by using a token like %profile[key] and assigning the user field to the form (Details here). How can we to something similar in D7 using ...
6
votes
1answer
1k views

How to remove the Day field from a Date? [duplicate]

I want to remove the day field from a Date dropdown of a webform. How to do that? I tried with hook_form_alter() without success. Any suggestions? Thanks
12
votes
2answers
10k views

load a node content into a lightbox2 (without headers and footer and other blocks)

is it possible to load a node (from an id) into a lightbox 2 without having to load all the additional blocks ? just what the node has to display I want to make some popups on some links to allow ...
22
votes
10answers
12k views

Adding HTML5 placeholder to all drupal forms

I'm trying to add the placeholder attribute to all textfields across my website, but I'm having no luck. I've created a module that overrides hook_form_alter function mymodule_form_alter(&$form, ...
0
votes
1answer
278 views

How to remove the Day field from the Date drop down?

on this page http://dev.amnesty.io1developer.com/donate-now under the section of the Credit card,I want to remove from the date the Day field. It is a webform.How to achieve this? Thanks
2
votes
1answer
705 views

How do I add an element to a fieldset?

When creating a webform in version 5.18 each element had an option to include it in a selected fieldset. Worked like a charm. Now, on version 6.22 I cannot find this option anywhere. I can't believe ...
0
votes
1answer
963 views

Contact Form with drop-down subject (bonus: auto-selected based on GET/POST)

I have a number of services on my site and I want them to all direct to the contact form. Now, this is where it gets tricky- I want the subject to be a dropdown selection of all services provided and, ...
2
votes
1answer
2k views

Error when submit a Webform with Ajax using Jquery

I am having a webform in my drupal. I am using the jquery Ajax submit method to submit it. This is the code I am using. $("#webform-client-form-59--3").ajaxForm(function() { $(".talk-region").html(...
1
vote
2answers
4k views

Adding extra attributes to webform input element

I am looking to run javascript for a textbox on a webform. I am looking to add an extra attribute to my webform, but I am not sure how the webform is rendered . I was able to do that for my cck form ...
6
votes
2answers
3k views

Adding a custom Token so i can use in Webforms

I am having the smart-ip module installed. It allows me to get User country, city etc very easily like this: echo $_SESSION['smart_ip']['location']['country_code']; I want to use this as a token ...
0
votes
2answers
1k views

Goal: 1 Webform as Block, Multiple Nodes with block in Panel pane

I am trying to create a single webform that I can expose as a block and re-use on multiple 'profile' nodes. These nodes will use Panels and Panel/Panes to display content. Problem: I need to pass ...
0
votes
1answer
373 views

What happens when an email from webform fails to deliver?

If webform attempts to send an email but cannot connect to the smtp server, what happens to the email? Does it get dropped on the floor? Does it throw an error in a log? Does it try to resend later? ...
0
votes
4answers
3k views

load Ajax form in another page

I have a link in a block and when i click it it brings with ajax a form from another page let's call it contact. In contact page the form uses ajax to submit the data, it works ok. But when i get the ...
0
votes
1answer
130 views

Attaching additional queries to webforms

I'd like to limit the ability of a form submission based on whether a user has submitted the form already. So basically if a user has submitted a form, they can not submit again. I've already created ...
1
vote
1answer
590 views

Custom webform component for displaying a list of nodes

I would like to have a content-type with Add to cart button that would allow a user to add current node to the cart. Then there would be a webform that would list all the items (nodes) that the user ...