The Joomla! Forum ™



Forum rules


Please use the mailing list here: http://groups.google.com/group/joomla-dev-general rather than this forum.



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Custom Validation
PostPosted: Tue May 01, 2012 6:39 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Sep 09, 2011 5:18 pm
Posts: 13
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


Top
 Profile  
 
 Post subject: Re: Custom Validation
PostPosted: Tue May 01, 2012 7:11 am 
User avatar
Joomla! Master
Joomla! Master

Joined: Wed Aug 17, 2005 10:27 pm
Posts: 14715
Location: Kent, England
[Mod note: Moved from General Forum to 2.5 Code Forum.]


Top
 Profile  
 
 Post subject: Re: Custom Validation
PostPosted: Thu May 03, 2012 10:05 am 
User avatar
Joomla! Exemplar
Joomla! Exemplar

Joined: Fri Sep 09, 2005 2:13 pm
Posts: 7962
Location: The Netherlands
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 



Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group