# Movie Forms- couldn't save or update Movies

**URL:** <https://forum.codewithmosh.com/t/movie-forms-couldnt-save-or-update-movies/10775>\
**Category:** React\
**Created:** [February 18, 2022, 8:58pm UTC](https://forum.codewithmosh.com/t/movie-forms-couldnt-save-or-update-movies/10775 "2022-02-18T20:58:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hema](https://avatars.discourse-cdn.com/v4/letter/h/258eb7/32.png) [@Hema](https://forum.codewithmosh.com/u/Hema)\
**Post date:** [February 18, 2022, 8:58pm UTC](https://forum.codewithmosh.com/t/movie-forms-couldnt-save-or-update-movies/10775/1 "2022-02-18T20:58:37Z")

</div>

Hey people,

i am stuck in Forms for a long time now. IN Forms chapter, i have done the excersie to create Form and Save functions.

I have checked with his code and updated word to word changes. but still i couldn’t save or update my Movies.

issues:

1. When i update a movie, the form just refreshes to orginal values and nothing saved.  
I checked the log in Save event. it shows the updated values. but still not saved.

2. when i create a new movie, it has the same problem it isn’t showing the new movie. The submit action results in an error.

Uncaught TypeError: Cannot read properties of undefined (reading ‘push’)

However there are various other problems with versions i believe. I had difficulty in reading data from params. i had to use Hooks to get MovieID from movies page.

Please let me know if i need to share anything more. I have been stuck in this for ages.

Thanks in advance and Wishing you happy learning

---

<div class="post-metadata">

**Author:** ![ThangTruong](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/thangtruong/32/3223_2.png) [@ThangTruong](https://forum.codewithmosh.com/u/ThangTruong)\
**Post date:** [February 19, 2022, 6:30am UTC](https://forum.codewithmosh.com/t/movie-forms-couldnt-save-or-update-movies/10775/2 "2022-02-19T06:30:53Z")

</div>

Hi Hema,

You can have look at previous topics and see how others solve the problems.

Regards,  
Thang
