---
title: "Checks (Validation rules) for coordinates"
url: "https://openforis.support/questions/842/checks-validation-rules-for-coordinates"
tags: ["collectmobile", "collect"]
status: "answered"
score: 0
answer_count: 1
asked: "2016-10-31T18:16:28"
last_activity: "2016-10-31T20:59:12"
source: "Open Foris Support - Q&A Forum"
license: "Copyright Open Foris, 2026. Some rights reserved under creative commons license."
---

# Checks (Validation rules) for coordinates

Asked by liamcostello on 2016-10-31

Hi team, 

Is there a way i can code an error if the wrong format is used in a coordinate field? 

We will use a dedicated GPS device (not the tablet) to record the coordinates and will enter them in manually - or perhaps edit the last few digits to increase accuracy. 

Is there a way to ensure there coordinates are entered in decimal degrees with 6 decimal places?


## Answer (score 0, by Stefano (OF) on 2016-10-31)

Link: https://openforis.support/questions/842/checks-validation-rules-for-coordinates/843

Hi Liam,  
Now the only way to validate a coordinate is to use a **distance** check and validate that the recorded location is not exceeding a certain distance from a specified location (e.g. a location in the sampling point data or some other attribute defined in the schema).  
Thanks,  
Open Foris Team
