Hey all - I have been trying to get this to work most of the day... Have looked at all of the posts regarding validation on radio buttons not working with still no luck - have tried everything. I think it may come down to the last code in the moovalidation.js file, As IE is giving me an error there. I am using Joomla 1.015 with version Chronoforms 2.39. Here is the last part of the moovalidation code that comes with 2.39 for Joomla 1.015:
The most recent Joomla 1.5 chrono beta release hase 3 moovalidation.js files in it. The one called moovalidation2_.js has the following last part for radio:
So, when I try to use this file with my 2.39 version it doesn't work. Could version 2.39 for Joomla 1.015 have never been fixed with this issue? Please help - I have to use 1.015 and I need to validate some radio buttons!!! 😲
['validate-one-required', 'Please select one of the above options.', function (v,elm) {
var p = elm.parentNode;
var options = p.getElementsByTagName('INPUT');
return $A(options).any(function(elm) {
return $F(elm);
});
}]
The most recent Joomla 1.5 chrono beta release hase 3 moovalidation.js files in it. The one called moovalidation2_.js has the following last part for radio:
['validate-one-required', 'Please select one of the above options.', function (v,elm) {
var p = elm.parentNode;
var options = p.getElementsByTagName('INPUT');
b = false;
($A(options)).each(function(elm) {
if (elm.checked==true) {
b = true;
}
});
return b;
}],
So, when I try to use this file with my 2.39 version it doesn't work. Could version 2.39 for Joomla 1.015 have never been fixed with this issue? Please help - I have to use 1.015 and I need to validate some radio buttons!!! 😲