Hi chocbiscuit,
you can write your own code in Chronoforms to do server side validation, the same for javascript validation too and there is one built in.
let me know if this is what you need.
Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Hi Max,
Yes I want to write my own serverside validation, I've already written it just need to integrate it and I'm not sure how to.
Can you give me any suggestions? I could mail you over my code if you want to see exactly what I've done.
Cheers again.
CB
Hi,
in the validation tab the bottom area, check the example there on how to write a server side validation check.
cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Hi Max,
I'm using version 2.5 J1.5 RC3.1 of Chronoforms ........ I don't see anything there about serverside validation, just drop downs for mootools etc. Do I need to upgrade or install something else?
Thanks again,
CB🙂
Hi CB, yes, unfortunately this feature is available at V3.0 only, you need to upgrade, be careful that upgrading from V2 to V3 means redoing your forms, you will need to copy old code to new forms.
regards
MAx
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Hi Max,
No probs, thanks I'll upgrade. I'm just using the test form at the moment so won't matter if I lose anything.
Thanks again,
CB🙂
Hi,
I've just uninstalled the previous version and installed V3.0 and got the following error when restoring the test form:
Restoring the whole form failed Failed, error : Unknown column 'extraemail' in 'field list' SQL=INSERT INTO jos_chrono_contact (id,name,html,scriptcode,redirecturl,emailresults,extraemail,emailsubject,onsubmitcode,onsubmitcodeb4,attformtag,submiturl,emailtemplate,paramsall,titlesall,autogenerated,published) VALUES ('','test_form','Name:
E-mail:
','','','2','admin@example.com','ChronoForms test','','','','','','ccemail= bccemail= formmethod=post omittedfields= recip=Yes from_email=admin@example.com from_name=Admin replyto_email=admin@example.com replyto_name=Admin email_type=1 debug=1 mysql_type=1 enmambots=No emailfield= subjectfield= ccfield= bccfield= fromemailfield= fromnamefield= uploads=No uploadfields= uploadmax= uploadmin= dvfields= imagever=No validate=No val_required= val_validate_number= val_validate_digits= val_validate_alpha= val_validate_alphanum= val_validate_date= val_validate_email= val_validate_url= val_validate_date_au= val_validate_currency_dollar= val_validate_selection= val_validate_one_required=','','','0')
The form I used was just the test form with the security image on it. Can I just alter the table and add that column or is there another way?
Cheers again,
CB
Hi CB,
unfortunately the test form is for V2 and not V3, you will need to create another form! this is so easy though, use the form wizard first then add an email and server side validation, or go ahead and use your own HTML from the old form instead of the wizard step.
regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.