validation is not disabled when container is hidden

teldrive 30 Aug, 2014
I have one issue like this linkhttp://www.chronoengine.com/forums/posts/f2/t97345/dropdown-list-and-events---email.html?hilit=disable+validation
i have detected that validation is not disabled when container is hidden, i have detected this after latest update to CF5v02 so i think is a bug, let me explain

two containers with an input box on each[attachment=0]Captura.JPG[/attachment]
validation on JavaScript function
function check01(el){
 return el.val() >= 0 && el.val() <= 1;
 }

and JavaScript code to hide box2 and show box1,
function showcontainer(boxid){
   document.getElementById(boxid).style.display="block";
}
 function hidecontainer(boxid){
   document.getElementById(boxid).style.display="none";
}
window.addEvent('load',function(){
showcontainer('box1');
hidecontainer('box2');

});

submit can't be applied because validation is working on box2(but is hidden this message)[attachment=1]Captura0.JPG[/attachment]

i include backup of this test[attachment=2]test_30_Aug_2014_14_59_29.zip[/attachment]
Max_admin 16 Oct, 2014
Answer
Thanks Teldrive, issue found and fixed for the next update!🙂

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.