Again Validation Problem,

jrmobile 29 Nov, 2009
Hi Everyone,

I'm absolutely exhausted here trying to find what caused Validation to fail on my form.
I've copied the joomla site from my previous one where everything worked perfect.
I've made some changes to the form, but not much.
Now i cannot see validation working, it just doesn't react on leaving the empty field, or submiting empty values.
I've read hundreds of posts on this forum, but failed to find solution.

Some information on my form
- Validation Enabled
- MooTools
- Most of the fields are on the required validation
- email check for one field
- Load CSS/JS - on
- Turned of most of plugins
- Checked form without templates - same problem
- No JS or Php errors in error_log
- All inputs has its Type parameter
- Tried to remove all HTML code and leave it only with one field and Submit button

And no luck after all that magic.

Please anybody give me a clue on what's going on here.

The form is here
http://winterstardance.ru/index.php?option=com_chronocontact&Itemid=81&chronoformname=Registration_ru&lang=ru&tmpl=component
Will really appreciate any help.
nml375 29 Nov, 2009
Hi,
It seems the id of the form element is 'login-form', which is not what the CF validation script expects (it thinks the form element id should be 'ChronoContact_Registration_RU'). This is what prevents the validation from working.
Do you have any custom attributes in the "Form Tag Attachments"?

/Fredrik
jrmobile 29 Nov, 2009
Hi Fredrik,

Thanks for your prompt answer, never expected such fast help.

I searched through the form but did not found anything that would look like Form Tag Attachments.

Anyway when i'm looking at the form source i cannot see login-form.
What i see is correct id=ChronoContact_Registration_RU

<form name="ChronoContact_Registration_RU" id="ChronoContact_Registration_RU" method="post" action="http://winterstardance.ru/index.php?option=com_chronocontact&task=send&chronoformname=Registration_RU&Itemid=81" >


I thought that it might give you a better understanding of what the problem is - when i open any other form such as

http://winterstardance.ru/index.php?option=com_chronocontact&Itemid=132&chronoformname=Lesson_ru&lang=ru

it has the same problem - no validation strikes on the form.
jrmobile 29 Nov, 2009
All and especially Fredrik,
Apologize my stupidity.
The problem solved.

For whom it might be interesting the cause was that i've changed validation script files long time ago and forgot about it.

Thanks anyway, problem is solved.
This topic is locked and no more replies can be posted.