add coordinate when submit form