⚠ In case you've missed it we have migrated 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. ⚠

Data insert

table insert data help needed

  • Please log in to reply
1 reply to this topic

#1 Abdul Wahid

Abdul Wahid


  • Members
  • Pip
  • 2 posts

Posted 26 March 2014 - 11:56 AM



I want to you us grocery crud, to only insert data, I don't want to show all complete table I just want to show the fields() when the I get to that page.


If you want more information let me know.


Thanks in advance.



#2 Amit Shah

Amit Shah

    grocery CRUD Master

  • Advanced Member
  • PipPipPip
  • 1,192 posts

Posted 26 March 2014 - 01:32 PM

Hi there,


the same can be done with u directly passing the /add to the url...

that should take you to the add form / page...

For you not to view the list page - you can use the $crud->getState() method to identify what state it is..

if the state identified is list - then just use redirect method and redirect it to whatever page / url u want to shift too

Happy GCing :)

Also tagged with one or more of these keywords: table, insert data, help needed

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users