179 Posts
carin
7 years ago
3
Topic

How do I client- and serverside validate a field against latitude like "-3.4356756"? Or against common text including ?!.,- but without harmful characters?

Get a VIP membership
4229 Posts
Kadministrator
7 years ago
2
Level 1

There is no server side validation for latitude, but all inputs are filtered for harmful characters.

179 Posts
carin
7 years ago
1
Level 2

I think there is a need for a custom option with a regexp so the admin can validate against whatever imput is expected on the field. How else can the user know that e.g. the latitude field should not have commas?

4229 Posts
Kadministrator
7 years ago
0
Level 3

There is such plugin, but this is client side

https://www.seblod.com/store/extensions/597

Get a VIP membership