Tagged Questions

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

Drupal 7 ajax on webform

I have added a button to webform: $form['submitted']['some_placeholder']['own_btn'] = array( '#type' => 'button', '#value' => t('Add'), '#name' => 'ob_add_food', ...
-2
votes
0answers
24 views

how to create depented states, cities for all countries in D7 [on hold]

please help anyone.. i am now creating simple web form for registration in drupal 7. in this form i am already create country, state, city drop down field. It works smoothly for default country. ...
0
votes
1answer
11 views

Alter ctools_ajax_command_redirect()

My problem is redirect after webform submission. So I have a webform node and AJAX on this submit button (hello "Webform Ajax"). How I do redirect: I'm just using hook_form_alter() and add to this ...
-1
votes
1answer
34 views

Adding categories to webform components

I have 3 webforms, each with different components : one webform - 25 multiple choice questions. second webform - 30 multiple choice questions third webform - 32 multiple choice questions. The site ...
1
vote
1answer
19 views

Webform - Show the preview page on confirmation instead

I have a webform and there are options that you can set a "preview" page if you want to. I think it's very nice displayed but I want to show this instead on the confirmation page so when a user ...
1
vote
1answer
31 views

Defining the primary address of a CiviCRM contact

I have a webform with CiviCRM fields on it (webform 7.x.4.1, civicrm_webform 7.x-4.9). I have configured 2 addresses fieldset, one for work address and one for home address. I find it non intuitive ...
0
votes
0answers
9 views

How to override form_error in webform_validate_unique function provided by webform.components.inc

I have a Webform module provided form that will be used by anonymous users. I need to avoid duplicate submissions from the same user, but can't rely on cookies or IP address (multiple users at same ...
0
votes
1answer
18 views

Webform - User to edit submission (admin can close)

I have a webform that a authenticated user can submit. Where is the page for the authenticated user to re-edited their submission? I can't find it? I also want to extend a another function. I want to ...
-1
votes
0answers
12 views

How to Select Webform Matrix Component Records from Database(MYSQL) by using drupal [on hold]

How to Select Webform Matrix Component Records from Database by using drupal For example NID : 16 SID : 33 CID : 3 NO : 0 Data : a:2:{i:1;a:4:{i:1;s:4:"2000";i:2;s:8:"10th STD";i:3;s:9:"Full ...
0
votes
0answers
12 views

Webform Save Draft: Form Data not Updated after Submission

I have a form with Save Draft button. When I fill the form and save the draft version everything works fine until submiting the form. If I edit my data in the form and then submit the form, the ...
1
vote
0answers
17 views

How to schedule an email message from a webform email address

Need: Schedule an email message to anyone that completes my WEBFORM +2 days in the future. I got this to work 90% of the way. Emails are being scheduled, but the 'TO:' email address is ...
0
votes
1answer
12 views

Add CSS class to <form> element using webform and template file

I have an existing webform in Drupal 7 which I am trying to theme. So far I managed to add CSS classes, placeholders, prefix, suffix,.. to form elements (fields) but not to the actual ...
0
votes
0answers
12 views

Submitting files in webform using POST [closed]

I have this image and I've converted it to BitmapData. I have a webform on local host; in the webform, I have a file field and a few other text fields. I used a simple URLVariable to submit all my ...
0
votes
0answers
13 views

How would you create a learning application in Drupal? [closed]

I'm trying to create a training system where very simply, users can log in and watch a video. After they have watched it, they click 'answer questions' and a new page with list of multi-choice ...
0
votes
2answers
22 views

Webform - collect submitted data in a cookie?

I have a webform but it's very long and users are going to use it a lot of times so they requested to have sort of like a cookie storage that remembers submitted data on some fields. For example I ...
0
votes
1answer
17 views

Drupal Webforms - Adding Steps, Breadcrumbs, or Navigation to Multistep Webform

I have a multi-step webform (about 10 pages), and I want the user to simply be able to skip ahead of their current location if they have had more progress previously. I've been trying to use the ...
0
votes
1answer
23 views

How can enable multiple contact form in drupal 8?

I want multiple contact forms(different fields) in my drupal 8 site Like Webform module drupal 7. I have tried to add multiple contact forms and i am able to number of contact forms with different ...
0
votes
1answer
27 views

Webform - Display tooltips

I have a webform and I want to display a tooltip on hover/click when you click/hover over a information box. I did look into Qtip but it was way to buggy and not well done so I have decided to go ...
0
votes
1answer
36 views

how to make radio buttons be one under the other on drupal contact form [closed]

by default the radio buttons on my drupal contact form come out next to each other and the title is very far from the actual button. with CSS alone it doesnt work. I seem to need to be able to edit ...
0
votes
1answer
18 views

Webform + Translations

I have a website where 80% of it are webforms. Admins can create webforms themselves and registered users can fill them in. ( A PDF will be created etc etc...). Now I have to make this website in 3 ...
3
votes
2answers
91 views

Change mailsystem used on webforms on a per email basis

I'm using the mailsystem module to send webform notification emails using mandrill. However, for some of our webforms we need to use mandrill for the notification email sent to the users, but send ...
1
vote
0answers
24 views

How to programmatically toggle webform required field

Using webform4, how to programmatically toggle the required option based on another condition? I have done jQuery('#edit-submitted-fld4-rgistered-with').removeClass('required'); but it seems the ...
-2
votes
2answers
35 views

Don't Allow User To Log Back In After Logging Out Of Drupal Site [on hold]

This might be a simple fix, but I cannot figure out how to do it or find a module that accomplishes this. I simply need to dis-allow a user to log back into a site after they have logged out. They ...
0
votes
0answers
10 views

How to show a message instead of hiding the webform when user reaches the limit?

I have a webform which every user can submit it once. when the user submits the form the webform gets hidden from him next time he visits the site. I want to be able to show a message or something ...
2
votes
0answers
51 views

How can one automatically rename files uploaded in a webform?

I would like to rename the files uploaded to a webform according to some tokens or the value in some other field. I did some research on this and was surprised to find no definite solution. For ...
0
votes
1answer
18 views

Assign user survey created by webform

I've created a survey using the webform module. I now want to assign a set of users to take the survey. Does anyone have any recommendation on how I should go about doing this.
1
vote
1answer
19 views

Get Webform submission count using custom module

I would like to get the submission count of a user using custom code in my module. Which variable stores this? I tried to do dsm on $node and there was an array for webform inside the $node object ...
0
votes
0answers
12 views

Verifying groups' users when registering group for an event node

Let's say I have an event node-type . Users can register their groups(teams) for this event. Groups are created using OG or Group module. The registration will be done using webform, i.e. this event ...
0
votes
0answers
22 views

WebForm submission didn't use my From (email) settings

When I'm sending an email with my webform, the From always makes a combination of the From which is configured in Administration/Site Information + From that I setup directly in the webform. Here is ...
0
votes
0answers
17 views

how to add sum in webform report

I would like to have the total sum of a number field in Webform Report https://www.drupal.org/project/webform_report How can I get the total sum of that column table?
0
votes
1answer
25 views

Master Detail webform or connecting/linking two webforms

I just got a project request that went from simple to complex. the original project was just to collect basic user info, the complexity comes in, now they want the user to provide detail on his/her ...
0
votes
0answers
16 views

SQL Conditional Condition statement from webform submitted data

I would like to retrieve webform submitted data from data base with keywords in multiple fields. The table structure is as below: sid nid cid data 50   7   5  ee 50 ...
0
votes
2answers
18 views

Views Results - Display specif user

I have created a view based off the webform submission data. So if [Mary] has submitted five forms, and [Julie] has submitted three and [Steve] has submitted 8-- When they look at my results page, I ...
0
votes
0answers
13 views

Webform Submission & Commerce Order Database Relations

Where is the relation between Webform Submission ID & Commerce Order ID in the drupal database? The problem is one of my orders crashes after editing the webform so I guess that the relation ...
0
votes
1answer
26 views

Module invoke webform redirecting validation

On one page I have this code, that loads my webform: $block = module_invoke('webform', 'block_view', '660'); print render($block['content']); But when I click on submit button, validation leads me ...
0
votes
1answer
22 views

Adding a webform to a different content type

I have an "event" content type. Now I want to add a Webform to it so that people can request purchasing and availability information. I checked my event content type in admin/config/content/webform ...
0
votes
0answers
29 views

Calculate webform total from select list fields

Like e.g. there are two select options type components that has various amounts of $ to select from. So if user selects in one field $100 and $200 then the next field below it would generate the total ...
0
votes
0answers
32 views

How to include dynamic HTML in a form?

I am building a form using data so it will be dynamic. I have done all the work in a PHP only way eg. I have built the HTML dynamically including checkboxes which need to be submitted as a form. My ...
0
votes
0answers
24 views

Webform entries goes to Gmail Spam folder

Any submissions from Webform goes to my emails (Gmail) Spam folder... I ask myself if I've configured something not right in the webform form settings... Please give me your valued opinion in the ...
0
votes
1answer
12 views

Webform Redirect Hook

I built a module that submits the webform data to a soap api. The API an take a while to respond (out of my control), so what I'm looking for is a redirection hook, so I can go Submit->Force ...
0
votes
0answers
17 views

Embed webform in block and on submit load file from currently displayed node

I need to create a "Download this whitepaper" functionality similar to this one: ...
0
votes
0answers
24 views

Web form module not sending email to valid mail

I am using form in my project in this email field also there. For this i am using webform module for sending email to author email. But the problem is emails are not sending when the users are ...
1
vote
1answer
37 views

Webform Content with admin approval

Hi I have a webform which user will fill and get a confirmation link.On clicking the confirmation link the user is a confirmed user.I want an add on functionality of admin approval in it so that after ...
0
votes
0answers
10 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
46 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
27 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
88 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
25 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. ...
0
votes
1answer
17 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
40 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 ...