Radio Buttons Required - can't submit form

 Starting around April 4th the latest version of Chrome browser (34.x) was released. This latest version does does not allow a form to submit if the radio button values are required. Instead you wil get an alert message telling you those fields are required.

To fix this problem you you need to change two files.

1. Go to includes/qforms.cfm ~line 8 and replace this:

<script type="text/javascript" src="#Request.StorePath#includes/qforms/lib/qforms.js"></script>

with this:

<script type="text/javascript" src="#Request.StorePath#includes/qforms/lib/qforms.js?v=1"></script>

You're pointing from /compressed/ folder to the /lib/ folder. Also added a version to make sure the browser picks up the changed code.

2. Go to includes/qform/lib/qform.js and change ~line 771:

} else if( this.obj.checked){


} else if( this.obj.checked || (type == "radio" && this.obj.value) ){

Login or Signup to post a comment