Welcome Guest, Not a member yet? Register   Sign In
Cleaning out validation
#1

[eluser]Tom Vogt[/eluser]
I have a slightly-but-not-totally odd use case where I need to clean out the field data from validation on success. And I can't find a way to do it.

Here's the scenario:

I have a project list and at the bottom there's an "add new project" form. On error, I obviously want the valid fields to be re-populated, everything's fine there.

But on success, I want the new project added to the project list, and the page displayed with an empty form again, ready for input of the next new item, you see?


So how do I do it?
Essentially, I'm looking for $this->validation->reset() or ->clear() or something.


Messages In This Thread
Cleaning out validation - by El Forum - 07-08-2008, 01:35 AM
Cleaning out validation - by El Forum - 07-08-2008, 01:38 AM
Cleaning out validation - by El Forum - 07-08-2008, 01:42 AM
Cleaning out validation - by El Forum - 07-08-2008, 03:50 AM
Cleaning out validation - by El Forum - 07-08-2008, 04:02 AM
Cleaning out validation - by El Forum - 08-08-2008, 09:14 AM



Theme © iAndrew 2016 - Forum software by © MyBB