How can i change the success_list_url after adding something ? What i want to try to make is this : add a record to the table then when you click save to send you to a specific url ...
i have so far :
⚠ 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 is an archived forum. ⚠
Posted 26 September 2013 - 09:09 AM
How can i change the success_list_url after adding something ? What i want to try to make is this : add a record to the table then when you click save to send you to a specific url ...
i have so far :
Posted 27 September 2013 - 09:51 AM
Why don't you try the 15th state?
15 => 'success'
http://www.grocerycrud.com/documentation/options_functions/getState
You might need to keep the previous state and check if $previous == 'add' && $current == 'success'