I need to assign the value of my form according to whether I click on the create button or the update button on the table.
I have a components booklist which displays