Submit button and calculations are not working on embedded form