Embedded form not working properly using iPhone