Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Conditional validation?
Post: Conditional validation?

I am working on a form that has a set of checkboxes. Ones one checkbox is check with value "phone" I would like to then require a set of radio buttons.  Right now I have this:  PHP Code: -- $vali...
274 Views
0 Replies
02-22-2023, 10:12 AM
vinyl
    Thread: Form validation - Always false?
Post: RE: Form validation - Always false?

Thanks, wil give that a try today! [edit] Codeigniter 4 is giving me a whole lot of headaches so I am seriously considering going back to version 3.... [/edit]
2,506 Views
8 Replies
07-25-2022, 10:05 PM
vinyl
    Thread: Form validation - Always false?
Post: Form validation - Always false?

I have a very basic form with a controller that looks like this: class Home extends BaseController PHP Code: -- {     public function index()     {         helper(['form', 'url']);         if (...
2,506 Views
8 Replies
07-25-2022, 05:21 AM
vinyl
    Thread: Form value repopulate
Post: RE: Form value repopulate

Well, I have exactly what you posted and my form is not returning values. About this: Code: -- return redirect()->back()->withInput()-> -- The documentation says: Quote: -- If you are u...
2,429 Views
7 Replies
05-30-2022, 02:26 AM
vinyl
    Thread: Form value repopulate
Post: RE: Form value repopulate

Why do the form helper documentation or those of validation not mention this? So instead of using: Code: -- echo view('form', [ 'validation' => $this->validator, ...
2,429 Views
7 Replies
05-26-2022, 09:48 AM
vinyl
    Thread: Form value repopulate
Post: Form value repopulate

For a form I am working on I am trying to repopulate the fields after a submit and validation detected issues. No matter what I try, it does not seem to work.  My controller looks like this: Cod...
2,429 Views
7 Replies
05-24-2022, 11:49 PM
vinyl
    Thread: Custom Library config file
Post: Custom Library config file

I am creating a custom library in Codeigniter 4 which is located in the Library folder.. I have a config file which is in the default config file folder. Is there a method to shorten the way the va...
727 Views
0 Replies
06-30-2020, 07:29 AM
vinyl
    Thread: Load custom config file?
Post: Load custom config file?

I made a custom config file with some general settings I want to access in my controllers. When I make a new controller and load the config file I can access the variables I set: Code: -- $cu...
5,150 Views
2 Replies
04-11-2020, 05:51 AM
vinyl
    Thread: adLDAP / Adldap2 implementation
Post: adLDAP / Adldap2 implementation

Anyone that has a working library for either adLDAP or Adldap2? I can't get the most current version to work. They now use composer for installation but I am not sure how to get it working without the...
3,085 Views
1 Replies
09-27-2016, 04:23 AM
vinyl

Theme © iAndrew 2016 - Forum software by © MyBB