Hello,
I have a location field in a table with two coordinate values (decimal numbers separated by commas). The address is in a separate field. The field with the coordinates is obviously not a normal text field, but a kind of object.
I also have a button with JavaScript that calculates the coordinates of the so-called Maidenhead locator and writes them to a text field. This works as long as the location field is filled in.
Although it is unlikely that this will happen, I would like to check in the JavaScript whether the location field is empty and, if so, write an error message in the field with the Maidenhead locator.
Unfortunately, I cannot find the correct syntax to check for an empty location field. Can anyone help me?
Thanks: Michael