Form validation

I think this checks if the inputs for latitude and longitude are
valid...