Closed (fixed)
Project:
Webform
Version:
8.x-5.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Issue tags:
Reporter:
Created:
16 Jun 2017 at 17:30 UTC
Updated:
6 Jul 2017 at 09:09 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
jrockowitz commentedAre you able to replicate the issue using http://simplytest.me?
Comment #3
lomale@bluewin.ch commentedI have no idea what happens.
if i uninstall webform and reinstall. could that help. my hoster announced, that i have some malware somewhere on the system. but they didn't give me more information.
Thanks I will try to find out.
Lothar
Comment #4
jrockowitz commentedUninstall and reinstalling should fix the issue because no one else is reporting this problem.
The issue could be theme/base-theme related.
Comment #5
lomale@bluewin.ch commentedI think I have the answer, but no solution
It's not the button. I send you the script. OnlineForm Engl
the toggle advanced - toggle required is not required when the submitter leaves it opened.
see in picture two. it only jumps to the last entry. so people don't see that in my case two toggles are not set.
and therefor the submit button as well as preview don't work.
Thanks for your answer
Lothar
Comment #6
lomale@bluewin.ch commentedHi Jakob. I’m a dummy.
A toggle always has an entry. so i’m right no sense to make it required.
I had the wrong thought or the wrong way around.
I apologize for this issue.
I tried to find out where the mistake was, the form runs again. no idea why.
Comment #7
lomale@bluewin.ch commentedNow im sure
The error (Submit button not active anymore) occurs when a
toggle_advanced:
'#type': toggle
'#title': 'XXXX'
'#description': '
I will participate at the next training
'
'#title_display': before
'#description_display': before
'#admin_title': submission
'#toggle_theme': iphone
'#toggle_size': large
'#on_text': 'YES'
'#off_text': 'NO'
is set required - makes no sense but one can do it.
'#required': true
I have a suggestion,
is it possible that it is not possible to set the element type : toggle to '#required':
Just an idea
Lothar
Comment #8
jrockowitz commentedI agree the toggle elements should never be required. I will create a patch when I have a chance.
Comment #9
jrockowitz commentedComment #11
jrockowitz commented