Comments (2)
I have the same issues. I can submit a pull request to fix some of this.
Issue one: the View: webform_webforms probably doesn't exist and webform_table probably set to "null" in the config. So manually set that to 1 to default to the table as a quick fix, or import the webform_webforms from some other site. (see function webform_admin_content() under includes/webform.admin.inc)
Issue two: the webform settings aren't saving properly so nothing appears for options to add fields. Under function webform_admin_settings_submit() in includes/webform.admin.inc move this snippet so it's just before the closing bracket:
$config = config('webform.settings');
foreach ($form_state['values'] as $key => $value) {
$config->set($key, $value);
}
$config->save();
backdrop_set_message(t('The configuration options have been saved.'));
For some reason it was at the beginning so it missed all the changes before saving.
Issue three: the webform_disabled_compenents needs to exist in the config as an empty array at first. So do this manually to get it working in webform.settings.json add this somewhere in the middle:
"webform_disabled_components": [],
There also needs to be a patch to ensure these variables exist in the .install for anyone else trying to install.
That should get it working, more or less. I'm still trying to squash one warning in the meanwhile:
Warning: array_flip() expects parameter 1 to be array, null given in /home/nubeli/a.nubeli.org/backdrop/core/includes/common.inc on line 1739
from webform.
The last issue I mentioned is fixed by adding the following to the webform.settings.json config:
"webform_allowed_tags": [
"a",
"em",
"strong",
"code",
"img"
],
So most of these issues are just from the module not providing defaults when upgrading instead of doing a fresh install. And one mistake in the settings submission form.
Hopefully that at least gets it working.
from webform.
Related Issues (20)
- Form Components Editing - Clicking SAVE does not apply all the changes in the form.
- Email "From" Column should probably be renamed "Reply-To"
- Total submissions limit: Empty webform without message for anonymous HOT 1
- Anonymous users do not get form name as part of the default email subject
- Ability to export and import webforms like config HOT 2
- [UX] Provide hints that in order to have attachments allowed, you need to enable "HTML mail system" HOT 2
- Labels strip out HTML but help text says certain tags are allowed HOT 9
- Fields that are marked required as part of Conditional rule have different markup and behaviour HOT 1
- Views: #dependency to #states HOT 2
- Cannot add conditionals when using PHP8 HOT 4
- 7.x-4.25
- Stray drupal_ reference
- Warning: Attempt to read property "is_draft" on bool HOT 4
- Javascript not loading HOT 1
- PHP 8 compatability issue HOT 2
- Webform functionality not enabled on content types when ported from D7 HOT 1
- [UX] Enable use of core HTML5 Date widget for date field HOT 1
- Missing join: webform_submissions node
- import webform results data? HOT 7
- Not able to send submission values by e-mail HOT 15
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webform.