Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Best way to prevent repopulation form after success submit?
Post: RE: Best way to prevent repopulation form after su...

Wouter60 Wrote: (03-08-2018, 11:48 PM) -- I prefer redirect. If the user is returned back to the form which he just filled in, he might be confused, I think. Another reason for redirecting to another...
10,801 Views
7 Replies
03-10-2018, 03:32 PM
minsk832
    Thread: Best way to prevent repopulation form after success submit?
Post: RE: Best way to prevent repopulation form after su...

If someone interested, I have modified the previous function, so I can decide witch fields I want to repopulate: PHP Code: -- public function clear_field_data($exclude = array()) {     if(count(...
10,801 Views
7 Replies
03-08-2018, 12:41 PM
minsk832
    Thread: Best way to prevent repopulation form after success submit?
Post: Best way to prevent repopulation form after succes...

Hello, I use set_value etc in my forms. After I submit a form and data saved to database I wan't to prevent repopulation the form. Is there a better way then always create 2 forms in html view with...
10,801 Views
7 Replies
03-08-2018, 08:27 AM
minsk832
    Thread: CodeIgniter extended rules: file_size_max[size] / file_required
Post: CodeIgniter extended rules: file_size_max[size] / ...

Hello, I was wondering that CodeIgniter actually doesn't have validation rules for file upload handling. So there might be no clean way to always use the form_error() (https://codeigniter.com/user_...
1,603 Views
0 Replies
02-01-2018, 09:22 PM
minsk832
    Thread: Form Validation - Callback to a Model?
Post: RE: Form Validation - Callback to a Model?

Hello Zeff, at the moment I extend the CI_Form_validation which make it possible to access the is_unique_email method: PHP Code: --
5,805 Views
3 Replies
02-01-2018, 06:58 PM
minsk832
    Thread: Form Validation - Callback to a Model?
Post: Form Validation - Callback to a Model?

Hello, my User_model have a public method called is_unique_email($email). This method checks if a user has a uniqe mail adress with some status flag checks. This is also the reason why I can't use th...
5,805 Views
3 Replies
02-01-2018, 12:56 AM
minsk832

Theme © iAndrew 2016 - Forum software by © MyBB