Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: How to check existing data with jquery validation library with codeigniter 4 csrf?
Post: RE: How to check existing data with jquery validat...

iRedds Wrote: (01-15-2021, 08:04 PM) -- God, how did you get to this age?  :D I hope this is just a sample code. But if you are using database queries in the controller this is a bad practice and...
3,755 Views
3 Replies
01-16-2021, 12:39 AM
onebuyu
    Thread: How to check existing data with jquery validation library with codeigniter 4 csrf?
Post: How to check existing data with jquery validation ...

I have a form that I'm trying to validate with jquery validation plugin and codeigniter 4, I have enabled csrf that set to auto generate for every request. I'm able get validation status on first requ...
3,755 Views
3 Replies
01-15-2021, 03:45 PM
onebuyu
    Thread: How to fix error 403 when csrf enabled with ajax
Post: RE: How to fix error 403 when csrf enabled with aj...

I solved it by adding angle blackets "[]"to the data key like this: Code: -- data: {[csrfName]: csrfHash }, --
2,186 Views
2 Replies
01-13-2021, 02:52 PM
onebuyu
    Thread: How to fix error 403 when csrf enabled with ajax
Post: How to fix error 403 when csrf enabled with ajax

Hi everyone, I'm struggling to retrieve data with ajax, I enabled csrf. When I use method: 'get' I get the data, but when I use post method did not work. PHP Code: -- //my route $routes->post...
2,186 Views
2 Replies
01-13-2021, 09:14 AM
onebuyu

Theme © iAndrew 2016 - Forum software by © MyBB