⚠ In case you've missed it we are migrating to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This forum is read-only and soon will be archived. ⚠

cahyonegoro's Content

There have been 2 items by cahyonegoro (Search limited from 17-May 21)

By content type

See this member's

Sort by                Order  

#149025 How can I hide/show a field during edit based on the selected value of the dr...

Posted by cahyonegoro on 27 February 2019 - 04:41 PM in Grocery CRUD Enterprise

i need this too, can somebody help us??

#149024 radio button to unhide hidden field

Posted by cahyonegoro on 27 February 2019 - 04:21 PM in I have a question

hello friends, before i ask some question i just want to appreciate this is the best CRUD generator for CI/PHP. I'm using this for all of my website.


so my question is, i have some fields in my controller :

$crud->display_as('id', 'No')
                    ->display_as('name', 'Name')
                    ->display_as('address', 'Address')
                    ->display_as('phone', 'Phone')
                    ->display_as('date', 'Date');

1. I want to hide the 'date' field

2. I want to add radio button with two choice ('show','hide')

3. If the show radio button clicked will show the 'date' field

4. if I clicked the hide button it will hide again the 'date' field


I appreciates all help that come, Thank you very much