Automatically calculate input box value is not saved in database

Right. Thanks, Suman