Basically I created a form with the latest version of ChronoForm. It works fine in one page but when I used Mambot plugin to display it in a content page it didn't work. I put the same info in the form text fields but in the second picture, it thinks that e-mail is not meeting the requirements.
This is the working one:

This is the one that I used Mambot to display in a content page:

Thank you for any help!
This is the working one:

This is the one that I used Mambot to display in a content page:

Thank you for any help!
Hi, looks like you have different mambot/plugin version installed to the Component version installed!
Cheers
Max
Cheers
Max
Hi Max,
I am very new to Joomla and especially ChronoForm and I am sure you can tell. To display the form in a content page, I was told to install Mambot plugin and I downloaded
http://www.chronoengine.com/downloads/file/60-ChronoForms%20Mambot%20V%200.8%20-%20CFV3.0%20Stable.zip.html That's when I noticed that my form was not working anymore. Is there another version that i should install? Sorry if this question is stupid?
Thanks,
I am very new to Joomla and especially ChronoForm and I am sure you can tell. To display the form in a content page, I was told to install Mambot plugin and I downloaded
ChronoForms Mambot V 0.8 - CFV3.0 Stable.zip
fromhttp://www.chronoengine.com/downloads/file/60-ChronoForms%20Mambot%20V%200.8%20-%20CFV3.0%20Stable.zip.html That's when I noticed that my form was not working anymore. Is there another version that i should install? Sorry if this question is stupid?
Thanks,
Hi sakanet,
you should install component : V3.1 RC4.11 and mambot/plugin RC4.11
Cheers
Max
you should install component : V3.1 RC4.11 and mambot/plugin RC4.11
Cheers
Max
Max, thank you very much, that works now but it seems like this fix created another problem. Now I have the following code added to right below the form, right after the submit button:
Thank you for your help!
.'; eval("if(field.getProperty('title')){fMessage_val_validate_email = field.getProperty('title');}"); eval("cfvalidate_"+field.getProperty('name')+".add( Validate.Email, { failureMessage: fMessage_val_validate_email } );"); } if(field.hasClass('validate-url')){ var fMessage_val_validate_validate_url = 'Please enter a valid URL.'; eval("if(field.getProperty('title')){fMessage_val_validate_validate_url = field.getProperty('title');}"); eval("cfvalidate_"+field.getProperty('name')+".add( Validate.Format, { pattern: /^(http|https|ftp):\/\/(([A-Z0-9][A-Z0-9_-]*)(\.[A-Z0-9][A-Z0-9_-]*)+)(:(\d+))?\/?/i, failureMessage: fMessage_val_validate_validate_url } );"); } if(field.hasClass('validate-date-au')){ var fMessage_val_validate_date_au = 'Please use this date format: dd/mm/yyyy. For example 17/03/2006 for the 17th of March, 2006.'; eval("if(field.getProperty('title')){fMessage_val_validate_date_au = field.getProperty('title');}"); eval("cfvalidate_"+field.getProperty('name')+".add( Validate.Format, { pattern: /(0[1-9]|[12][0-9]|3[01])[- /.](0[1-9]|1[012])[- /.](19|20)\d\d/, failureMessage: fMessage_val_validate_date_au } );"); } if(field.hasClass('validate-currency-dollar')){ var fMessage_val_validate_currency_dollar = 'Please enter a valid $ amount. For example $100.00 .'; eval("if(field.getProperty('title')){fMessage_val_validate_currency_dollar = field.getProperty('title');}"); eval("cfvalidate_"+field.getProperty('name')+".add( Validate.Format, { pattern: /^\$?\-?([1-9]{1}[0-9]{0,2}(\,[0-9]{3})*(\.[0-9]{0,2})?|[1-9]{1}\d*(\.[0-9]{0,2})?|0(\.[0-9]{0,2})?|(\.[0-9]{1,2})?)$/, failureMessage: fMessage_val_validate_currency_dollar } );"); } Validate.One_Required = function(elm, paramsObj){ var paramsObj = paramsObj || {}; var message = paramsObj.failureMessage || "Must Choose one"; var ready = false; var elm = paramsObj.elm; var p = elm.parentNode; var options = p.getElementsByTagName('INPUT'); for(i=0; i 1)field.options[0].selected = true; eval("if(field.getProperty('title')){fMessage_val_validate_one_required = field.getProperty('title');}") eval("var cfvalidate_"+field.getProperty('name').replace('[]', '')+" = new LiveValidation(field, { validMessage: ' ', insertAfterWhatNode : field.parentNode });"); eval("cfvalidate_"+field.getProperty('name').replace('[]', '')+".add( Validate.One_Required, { elm : field, failureMessage: fMessage_val_validate_one_required } );"); } } }); $ES('select', $('ChronoContact_Contact')).each(function(field){ eval("var cfvalidate_"+field.getProperty('name').replace('[]', '')+" = new LiveValidation(field, { validMessage: ' ' });"); if(field.hasClass('validate-selection')){ var fMessage_val_validate_selection = 'Please make a selection'; if(field.size > 1)field.options[0].selected = true; eval("if(field.getProperty('title')){fMessage_val_validate_selection = field.getProperty('title');}"); eval("cfvalidate_"+field.getProperty('name').replace('[]', '')+".add( Validate.Presence, { failureMessage: fMessage_val_validate_selection } );"); } }); $ES('textarea', $('ChronoContact_Contact')).each(function(field){ eval("var cfvalidate_"+field.getProperty('name').replace('[]', '')+" = new LiveValidation(field, { validMessage: ' ' });"); if(field.hasClass('required')){ var fMessage_val_required = 'This field is required'; eval("if(field.getProperty('title')){fMessage_val_required = field.getProperty('title');}") eval("cfvalidate_"+field.getProperty('name').replace('[]', '')+".add( Validate.Presence, { failureMessage: fMessage_val_required } );"); } }); });
Thank you for your help!
Hi sakanet,
This seems to be most often when the Joomla Email Cloaking Plugin is enabled - it breaks the validation JavaScript. Please turn it off and see if this fixes the problem.
Bob
This seems to be most often when the Joomla Email Cloaking Plugin is enabled - it breaks the validation JavaScript. Please turn it off and see if this fixes the problem.
Bob
This topic is locked and no more replies can be posted.