Welcome Guest, Not a member yet? Register   Sign In
Search Results
    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...
256 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('...
256 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,...
256 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...
256 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 ...
256 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...
175 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.
301 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...
301 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...
327 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...
327 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
493 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...
493 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...
493 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
493 Views
11 Replies
07-12-2022, 02:12 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"  also used current version using official guide Composer Installation but failed to get it. will check "spark serve", not yet tested because the controller Home.php is showing the page as ...
493 Views
11 Replies
07-12-2022, 12:48 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...

Its a very basic (starting point) static pages question, hope soon will get the answer. both files are Almost same in App\Controllers\Home.php and Tasks.php both files are Almost same : a) App\Views...
493 Views
11 Replies
07-11-2022, 11:23 PM
Ahmed Haroon
  Question Thread: Controller or its method is not found: \App\Controllers\Tasks::index
Post: Controller or its method is not found: \App\Contro...

simply unzipped CodeIgniter ver 4.1.9 in d:\xampp\htdocs folder and rename it to taskapp. in .env file : CI_ENVIRONMENT = development app.baseURL = 'http://localhost:8088/taskapp/public' in Ro...
493 Views
11 Replies
07-11-2022, 07:05 AM
Ahmed Haroon
    Thread: need help to PostgreSQL database connectivity
Post: RE: need help to PostgreSQL database connectivity

no chance?
268 Views
2 Replies
07-07-2022, 01:57 AM
Ahmed Haroon
    Thread: xampp: after virtual host configuration, why redirecting to IIS home
Post: RE: xampp: after virtual host configuration, why r...

thank you @"InsiteFX"  also i was searching on net for this problem, somebody informed that use Laragon to have virtual hosts automatically created for you. i will give it a try. please advice for i...
281 Views
3 Replies
07-05-2022, 09:11 PM
Ahmed Haroon
    Thread: xampp: after virtual host configuration, why redirecting to IIS home
Post: RE: xampp: after virtual host configuration, why r...

ok, its gone now when execute below on PowerShell run as Administrator:  Get-WindowsOptionalFeature -online | ? featurename -like "IIS" | Disable-WindowsOptionalFeature -Online -Remove  but still ca...
281 Views
3 Replies
07-05-2022, 06:57 AM
Ahmed Haroon

Theme © iAndrew 2016 - Forum software by © MyBB