Welcome Guest, Not a member yet? Register   Sign In
[SOLVED!!] Grey out background while processing forms? (jQuery + blockUI)
#3

[eluser]fancms[/eluser]
Smile I do understand the difference between the CI and Ajax validation objects. My question lies more with being able to "grey out" the page while the form is processing.

Most of my forms are set up like this:

Code:
function formpage()
{
  //load form helper, validation class
  //add rules and field names here
  //set fields, rules

  if($this->validation->run() == FALSE) {
    $data['errors'] = $this->validation->error_string;
    $data['form_open'] = form_open('controller/formpage');
    //other fields
    //load views
  } else {
    //Process data
  }
}
So simply entering 'controller/formpage' for the ajax url doesn't do anything.

And I actually have successfully used jQuery's and CI form validation side by side, although that isn't what I'm having issues with here.

I will check out the form plugin, though; thanks for the tip!


Messages In This Thread
[SOLVED!!] Grey out background while processing forms? (jQuery + blockUI) - by El Forum - 08-18-2008, 07:23 AM



Theme © iAndrew 2016 - Forum software by © MyBB