Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Aw, Snap! : Chrome showing error but FireFox showing correctly.
Post: RE: Aw, Snap! : Chrome showing error but FireFox s...

@"JustJohnQ" thanks for trying to help us. but it didn't worked. may be someone else here can help. regards
1,663 Views
3 Replies
09-28-2022, 02:19 AM
Ahmed Haroon
    Thread: Aw, Snap! : Chrome showing error but FireFox showing correctly.
Post: RE: Aw, Snap! : Chrome showing error but FireFox s...

--- CI3 --- when reducing records to 6900 then it is showing correctly in Chrome. but in FireFox we tested same page for 15000 records (more than double) then again it is showing all the records. it ...
1,663 Views
3 Replies
09-27-2022, 05:34 AM
Ahmed Haroon
    Thread: Aw, Snap! : Chrome showing error but FireFox showing correctly.
Post: Aw, Snap! : Chrome showing error but FireFox showi...

a page created in CI3 was running fine in Chrome browser, but now it is showing below error. when run in FireFox it is showing page normally.  it contains grid data which is readonly ( a report ), us...
1,663 Views
3 Replies
09-27-2022, 01:52 AM
Ahmed Haroon
    Thread: How to validate field with brackets in name
Post: RE: How to validate field with brackets in name

groovebird Wrote: (09-08-2022, 01:22 AM) -- @"Ahmed Haroon" i used the dot notation but misspelled the name of the input field in the showError() function. This was the reason why no error message wa...
3,805 Views
9 Replies
09-08-2022, 03:27 AM
Ahmed Haroon
    Thread: How to validate field with brackets in name
Post: RE: How to validate field with brackets in name

@"groovebird" will you please help us ' what was and where was ' that " typo " (the dot notation) and how you resolve this problem? so, the juniors should be aware of it. thanks in advance.
3,805 Views
9 Replies
09-07-2022, 11:06 PM
Ahmed Haroon
    Thread: how to set default value in form input -only for Add-
Post: how to set default value in form input -only for A...

how i can add a default value in input form field which user trying Add data. if field is empty this should fill with default value otherwise show the saved value. currently i need it for a dropdown l...
723 Views
2 Replies
09-06-2022, 11:19 PM
Ahmed Haroon
    Thread: checkbox value for Edit not showing as checkbox checked
Post: RE: checkbox value for Edit not showing as checkbo...

SubrataJ Wrote: (08-05-2022, 08:59 AM) -- For select or tags, you can use this lib Select 2 (https://select2.org/), it can populate data directly from the server using an ajax request.  For multiple...
8,822 Views
7 Replies
08-08-2022, 12:47 AM
Ahmed Haroon
    Thread: checkbox value for Edit not showing as checkbox checked
Post: RE: checkbox value for Edit not showing as checkbo...

@"SubrataJ"  your code below is working fine, thanks again. Code: -- // start: code added here...                 if(product_available == 'Y') {                     $('#product_available').prop('...
8,822 Views
7 Replies
08-05-2022, 03:01 AM
Ahmed Haroon
    Thread: checkbox value for Edit not showing as checkbox checked
Post: RE: checkbox value for Edit not showing as checkbo...

thanks @"SubrataJ" for helping me learning CI4. will check your solution for sure. as your mentioned below, i am in learning phase and there are various things i have to learn/explore & experience,...
8,822 Views
7 Replies
08-04-2022, 09:34 PM
Ahmed Haroon
    Thread: checkbox value for Edit not showing as checkbox checked
Post: RE: checkbox value for Edit not showing as checkbo...

added these lines in below code but it is showing "checked" first time going to Edit, then on every attempt it is showing it unchecked no matter it is "Y" please help.                 if($('#product...
8,822 Views
7 Replies
08-04-2022, 05:57 AM
Ahmed Haroon
    Thread: checkbox value for Edit not showing as checkbox checked
Post: checkbox value for Edit not showing as checkbox ch...

i am trying to add a checkbox item in my module, i am stuck to have checkbox checked for Editing a row, please help. i will further add other elements radio buttons, select2 to add dropdown list with ...
8,822 Views
7 Replies
08-04-2022, 01:03 AM
Ahmed Haroon
    Thread: Model with many allowedFields data
Post: RE: Model with many allowedFields data

you mean, instead of marking allowedFields which are various you want NOTallowedFields which are fewer?  yet i failed to find this type of thing. may be seniors will advise for proper solution, if it...
1,441 Views
3 Replies
08-02-2022, 10:46 PM
Ahmed Haroon
    Thread: multi select field ? tags - how to
Post: RE: multi select field ? tags - how to

@"SubrataJ" no, not yet. if have any example, please share a link.
1,283 Views
3 Replies
07-21-2022, 03:10 AM
Ahmed Haroon
  Question Thread: multi select field ? tags - how to
Post: multi select field ? tags - how to

please help to create a multi select field for Tags (which populate data from table to select) in view file, Save and retrieve also for Editing.  grateful to have a link to step-by-step guide. regar...
1,283 Views
3 Replies
07-20-2022, 02:16 AM
Ahmed Haroon
    Thread: how to reset/clear form fields after Modal closed
Post: RE: how to reset/clear form fields after Modal clo...

InsiteFX Wrote: (07-16-2022, 12:49 AM) -- How to clear all input fields in bootstrap modal when clicking data-dismiss button (https://stackoverflow.com/questions/21151044/how-to-clear-all-input-fie...
2,458 Views
3 Replies
07-18-2022, 01:04 AM
Ahmed Haroon
  Question Thread: how to reset/clear form fields after Modal closed
Post: how to reset/clear form fields after Modal closed

was following a tutorial (https://mfikri.com/en/blog/crud-codeigniter4-modal) it was contained 2 separate codes for Add & Edit but I want to use 1 single code for both Add & Edit. so, rename EditModal...
2,458 Views
3 Replies
07-15-2022, 05:42 AM
Ahmed Haroon
    Thread: Controller or its method is not found: \App\Controllers\Tasks::index
Post: RE: Controller or its method is not found: \App\Co...

@"kenjis" very impressive, guidance with kindness  :) thank you for struggle to help us learning CodeIgniter. regards
4,769 Views
11 Replies
07-13-2022, 12:03 AM
Ahmed Haroon
    Thread: Controller or its method is not found: \App\Controllers\Tasks::index
Post: RE: Controller or its method is not found: \App\Co...

@"kenjis"  my feedback to seniors and what i did for juniors like me to have succefully access desired page.  1) downloaded CI4 manually from official website 2) extracted in folder E:\xampp\htdocs...
4,769 Views
11 Replies
07-12-2022, 11:09 PM
Ahmed Haroon
    Thread: Controller or its method is not found: \App\Controllers\Tasks::index
Post: RE: Controller or its method is not found: \App\Co...

kenjis Wrote: (07-12-2022, 02:13 AM) -- I cannot reproduce with CI 4.2.1. I navigate http://localhost:8080/tasks and see "Welcome Tasks!" See https://github.com/kenjis/ci421-tasks-index -- than...
4,769 Views
11 Replies
07-12-2022, 04:59 AM
Ahmed Haroon
    Thread: Controller or its method is not found: \App\Controllers\Tasks::index
Post: RE: Controller or its method is not found: \App\Co...

@"chakycool" will check as advised / guide, hope that work. regards
4,769 Views
11 Replies
07-12-2022, 02:12 AM
Ahmed Haroon

Theme © iAndrew 2016 - Forum software by © MyBB