Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Access ajax data from the function and use it outside CI3
Post: RE: Access ajax data from the function and use it ...

SubrataJ Wrote: (04-23-2023, 09:07 PM) -- What do you mean by "access data from function edit_book", you want to use the response of this function outside, once the Ajax request is complete? -- Yes,...
2,581 Views
5 Replies
04-24-2023, 11:26 AM
janeiro
    Thread: Access ajax data from the function and use it outside CI3
Post: Access ajax data from the function and use it outs...

I'd like to add selected attribute to subcategory field in my form using ajax. Code below gets data about the book and the other populates subcategory field in form. How to access data from functi...
2,581 Views
5 Replies
04-23-2023, 08:34 AM
janeiro
    Thread: Problem with validation
Post: RE: Problem with validation

Just delete Code: -- valid_email| -- from validation rules or use your own callbacks: Code: -- 'email' => ['label' => 'Email Address', 'rules' => 'callback_email_check|max_length [150]'] -- Your ...
1,444 Views
3 Replies
09-23-2021, 01:28 PM
janeiro
    Thread: Two functions, one shared view and plenty of fields. Trying to DRY my code
Post: Two functions, one shared view and plenty of field...

Here's my idea: let's say my form has 20 fields. I have two methods: add, update. Defining each field inside mentioned methods will take too long time. I'm looking for the way to define my fields on...
1,792 Views
1 Replies
04-13-2019, 01:32 PM
janeiro

Theme © iAndrew 2016 - Forum software by © MyBB