Forums

Form Field Validation Issue CF v4 - Joomla 1.6.1

got2cy 05 Apr, 2011
Hi there,

Like what you have done with new version, feeling way round and can't get validation to work properly.
http://eyecard.co.za/contact

The class validate['required'] doesn't seem to be doing anything?

Following CSS files are loading

<link rel="stylesheet" href="http://eyecard.co.za/components/com_chronoforms/css/frontforms.css" type="text/css" />
<link rel="stylesheet" href="http://eyecard.co.za/components/com_chronoforms/css/formcheck/theme/blue/formcheck.css" type="text/css" />
<link rel="stylesheet" href="http://eyecard.co.za/components/com_chronoforms/css/formcheck_fix.css" type="text/css" />
<link rel="stylesheet" href="http://eyecard.co.za/components/com_chronoforms/css/error.css" type="text/css" />

Following JS files are loading
<script src="http://eyecard.co.za/components/com_chronoforms/js/formcheck/formcheck-yui.js" type="text/javascript"></script>
<script src="http://eyecard.co.za/components/com_chronoforms/js/formcheck/lang/en.js" type="text/javascript"></script>

JS Validation is turned on. Captcha gives error message permanently.

Have I missed something? Only change I made was to upload the views folder manually as it was missing due to xml ommision (thanks Max for posting fix).

Any input would be appreciated.

Thanks
Dwight
GreyHead 06 Apr, 2011
Hi Dwight,

Validation appears to be OK form here (with FF4, IE8 & IE9).

The recurring error message must be something to do with the Captcha setup. Can you post a screen shot of the Events setup?

Bob
got2cy 06 Apr, 2011
Hi there,

Thanks for the response, I see the validation is in fact working. Guess I was used to the way CF 3 dealt with validation. Like the new tooltip style warnings.

Attaced is a screen cap of the form events to help track captch issue.

What should I be setting the on fail event loop to? Tried a few combinations but no joy.

Cheers for help so far.

Regards
Dwight
Max_admin 07 Apr, 2011
Hello,

I see that your form has 2 "on submit" events, not sure how has this happened, but this may have very bad effects, I suggest that you create a new form and use the "Easy wizard mode" to do this since I see that you are only using the basic stuff, the easy mode should be helpful and will not cause any confusion, you will just need to configure the actions added by default.

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
got2cy 12 Apr, 2011
Hi again,

Thanks again for support. Have eliminated the duplicate OnSubmit but still having issues

- forms menu link does not carry the form name across eg below:
/index.php?option=com_chronoforms&view=form&Itemid=136&lang=en
the preview link does have form name but obviously not Itemid
/index.php?option=com_chronoforms&chronoform=en_contact&lang=en

The problem is that forms accessed from menu link do not submit unless menu event is set to submit, but that causes issues with captcha validation.

Forms accessed from the preview link work fine but don't carry menu Itemid so can lead to page layout issues (module assignment etc)

Will create URL menu link to form preview page in interim, is there a fix or am I missing something?

Can give you access to site backend if needed.

Regards
Dwight
Max_admin 15 Apr, 2011
Hi Dwight,

everything works perfectly fine here and I have just tested with and without SEF, so it looks like you have not added the fix correctly, I'm about to release the new version today, so please install it once its available and let me know if this still doesn't work, you will be able to upgrade just by installing the new one OVER the one you have.

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
got2cy 15 Apr, 2011
Hi Max,

I will grab new release and implement. Get back to you once I have tested, but trust it should be ok. Been using v3 for ages and would be lost without a version for J1.6. Kudos for great component.

Cheers
Dwight
Max_admin 17 Apr, 2011
Hi Dwight,

Thanks, just want to confirm that the new release is just out!

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.