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

403 Access Denied on Webform submit with token

One of our sites has been updated Drupal Core 7.83 to 7.87. There is a custom module that extends webform functionality for some of the forms on the site. The former dev wrote a function to generate a ...
-1
votes
0answers
26 views

Module webform location geocomplete [closed]

I have an issue with module webform location geocomplete when i use theme bootstrap is not working fine . but when i use core theme like theme seven is working fine . issue here with bootstrap theme (...
-5
votes
1answer
22 views

Recaptcha in webform with enabling webform ajax break the form and not validating recaptcha

I am using recpatcha in webform with enabling webform ajax. I am able to submit form without captcha. which is an issue. form should not be submitted without captcha validation. if I click on submit ...
-3
votes
0answers
15 views

How to count the number of webform submissions by user (phone number field)

While filling in the phone number field of the webform, I want to show the user (or anonymous) how many times he has already filled it out. I want to do it on the fly, without pressing the submit ...
-1
votes
0answers
16 views

How can I use Javascript's xmlhttprequest to load data when you have multiple textfields in composite? [closed]

I have added a custom JS code which loads, autocompletes and filters data from an api url in a webform's textfield , and it worked successfully. Now I want to apply the same function in a composite's ...
0
votes
0answers
8 views

How To Show Custom Completion Message Based On Webform Form Input

I'm trying to show a custom completion message in Drupal 7 using the Webform module. The message shown after completing the form would depend on what the user enters in the webform. I found this ...
0
votes
1answer
12 views

Change order of elements in a Webform Variant

I am trying to figure out if it is possible to change the order of elements in a webform variant. Using a very simple example form with two elements, I created a new variant and then overrode the &...
-1
votes
0answers
25 views

How do I change the URL from ip address to "forms.org"?

I have been trying to set up a development site for the drupal site that I am developing right now. I am using CentOs 7, and I want my live site's URL to be "forms.org" and dev site's to be '...
-1
votes
0answers
17 views

computed twig to calculate the sum of a column in custom composite? [closed]

Hi, I am trying to figure out how to write a twig function to add up add the values of a column. For example, the balance due table would have to print out $120.00 instead of $60.00 $60.00. I hardly ...
0
votes
0answers
15 views

Drupal Webform Email Notification not Rendered

in the email/handlers (email notification), if I select custom body. the output of the body message is below. It doesn't render any fields I put in the body. Has anybody seen this issue before? I'm ...
2
votes
1answer
23 views

Disable submissions basing on a form element value/selection

I know I can turn submissions being saved in the database either on or off completely. Is there a way I can avoid the submission is saved basing on the value selected for a form element, for example a ...
0
votes
0answers
10 views

How to calculate the composite's elements and get total of them?

Hi I have a composite that has a QTY field and a TOTAL PRICE field and the table below would calculate and display the subtotal. It works properly when there is only one row of composite, but when I ...
0
votes
0answers
15 views

How to display a field from a custom composite in a table's field then calculate?

I am trying to make a table to display an "item" custom composite's fields (qty, price) in a table and calculate them to show fillers. I attached a screenshot to give you a better clue. As ...
-1
votes
2answers
25 views

How to alter list of available countries provided commerce/guys

I need to alter the list of countries that are displayed in a webform. That uses a widget that is powered by the Address module which is powered by the commerceguys/addressing library. According to ...
1
vote
0answers
23 views

How to control display of state_province field from the address module

Ok - the title is not terribly clear. I'm building a form that uses Advanced Address. That element comes from the Address module. I want to control the display, or perhaps a better way of saying it; I ...
0
votes
1answer
33 views

Webform HTML Email Fine on localhost with MailHog, Just Text on Server

I Developed a webform on my localhost, testing the Email using Mailhog. Everything looks fine, nicely formatted html emails. When I moved it to my test server at A2Hosting, the emails all show as ...
0
votes
0answers
12 views

Filtering webform submission results in a template file or in Views

(Drupal 7) My situation is the following: I am using one single webform on my Drupal page that shows up on the page in different places for different events and gets a unique ID for each event to ...
0
votes
0answers
19 views

Can you not have "computed twig" type in custom composite?

I have a field in my custom composite element for qty, unit price, and total. For the field "total", I want this to display the multiply of qty and unit price. However, since there is no ...
0
votes
1answer
29 views

Unable to programmatically render webform with CAPTCHA

Our website has a custom route, with a controller rendering a custom Webform. This is required, as the form has some hidden fields to be pre-populated. Now I would like to add the CAPTCHA module to ...
0
votes
0answers
21 views

Why does clicking next to a new page just show the entirety of the previous page first?

I have three pages on a webform. When I click 'next' page 2 shows the entirety of page 1. The user has to scroll through everything to get to page 2. The same thing if I want them to skip from page 1 -...
1
vote
1answer
38 views

How do I remove the "Save draft" button from every page of a multi-step form? [closed]

I have a multi-step webform and I want to add a save draft button however it needs to be added only to the last preview page and not all step pages. I have used settings within submission to activate ...
2
votes
1answer
15 views

Conditional subelement within custom composite webform element

I have a webform that has a custom composite element; let's name it composite_name. Within that custom composite, I have element_a, element_b, and element_c. Is it possible to make element_c visible ...
0
votes
0answers
25 views

Webform address killing ajax?

How do I attach an Ajax behavior to my country field (that already has a dropdown behavior). I have a simple form defined using the webform module. In an implementation of hook_webform_alter I have ...
2
votes
0answers
23 views

custom handler for webform?

I'm not sure how to go about this... Given a simple registration form that has three fields email country optIn (conditional) When this form is presented, I'd like the Opt-in field to be hidden ...
0
votes
1answer
36 views

Webform email duplicates uploaded file

I'm using Drupal 9 and only have site admin level access and no developer support. I've also only been working with Drupal for a few months. So total newbie here; I apologize in advance. I've created ...
0
votes
1answer
14 views

Create address element for webform to output country code

I'd like to create a field using webform that accepts a country but outputs the country code. I'm guessing one path forward is to find the handler used by contrib and extend it? Or is that ...
0
votes
0answers
32 views

Using webform module without storing the submissions

On the youtube tutorial Emailing & handling submissions from jrockowitz, the main maintainer of the webform module, he said at 7:13 that webform can be used without storing the submissions. For ...
0
votes
1answer
41 views

Webform block shows for anonymous user but not authenticated

I am using the webforms module (6.1.1) on a Drupal 8 site for a form that shows up in a block on my front page. If I am not logged in (go Incognito or InPrivate mode) the form displays and works. If I ...
0
votes
0answers
14 views

Filter View of webform submissions by user

I'm using Drupal 9 and attempting to produce a list of submissions (event registrations) filtered by each user so the user can see a list of events they registered for. All other solutions I've found ...
0
votes
1answer
19 views

Replace E-Mails in Webform 8 when dumping to test stage

We sanititze our dumps from production to test so that no newsletter subscriptions, form submissions or ohter things get into the test environement and bad things happen :D Is there a simple way to ...
-1
votes
1answer
19 views

How to configure upload of webform document files to public folders?

When configuring the storage location of a webform document file,i am not proposed to changed it from private to public. That is problématic to expose that URI to a distant server.
0
votes
1answer
14 views

How do I omit webforms submission number (serial) from results?

We have webforms that use Webform Entity Print (PDF) Attachment. These PDFs have Submission number show up right after form's headline. How do I hide this number so it doesn't show up in the results?
0
votes
0answers
14 views

Webform custom element layout twig

I am creating a custom webform element, im using the /modules/contrib/webform/webform_example_example, i installed the module and added the element to a form but now i want to customize the webform in ...
-1
votes
1answer
10 views

Webform Table missing in Views

I have a webform created on our site we want to be able to show the user its submitted values and everything seems to be working but the table, I have downloaded webform views. Please help i'm not ...
0
votes
0answers
17 views

Can't upgrade Webform from 5.x to 6.x: "Entities exist of type Webform submission and Webform"

I recently updated my site from Drupal 8.9.19 to 9.2.8, and from Webform 8.x-5.28 to 6.1.0. I'm now trying to deploy this update to my test server, and I'm getting the following error when running ...
0
votes
0answers
23 views

How to get remote post handler returned response at module file?

I want to get remote post handler returned response inside hook_webform_handler_invoke_post_save_alter. Please help me. function hook_webform_handler_invoke_post_save_alter(\Drupal\webform\Plugin\...
0
votes
2answers
63 views

How can I stop Webform Spam?

We are getting spam from a simple Contact Us webform. We are running Drupal 7, using the Captcha and Honeypot modules. The Captcha challenge is set to image and the Honeypot time limit is set to 4 ...
0
votes
0answers
13 views

Drupal 8 Webform multistep - send data to custom controller

I'm trying to implement a multistep form with Webform. I have my custom controller that takes data from POST request and then rendering a page with result from the from. But I don't get how to link ...
-1
votes
1answer
20 views

emailing the webform's submission values in a table

I have been trying to email the submitted values via email handler every time an user submit a form. I have added on custom body so the submitted values would be in the table formally, but the table ...
1
vote
0answers
15 views

How to filter webform by custom field "ThirdPartySettings"

I've created a new field for all my webforms called "color" inside of settings (this field is only for CMS users) To create this I used "ThirdPartySettings" like this: https://...
0
votes
0answers
20 views

Webform sometimes not sent on pages using different theme (via theme negotiator)

I have a website with a main theme and another "mini" theme that is used via a custom module with a theme negotiator, determined by node type. The pages using the mini theme include a ...
1
vote
0answers
24 views

Adding Current Product page Variant ID/SKU to webform submission Drupal 8

I have product type event, this event have registration fees if price value not zero. Product page built with views and I embed related webform inside it. am using module called commerce webform order:...
0
votes
1answer
32 views

Unable to upload files through RESTful services

I am trying to upload pdf files to webform submission using REST API. Since the Core File Upload functionality did not seem applicable for webform submission, I applied the patch from webform_rest ...
1
vote
0answers
37 views

Webform handler to manage number of places available

I want to manage a webform to automatically close it if number of people reached, or to invalid submission if not enough places are available. I have use this : Close a webform when total seats reach ...
-1
votes
1answer
25 views

Webform 6.1.0 help text not showing

I updated my webform Module from 5.3.0 to 6.1.0, I have one the Following Error: the help text isn't displaying its content on any form on my site (Example of help icon in the shared image) It should ...
0
votes
2answers
35 views

How to create a taxonomy term from a webform

New to Webform. What I'm trying to do is build a somewhat simple site content-collecting tool using Webform. So users would 'collect' nodes by submitting forms on them. This appears to be easy to do. ...
0
votes
0answers
35 views

Webform update from 5.3.0 to 6.1.0 results in directory error

After I updated my webform module from 5.3.0 to 6.1.0 I received an error when submitting my form. Apparently it isn't able to copy the pdf file which I added to the form and so it is blocking the ...
1
vote
0answers
12 views

How do I turn off the calendar popup widget on the date field?

noob here, I have a form that requests a birthdate. I have set that field type to a date field. When on a desktop, the user can either enter the date directly into the field--this is great--or use the ...
0
votes
0answers
17 views

How to retrieve the values of a webform submission reference entity?

I created a content type with a reference entity type field. This reference entity is of type Webform Submission. I would like to know how to retrieve the field values to put in a twig file? (To ...
0
votes
1answer
192 views

Webform 5.3 to 6.1.0 , Error : Call to undefined method Drupal\webform\Routing\WebformUncacheableResponse::addCacheableDependency() [closed]

I updated the webform module from 5.3.0 to the latest version (6.1.0) and then when I click submit on one of my forms, I receive this ERROR: Error: Call to undefined method Drupal\webform\Routing\...

1
2 3 4 5
50