Validation doesnt seem to work

babylon 13 Jan, 2010
Hello, im still using an older version of chrono forms (2.5 J1.5 RC3.1) and have no problem with it.
On another site i created a big form and wanted to use the validation on 6 fields or so..

I should use the fields from:

<input name="factuurland" id="factuurland" size="25" type="text">
<input name="telefoon" size="25" type="text">
<input name="email_from" size="25" type="text">


so i put in like : factuurland,telefoon,email_from in the area: 1 - required (not blank)
But even if i dont fill in anything,it still sends the form...
GreyHead 14 Jan, 2010
Hi babylon,

Please post a link to the form.

Bob
babylon 14 Jan, 2010
sure....
http://www.safetyposters.nl/index.php?option=com_chronocontact&Itemid=54
GreyHead 14 Jan, 2010
Hi babylon,

This looks as though it may be an old version of ChronoForms - a bit hard to tell but I don't see the script files that I expect.

You are loading more than one copy of MooTools which is probably causing the problem :-(

The script compressor seems to be loading both compressed and uncompressed versions too (so there are three versions loaded altogether). I suggest that you turn it off for testing.

The site_url seems to be mis-set so that the form action url is incomplete (it doesn't include the main domain name) here - this shouldn't be a problem but may cause you some other bugs.

Bob
babylon 14 Jan, 2010
Hi, it seems to work now, but i didnt do anything....the domain is active now..
but as everthing in the form shows in the receiving mail the text area field opmerkingen stays empty.

Im using:
<textarea name="opmerkingen: " cols="90" id="opmerkingen: " style="height: 90px"></textarea>


any idea...?
GreyHead 14 Jan, 2010
Hi babylon,

Neither the :, nor the space are valid characters for a name. Make it name="opmerkingen"

Bob
babylon 14 Jan, 2010
that did it,thank you🙂
This topic is locked and no more replies can be posted.