Home
Forums
Members
Search
Help
New topics
Todays topics
Website
Welcome Guest, Not a member yet?
Register
Sign In
Login
Username:
Password:
Remember me
Lost Password?
CodeIgniter Forums
Archived Discussions
Archived Development & Programming
Validation ... callback doesn't get triggered
Share on Google
Share on Facebook
Share on Twitter
View a Printable Version
Subscribe to this thread
Add Poll to this thread
Send thread to a friend
Linear Mode
Threaded Mode
Validation ... callback doesn't get triggered
El Forum
Guest
#2
05-15-2008, 12:36 AM
[eluser]xwero[/eluser]
none of the fields are required which means the validation just skips them if they are empty. Because there is no output for the run method php will see this as true. The simplest way to fix this is to do this
Code:
if ($this->validation->run() === TRUE)
Messages In This Thread
Validation ... callback doesn't get triggered
- by El Forum - 05-14-2008, 11:22 PM
Validation ... callback doesn't get triggered
- by El Forum - 05-15-2008, 12:36 AM
Validation ... callback doesn't get triggered
- by El Forum - 05-15-2008, 01:02 AM
Validation ... callback doesn't get triggered
- by El Forum - 05-15-2008, 01:10 AM
Validation ... callback doesn't get triggered
- by El Forum - 05-15-2008, 01:33 AM
Validation ... callback doesn't get triggered
- by El Forum - 05-15-2008, 01:48 AM
Validation ... callback doesn't get triggered
- by El Forum - 05-15-2008, 01:52 AM
Validation ... callback doesn't get triggered
- by El Forum - 05-15-2008, 01:53 AM
Validation ... callback doesn't get triggered
- by El Forum - 05-15-2008, 01:58 AM
Validation ... callback doesn't get triggered
- by El Forum - 05-15-2008, 02:00 AM
Validation ... callback doesn't get triggered
- by El Forum - 05-15-2008, 02:03 AM
Validation ... callback doesn't get triggered
- by El Forum - 05-15-2008, 02:08 AM
Validation ... callback doesn't get triggered
- by El Forum - 05-15-2008, 02:53 AM
Validation ... callback doesn't get triggered
- by El Forum - 05-15-2008, 02:57 AM
Validation ... callback doesn't get triggered
- by El Forum - 05-15-2008, 03:06 AM
Validation ... callback doesn't get triggered
- by El Forum - 05-15-2008, 03:08 AM
Validation ... callback doesn't get triggered
- by El Forum - 05-15-2008, 03:10 AM
Validation ... callback doesn't get triggered
- by El Forum - 05-15-2008, 03:11 AM
Validation ... callback doesn't get triggered
- by El Forum - 05-15-2008, 03:12 AM
Validation ... callback doesn't get triggered
- by El Forum - 05-15-2008, 03:16 AM
Validation ... callback doesn't get triggered
- by El Forum - 05-15-2008, 03:20 AM
Validation ... callback doesn't get triggered
- by El Forum - 05-15-2008, 03:23 AM
Validation ... callback doesn't get triggered
- by El Forum - 05-15-2008, 03:23 AM
Validation ... callback doesn't get triggered
- by El Forum - 05-15-2008, 03:28 AM
Validation ... callback doesn't get triggered
- by El Forum - 05-15-2008, 03:29 AM
Validation ... callback doesn't get triggered
- by El Forum - 05-15-2008, 03:34 AM
Validation ... callback doesn't get triggered
- by El Forum - 05-15-2008, 03:35 AM
Validation ... callback doesn't get triggered
- by El Forum - 05-15-2008, 03:37 AM
Validation ... callback doesn't get triggered
- by El Forum - 05-15-2008, 03:40 AM
Validation ... callback doesn't get triggered
- by El Forum - 05-15-2008, 03:40 AM
Validation ... callback doesn't get triggered
- by El Forum - 05-15-2008, 03:44 AM
Validation ... callback doesn't get triggered
- by El Forum - 05-15-2008, 03:45 AM
--------------------
Private Messages
User Control Panel
Who's Online
Search
Forum Home
General
-- News & Discussion
-- Events
-- Lounge
-- Regional User Groups
Using CodeIgniter
-- Installation & Setup
-- Model-View-Controller
-- Libraries & Helpers
-- Best Practices
-- Choosing CodeIgniter
-- General Help
CodeIgniter 4
-- CodeIgniter 4 Roadmap
-- CodeIgniter 4 Development
-- CodeIgniter 4 Feature Requests
-- CodeIgniter 4 Support
-- CodeIgniter 4 Discussion
-- CodeIgniter 4 Addins
Development
-- CodeIgniter 3.x
-- CodeIgniter 2.x
-- Issues
-- NetBeans Plugin
External Resources
-- Spotlight
-- Learn More
-- Jobs
-- Addins
Archived Discussions
-- Archived Libraries & Helpers
-- Archived Development & Programming
Theme © iAndrew 2016 -
Forum software by © MyBB