Hi,
We are using webform cards to split up a long webform.
We have webform, webform cards, webform client side validation, clientside validation, inline form errors all turned on.
Webform cards which contain required likert components and radio buttons accurately stops a user from progressing forward to the next card. It's the radio button I believe that makes this work properly.
Webform cards that contain 2 sets of required likert components alone doesn't stop the user from progressing to the next card despite being required fields. Only when the submit button is clicked is the user taken back to the likerts that were not filled in.
We would not like the user to progress to the next page if any time of required field is not filled in likert or radio button.
Is this an issue with using likert fields and cards together? How can we resolve this?
| Comment | File | Size | Author |
|---|---|---|---|
| #14 | 3207939.gif | 3.07 MB | paulocs |
| #11 | 3207939-12.patch | 5.67 KB | jrockowitz |
| #9 | 3207939-9.patch | 4.2 KB | jrockowitz |
| #8 | webform.webform.issue_3207939 (1).yml | 5.05 KB | jrockowitz |
Comments
Comment #2
jrockowitz commentedPlease upload an example that can be used to replicate this issue. Please do not share your entire webform, just the simplified elements, and configuration required to reproduce your issue.
Comment #3
ganeshsurya11 commentedI think the client-side validation doesn't seem to be work with the Likert element. I tried the webform with Ajax and without Ajax setting as well but the Likert element only shows the server-side validation i.e. until we click on its Submit button.
Below is my a small webform source code for which I was trying first:
I feel the client-side validation has not been applied to Likert element yet.
Comment #4
jrockowitz commentedYep, Likerts currently do not support clientside.
Comment #5
ganeshsurya11 commentedIs there any plan to add clientside validation for the Likert element?
Comment #6
jrockowitz commentedPlease consider getting involved, funding development, and hiring professional support
Comment #7
jrockowitz commented@Symphony3 Thank you for backing the Webform module's Open Collective.
Comment #8
jrockowitz commentedAttached is a webform, which can be used to replicate this issue.
Comment #9
jrockowitz commentedAttached is the very basic solution. Let's see if all the tests pass.
Comment #11
jrockowitz commentedComment #12
philipjoseph commentedHi Jacob, would this patch work for the webform 6.x stream?
Comment #13
jrockowitz commentedThe patch also works in 6.x.
Comment #14
paulocsRTBC.
Comment #17
jrockowitz commented