Sugest PHP validation?

Raymon 12 Feb, 2008
Hi Again,

I've been fidling around with the validation and it seems the problem (i'm using chrono and J! 1.5) is the javascript conflicts. (mootools/validator) I've tried fValidator and i got i to work in FF and IE6. Mind you it's really bugy in IE6!!!

Untill there is a better solution for the client side validation I want a php validation of the form. Can anybody sugest a php validation (or code) I can use in onsubmit before email?

(standard fields like; required,aplhanumeric, numbers, email, etc)

Thnx!
Raymon
Max_admin 12 Feb, 2008
Hi Raymon,

I guess you would like to wait because the J1.5 ChronoForms version with fixed validation will come out soon!

Cheers,

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Raymon 12 Feb, 2008
Jep, but it never hurts to also do serverside validation🙂! So if any of you Chrono Freaks have experience using a PHP validation with Chrono I would be really like to know the in's and out's.

Grtz,
Raymon
GreyHead 12 Feb, 2008
Hi Raymon,

You have full access to PHP validation in the 'OnSubmit before email' box. You can write any validation (or manipulation) code you like in there. If validation is successful then you let ChronoForms continue processing, if not you call showform() again.

I don't think that passing messages to showform() is built in but it's an easy hack.

Bob
This topic is locked and no more replies can be posted.