is it possible to use only the edit form without passing in the primary key in the url? ...if say, you want to hide the ID from the user
for example
http://www.grocerycrud.com/demo/offices_management/edit
instead of
http://www.grocerycrud.com/demo/offices_management/edit/2
i get this error with the first example:
An Error Was Encountered
On the state "edit" the Primary key cannot be null --- #0 /home/groceryc/public_html/application/libraries/Grocery_CRUD.php(4377): grocery_CRUD_States->getStateInfo() #1 /home/groceryc/public_html/application/controllers/demo.php(150): Grocery_CRUD->render() #2 [internal function]: Demo->offices_management('edit') #3 /home/groceryc/public_html/system/core/CodeIgniter.php(359): call_user_func_array(Array, Array) #4 /home/groceryc/public_html/index.php(202): require_once('/home/groceryc/...') #5 {main}
many thanks,
rob.