Location query from DB instead of hardcoded in HTML in applyform. Submit logic handled in applyformstatus.php