⚠ 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. ⚠

  •     

profile picture

Update not working but Update and go back works fine



Jareer

Jareer
  • profile picture
  • Member

Posted 19 March 2015 - 17:45 PM

Hi,

 

I have been working on this project for over a few months now. Both update/save and update/save and go back were working fine. But ever since I changed the upload module of the grocery crud with a custom one, the save/update button is not working anymore, where as Update and Go Back works as it should. Anyone has any idea?


Jareer

Jareer
  • profile picture
  • Member

Posted 19 March 2015 - 18:10 PM

My bad. The custom upload code had a superfluous form. The Save/Update button being type submit had a problem with this extra form. The 'save and go back to list' was working because it wasn't a submit type.