I have no idea why a webform that worked so far doesn't allow to submit.
Where do i have to look for
how can i fix that.

only idea, if I the had to pass through the missing fields again it might hang ??

i had an old copy of the form and this works.

I added the form code in YAML

Thanks for an idea

Comments

lomale@bluewin.ch created an issue. See original summary.

jrockowitz’s picture

Are you able to replicate the issue using http://simplytest.me?

lomale@bluewin.ch’s picture

I 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

jrockowitz’s picture

Uninstall and reinstalling should fix the issue because no one else is reporting this problem.

The issue could be theme/base-theme related.

lomale@bluewin.ch’s picture

I 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

lomale@bluewin.ch’s picture

Status: Active » Closed (works as designed)

Hi 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.

lomale@bluewin.ch’s picture

Category: Support request » Feature request
Status: Closed (works as designed) » Active

Now 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

jrockowitz’s picture

I agree the toggle elements should never be required. I will create a patch when I have a chance.

jrockowitz’s picture

Status: Active » Needs review
StatusFileSize
new1.15 KB

  • jrockowitz committed a88851c on 8.x-5.x
    Issue #2886840 by jrockowitz, lomale@bluewin.ch: Submit Button not...
jrockowitz’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.