Hi there,
I have put my form on homepage using module (V3 stable), everything is alright apart from the validation. I also have this form on contact page using plugin, at there is working well. and I just found that there is an error saying that "this.getFormElements().filterbyAttribute is not a function ", (from firefox), the code is :
Element.extend({
getInputByName1 : function(nome) {
el = this.getFormElements().filterByAttribute('name','=',nome)
return (el)?(el.length)?el[0]:el:false;
}
});
window.addEvent('domready', function() {
('firstname,lastname,email').split(',').each(function(field){
$('ChronoContact_contact').getInputByName1(field).addClass('required');
});
('email').split(',').each(function(field){
$('ChronoContact_contact').getInputByName1(field).addClass('validate-email');
});
('permit').split(',').each(function(field){
$('ChronoContact_contact').getInputByName1(field).addClass('validate-selection');
});
});
Is it a bug with the module V3 version? Can you provide the old one (like V2.5) for me to have a test?
I am using chronoform V2.5 RC3.1 and Bot V0.6 J1.5 , Joomla 1.5.7
Thanks in advance
I have put my form on homepage using module (V3 stable), everything is alright apart from the validation. I also have this form on contact page using plugin, at there is working well. and I just found that there is an error saying that "this.getFormElements().filterbyAttribute is not a function ", (from firefox), the code is :
Element.extend({
getInputByName1 : function(nome) {
el = this.getFormElements().filterByAttribute('name','=',nome)
return (el)?(el.length)?el[0]:el:false;
}
});
window.addEvent('domready', function() {
('firstname,lastname,email').split(',').each(function(field){
$('ChronoContact_contact').getInputByName1(field).addClass('required');
});
('email').split(',').each(function(field){
$('ChronoContact_contact').getInputByName1(field).addClass('validate-email');
});
('permit').split(',').each(function(field){
$('ChronoContact_contact').getInputByName1(field).addClass('validate-selection');
});
});
Is it a bug with the module V3 version? Can you provide the old one (like V2.5) for me to have a test?
I am using chronoform V2.5 RC3.1 and Bot V0.6 J1.5 , Joomla 1.5.7
Thanks in advance
Hi acy277,
V3.0 and V2.5 are different regarding validation, do you mean that the plugin works well and the component page not ? which plugin version do you use with V3.0 stable ?
there should be no errors of course, may be your page has some errors or other js libraries which made a conflict!
Max
V3.0 and V2.5 are different regarding validation, do you mean that the plugin works well and the component page not ? which plugin version do you use with V3.0 stable ?
there should be no errors of course, may be your page has some errors or other js libraries which made a conflict!
Max
Hi Max,
I didn't use the component to display my form, instead I used module to display it. I am using module "mod_chronocontact_v1.1_CFV3.0 Stable" and the plugin is Bot 0.6 J1.5, component version is V2.5 RC3.1.
Are you able to provide the module V2.5 and let me have a test?
Thanks,
Dennis
I didn't use the component to display my form, instead I used module to display it. I am using module "mod_chronocontact_v1.1_CFV3.0 Stable" and the plugin is Bot 0.6 J1.5, component version is V2.5 RC3.1.
Are you able to provide the module V2.5 and let me have a test?
Thanks,
Dennis
Hi Dennis,
No module is available for the V2.5, there is some workaround with another module called "place here" or something like that, Bob knows its name and its here in the forums many times and in the FAQs (the module name) and I saw the module itself in the downloads area sometime ago, but the module you have is not compatible with V2.5
Cheers
Max
No module is available for the V2.5, there is some workaround with another module called "place here" or something like that, Bob knows its name and its here in the forums many times and in the FAQs (the module name) and I saw the module itself in the downloads area sometime ago, but the module you have is not compatible with V2.5
Cheers
Max
This topic is locked and no more replies can be posted.
