Add location stuff to form.php.