Please help me how to sum the form field

Any one can help me how to sum the form field i want to like this input1 + input2 = input3