I have a text box that has been assigned to the user to write the coordinates of points in csv format before click submit (ok ) button
anypointname,Latitude,longitude
and I want to force the users to write inside the text box in this format.
Before submit
I want to fulfill these conditions. First, the data for each point should be on a separate line. The latitude and longitude are decimal numbers, and a comma must be placed between them. The names of the points should not be repeated.
If these conditions are not met, a message appears explaining the error in the writing format