An invalid form control with name='Question71' is not focusable. when saving from

Permalink 1 user found helpful
A colleague cant save the form block settings. He's using Google Chrome on Windows and when he clicks save nothing happens. Looking in the browser console:

Error: An invalid form control with name='Question71' is not focusable. From call clickedButton = true;$('#ccm-form-submit-button').get(0).click()

If I add novalidate to the form attributes in the browser the form saves OK.

How can I add this attribute to the form.

Concrete 5 version is 5.6.3.3

nathanfriend
 
nathanfriend replied on at Permalink Best Answer Reply
nathanfriend
Found the file. Edit line 72 /updates/concrete5.6.3.3/concrete/elements/block_header_edit.php

Change: <form method="post"

to

<form novalidate method="post"
PixelFields replied on at Permalink Reply
PixelFields
Thanks nathanfriend!

I was having a similar issue with a custom form template getting an error "ccmCaptchaCode not focusable". I tried putting an edited copy of block_header_edit.php into the root/elements folder but it had no effect; I put it in the concrete/elements folder and it worked immediately.
nathanfriend replied on at Permalink Reply
nathanfriend
Your welcome, good help out another c5'er.

This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.