Custom Validation

For Joomla! 2.5 Coding related discussions, please use: http://groups.google.com/group/joomla-dev-general
Note: All 1.6, 1.7 and 3.5 releases have reached end of life and should be updated to 3.x.

Moderator: ooffick

Forum rules
Please use the mailing list here: http://groups.google.com/group/joomla-dev-general rather than this forum.
Locked
zinalshah
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Fri Sep 09, 2011 5:18 pm

Custom Validation

Post by zinalshah » Tue May 01, 2012 6:39 am

Hi all,

I have created a new form using component but how can I add custom validation?
Also how can check server side validation?

If you have any idea then please suggest me.

Thank you

User avatar
humvee
Joomla! Master
Joomla! Master
Posts: 14704
Joined: Wed Aug 17, 2005 10:27 pm
Location: Kent, England

Re: Custom Validation

Post by humvee » Tue May 01, 2012 7:11 am

[Mod note: Moved from General Forum to 2.5 Code Forum.]

User avatar
dam-man
Joomla! Exemplar
Joomla! Exemplar
Posts: 7961
Joined: Fri Sep 09, 2005 2:13 pm
Location: The Netherlands
Contact:

Re: Custom Validation

Post by dam-man » Thu May 03, 2012 10:05 am

You can add custom validation by adding javascripts to the view, then you have to change the controller (or where you are redirecting the form to) and you can do some server side checks there.
Robert Dam - Joomla Forum Moderator
Dutch Boards | Joomla Coding Boards | English Support Boards


Locked

Return to “Joomla! 2.5 Coding”