Automatically calculate input box value is not saved in database

@sumankht you’re welcome :wink: