Harshit & Kiran | Fixed javascript errors while saving form submissions.