Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [webforms]

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

-2
votes
0answers
13 views

Conditional default value [on hold]

It´s possible to set default value in a text field according to the chosen value in a select field. For example: Select field values: administrative / engineer / boss Text field values: if "Select ...
0
votes
0answers
9 views

Reuse entered field value on next page

I would like to show on my second page of my Drupal Webform a value which I entered on the first page. On my first page I have a combobox in which I choose a specific value. This value I would like ...
0
votes
0answers
22 views

Ensuring Users Get the Most Up-to-Date PDF

I have taken over a Drupal 7 site that contains a lot of pdf forms. These forms are frequently updated. Many of these forms were uploaded to sites/default/files/userfiles and manually linked across ...
0
votes
0answers
17 views

Where is webforms template info stored in the database

I'm using webforms in Drupal 8. I have migrated an old database over but need to overwrite the correct webforms table to restore a webform template I created on a previous site. Can you tell me ...
-2
votes
0answers
16 views

webform_submission_ID post blocked by CAPTCHA module

After solving reCAPTCHA and submitting the form I am getting error: The answer you entered for the CAPTCHA was not correct. Recent log message says: webform_submission_ID post blocked by CAPTCHA ...
0
votes
2answers
21 views

Show View When Empty and Hide View When Not Empty!

I have a webform as a block which sets a value connected to the logged in user. I want to display the webform if it hasn't been filled in yet by authenticated users, and hide it when it has (based on ...
-3
votes
0answers
31 views

Defective occurrences [on hold]

After running manual test on the webform's established throughout various pages, (e.g. home page, contact page), I have acquired the following occurrences: When entering data into the message text ...
-2
votes
0answers
16 views

Update resulted in Page Error's [on hold]

After updating the 'Webform' module, the site now provides the following error message for various pages: "The website encountered an unexpected error. Please try again later.The website encountered ...
0
votes
1answer
25 views

How to upcast webform submission in custom routes resp. controller?

Using this route: confirm: path: '/node/{node}/submission/{webform_submission}/confirm' defaults: _controller: '\Drupal\mymodule\Controller\MymoduleController::confirm' _title: 'Confirm ...
0
votes
1answer
17 views

Webforms: pages 1,2 of 4 not being displayed

I'm developing my first Drupal 8 Webforms application. It had three pages to start with and I had managed to get it to do what I wanted it to. I have also developed a WebformHandler to go with it. I ...
1
vote
0answers
12 views

Using workflow with webform for moderation

I'm working with a Drupal7 site, it currently has both webforms and workflow modules. I need to move a webform from request to approve stages. I defined the stages, & Created a trigger for the ...
0
votes
0answers
12 views

Default Style for token - webform_submission:values

I'm wondering if there is a way to theme the default style for the webform token [webform_submission:values]. The emails being sent with no space between the label and the value. So they look like ...
0
votes
1answer
23 views

Allow authenticated users to update submissions

Drupal 8.6.5 and Webform 5 here I have a webform in which I have enabled Signature Pad (I mean https://github.com/szimek/signature_pad). I would like to implement a workflow such that: An ...
0
votes
1answer
18 views

Access webform by checking predefined codes

If I set up a webform with one component "authrization code", which is predefined by my side. People can access the form only when they get the authorized unique code from me. Is there any way to ...
0
votes
0answers
13 views

Assigning a tag to a subscriber through webform [closed]

Webform, Mailchimp and webform_mailchimp modules are used. LNAME: '[webform_submission:values:name]' works pretty good so do other fields. Now I want to assign a Mailchimp Tag to this subscriber. ...
0
votes
1answer
10 views

The only email header field that can be replaced is the Reply-to field?

Under the heading E-mail header details in the e-mail settings for my webform I have set the option E-mail from address to the component E-mail, from the current webform. When the webform is ...
0
votes
1answer
23 views

Webform with element that has logged in user's username

In my D8 site i have several webforms created. I would like to have a Webform element that will pull/prepopulate logged in user's username. Is there a way to achieve that from GUI? The reason i want ...
1
vote
1answer
18 views

Display users webform submission as readonly?

Is there any built-in way to display the questions on a webform and the user's responses as read-only? The site I'm building allows a user to answer survey questions up to a given cut-off time. Once ...
1
vote
1answer
16 views

Programmatically change webform confirmation page

I've looked at the other similar questions but they don't answer this precise issue. In my use case, a webform is displayed on an arbitrary entity page (such as "activity/xx"). (This is not a 'node' ...
-3
votes
0answers
35 views

How can I import CSV data into a webform? [closed]

How can I import CSV data into a webform? All the modules seem to work on Drupal 7. How can I achieve this?
0
votes
1answer
43 views

How to silently prevent Webform spam (specific names, email addresses)?

I am using Webform on Drupal 8; I have a few spambots that fill out the exact same form in the same way every day. I want to do some kind of validation that automatically blocks these postings. For ...
0
votes
1answer
16 views

Post/redirect form to url of node selected

This is a continuation of this: https://www.drupal.org/project/webform/issues/3023984 I was able to redirect to a node/term url using the token based on the answer provided, great! However this is ...
0
votes
1answer
28 views

Webform Submission Using Rest API POST method

I just created the webform and added fields. I need to create a Webform Submission Using Rest API POST method. I just installed Rest & Rest UI modules for this. But when I try to test my API ...
1
vote
1answer
25 views

Editing display of submission results

I'm working on a Drupal 8 site, and I'd like to adjust how the results (/admin/structure/webform/manage/form-name/submission/ID/edit) display – the client doesn't want to see all of the fields and ...
0
votes
1answer
21 views

Want to display the validation error message above the webform

I have a webform created in Drupal 8 using the webform module I have to submit the data to 2 different 3rd party API. The scenario is I have to submit the data to the 1st API if there is no error ...
-1
votes
0answers
31 views

Webform node doesn't appear in the content types

I had Webform Node installed but it was not showing in the available Structure / Content Types list, and not showing in the Content / Add Content / options. So I decided to uninstall/reinstall it ...
-1
votes
0answers
20 views

Webform Options missing / CDN warning still appearing

With Drupal 8 I have installed Webform via composer: composer require drupal/webform I then used the recommended method to add the libraries locally: drush webform:libraries:composer > web/...
0
votes
0answers
13 views

Webform field description to be inline, not popup

The description text on a webform text field does not display inline, but pops up in a box when you click into the field. How do I change this so it is inline like the other fields? Using Tweme ...
0
votes
0answers
16 views

List webform nodes indicating completed and to be completed surveys

user are asked to participate in a number of webform surveys when they login they are shown a list of available webform node surveys completed surveys are listed but unavailable non-completed surveys ...
-1
votes
0answers
30 views

What is the smoothest method for installing the Webform module?

I just wanted to see if someone could clarify the smoothest method for using CLI to install and manage Webform within a Drupal 8 site. I installed the module with Composer. composer require drupal/...
0
votes
0answers
7 views

Ajax Form “back to form” link not reloading form via ajax

This just started happening today. We have a site form that built with 'Ajax' turned on. The form submits, and ajax displays the 'confirmation' message with the 'back to form' link. When clicking '...
-1
votes
1answer
18 views

How to change the “firstDay” option of the datepicker JQuery UI element in the UI of webforms?

Where can I change the firstDay option of the datepicker in the UI of webforms? Can it only be done by writing some code?
0
votes
1answer
19 views

Webform Validation Allow Lowercase Only

I have an email field in a webform that will trigger a rule that checks against that field against a user's email. The issue is, rules is case sensitive so if the webform field had capitals, and the ...
-1
votes
0answers
10 views

How do I show webform file in email as text only, not a link to the file

I want to store uploaded files in private file system which users cannot access. How to I show the uploaded file name as text only in a confirmation email instead of a link to the file which they ...
3
votes
2answers
63 views

Rendered Webform has no Javascript attached

I've created a simple filter that allows webforms to be rendered anywhere in a node with a tag like this: [webform:machine_name] The code to render the form is as follows: $webform = \Drupal::...
0
votes
1answer
16 views

Finding entity/webform fields in the database

A bunch of user accounts were deleted and recreated with new UIDs, and so any webform submissions or entities that have fields pointing to the old UID are now broken/wrong. I already updated some UID ...
0
votes
0answers
4 views

Limit theme_webform_element() to One Form for Placing Description Above Field?

I have a very long webform, more than 200 fields, where the description needs to go above the input/textarea and below the label, instead of below the input/textarea. I am using webform 7.4.x and I ...
0
votes
1answer
20 views

How do I create a new custom component form field?

As shown in the image, Mapping Name is a new web form component form field. I want to create it via custom module. Thanks!
-1
votes
0answers
17 views

Ajax error on form submit

When I submit the form on the website(example: http://www.megatechnika.ru/node/109/ ) the form isn't sent to the server. And there is an alert showing with /system/ajax/ 500 error and a following text:...
0
votes
1answer
85 views

How to pass values or data from a page to a webform using webform link field?

If we have a link to a webform in a content type and we need to pass data or values to that webform from the fields available from the content type. How do we achieve this. I'm using webform 8.x-5 I ...
0
votes
1answer
29 views

Custom validation [closed]

I have a webform with 195 different select options, each with their own form key. I want to make the form so someone can only select 10 items, but the max number validation isn't working so I'm ...
0
votes
1answer
19 views

How to get Webform Radio Option Value as a token value for email template?

I am trying to use my webform's radio field to choose between two departments, let's call them ABCDE and XYZ. On the webform display that the user sees, I want them to show up as ABCDE and XYZ. When ...
-1
votes
1answer
40 views

Display an uploaded image in a webform, rather than the filename

Background: I'm using the profile module to hold user data but that makes an unpleasant UX for updating user info. So I'm using a single-page webform to offer the editable user data. The user data is ...
-1
votes
0answers
10 views

how to do webform translations? Or how to apply webform localization to a page?

recently I tried Webform localization using string translations, but i could't see translations on page the form was as it been. So the question is how could i apply my translations and see changes? ...
0
votes
1answer
19 views

REST: 403 forbidden for file entities

Ok, so this is a weird one... I have a HEADless Drupal that I'm using to serve webform submissions. The webform module stores all files as private files. The issues I'm having is if I view the ...
0
votes
1answer
27 views

How to setup different confirmation email per webform instance

Background: I have a ContactUs webform made by Drupal 8 webforms contrib module and used that ContactUs Form on 3 different pages. Is it possible to setup 3 different confirmation emails per ...
0
votes
1answer
34 views

Webform to content type [closed]

In the Webform module version 8.x-5.0-rc27 there isn't the tab to add a webform to a certain content type. Is this intentional? If not, is there a workaround for this issue?
0
votes
2answers
81 views

How to load and render a webform with Ajax

I'm new on Drupal 8, and I want to make a custom module to load any webform of (webform module) on other pages of the website. The idea is to load the webform when the page load. All webform has ...
-1
votes
0answers
32 views

Multiple file upload issue in multipage webform

I have created multipage webform in my development drupal8 site and there is multiple file upload field in second page of multipage form.Totally form contains 3 pages.When i upload multiple files in ...
0
votes
1answer
11 views

Webform Build Tab not displaying correctly

We just installed the Webform module, but as I'm going in to create and edit a new form, the "Build" tab is only allowing me to enter Elements with YAML code (pic one below). In the module description,...