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

Webform Submission Access per User

I am trying to grant access to make a webform submission on a per user, per purchase basis. Users purchase a one-time access license to the webform and can make this purchase multiple times. There are ...
0
votes
0answers
11 views

Webform CiviCRM Contribution Fails

I've got a webform set-up to integrate with CiviCRM using the Drupal Webform CiviCRM module. The pay later option is working, and the checksum populating the fields. But the contribution always ...
0
votes
1answer
29 views

How can I add a skip button above the webform (with multistep)

I use webform with multistep for a quiz. I want to add a "skip" button (equivalent to the submit/next button in the bottom of the form) above the form so that people can go directly to the next ...
0
votes
0answers
10 views

Access results based on OG membership?

If I had a series of webforms that will get filled out by each user, how would I grant results access to only the users in one of the submitter's OG groups? For example, teachers have students in ...
4
votes
1answer
35 views

Using Webform as an Application for membership/user roles

I'd like to implement the following on a Drupal site: Anonymous site visitor (Joe) submits a membership application with various custom fields Admin (Jane) reviews membership application Jane ...
-2
votes
0answers
11 views

Is there a module or package to allow Select2 on both entity reference fields and webform lists?

Is there an existing module, or specific process for implementing Select2 on all entity reference fields and all webform select lists?
0
votes
0answers
19 views

7: Get Select/Option Text from Value in Webform

I have a webform that I can get the submitted values like the code below: module_load_include('inc', 'webform', 'includes/webform.submissions'); $formData = webform_get_submission( $nodeId, $sId ); ...
6
votes
1answer
41 views

Webform-CiviCRM integration: autocomplete employer

I set up a Webform for a Membership Application. I followed the instructions on this page for setting up an Autocomplete for the Organization the new Member belongs to: ...
2
votes
2answers
36 views

Pull webform submissions in different webistes to one end-point

hypothetical example: website1 has 2 webforms, I need to access the submissions of the 2 webforms in another website2 So if an user send the webform in website1 I need to log in as admin in website2 ...
0
votes
1answer
11 views

Resending webform submission doesn't use custom mail template

I created a custom webform email template named webform-mail-1.tpl.php that is used when a user submits a webform. The problem is, if someone modifies that submission and wants to resend that ...
0
votes
0answers
12 views

Retrieve select option value in webform-mail.tpl.php (7.x-4.x-dev)

I have a custom mail template in Webform so values can be in a table for copying/pasting into Excel. I want the value of the select option fields instead of the key (doing manual entry for webform ...
0
votes
3answers
24 views

How do I get a form to allow additional values for a field?

I need to have a way to allow for multiple values to be used for a field. For example, Someone has school name(s), and the form description says, "Add your schools here." I add a school, press a ...
0
votes
0answers
11 views

How can I limit the months displayed in a date field on a web form

I want to display a date field as 2 drop downs the first field would display the months and the second the years, there should only be 2 possible options for the months and the years should be the ...
0
votes
1answer
29 views

How do I Pass a Nid to a webform and create a token for a different field on that node?

Use Case: I have a content type called "Team" which contains an email address. I have a view that creates a link to create a webform to contact the Team member and prepopulate the email address in a ...
0
votes
0answers
11 views

Programatically add CC addresses to the webfom [duplicate]

Can anyone help we with the code which would add the CC to the webform? I need the CC feature, so my users can "Reply to All" when the communicate. Thanks! Anton.
0
votes
0answers
19 views

webform change submission information user

I am the administrator of a webform submission. I can import submission entry in bulk using webform import. However these submissions then owned by the administrator. How can I change the submission ...
0
votes
0answers
10 views

Webform: Group subscription / quarterly resubmit form

Before I venture into the rabbit hole of creating a new module, I wanted to see if anyone knows of a module or set of modules that perform this functionality already. Webform dependant module: - ...
-1
votes
0answers
12 views

Name of the webform's variable?

I want to add some php code for my webform, but I don't know how to find the right variable's name of the differents fields that I have in ma form. Any idear ? Thanks to everyone.
0
votes
0answers
15 views

Unable to alter Drupal 7 webform 4 text and select field values after form post

I have set my webform to reload on submission, then I am checking if the form was posted and on that basis alter the form value. I tried the following: Set Default value to %post['company'] Manually ...
1
vote
0answers
19 views

Is there a way to swap webform object between nodes?

I have a weird situation. Webform Localization module allows localization by string translation. That's good, that's what I wanted to use. Sadly, it treats all strings as if their "original" language ...
5
votes
1answer
42 views

Is it possible to add a CiviCRM API to the Webform CiviCRM integration module and how would I do that?

If I have created a specific CiviCRM API entity/action for a project, can I then add that API to the Webform CiviCRM integration module so that I can use the API in the Webform? And how would I do ...
3
votes
1answer
35 views

Store Drupal 7 webforms in code

I am wondering if there is any solution to store webforms in code. So that you can easily duplicate them on other sites and bundle them with your own modules. I am looking into something similair as ...
0
votes
0answers
14 views

hook_form_alter logic only on certain buttons

I have an existing webform that I'm using hook_form_alter to prepopulate various fields on. It "worked" before I just added a new field. I just added a new Upload File field (a Managed file I believe ...
0
votes
0answers
18 views

EntityForm: add dynamic select field from a view

I need a dynamic select field to display a drop down box with results from a view. I'm using entityform to design the webform. Does anyone knows how to create such as a field? The view is populated ...
4
votes
1answer
32 views

How can I pass an empty case subject from Webform CiviCRM integration to CiviCRM?

I am using Drupal 7 and CiviCRM 4.4.2. I have created a form with Webform CiviCRM integration that creates a new case. However, the case subject should be generated in CiviCRM, based on a standard ...
3
votes
0answers
44 views

Controlling the display order of custom field sets that are shown both in a webform and in CiviCRM, via the webform_civicrm integration module

I've created a webform that is integrated with my CiviCRM implementation. The webform has five major sections to it, each of which is reflected by a custom field set within the CiviCRM module as shown ...
2
votes
0answers
19 views

I want to migrate Webforms from one environment to another, how should I got about? [duplicate]

We have developed a couple of webforms on a development environment, which we now want to transfer to test. How can I tackle this other than retyping the form?
0
votes
1answer
36 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', ...
0
votes
1answer
14 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
vote
1answer
25 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
45 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
22 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
23 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 ...
0
votes
0answers
22 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
18 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
23 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
2answers
29 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
24 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
29 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
38 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
40 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
24 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
97 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
29 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
40 views

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

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
14 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
59 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
21 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
25 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 ...