[mapserver-users] Run-time substitution

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Sat Jun 9 02:47:58 PDT 2012


Hi,

I fear that only ascii characters can be used for validation.  For us who need to use also non-ascii characters validation can be set to "." which accepts everything, so no validation at all.

-Jukka Rahkonen-


________________________________________
Lähettäjä: mapserver-users-bounces at lists.osgeo.org [mapserver-users-bounces at lists.osgeo.org] käyttäjän scott159 at free.fr [scott159 at free.fr] puolesta
Lähetetty: 9. kesäkuuta 2012 12:22
Vastaanottaja: mapserver-users at lists.osgeo.org
Aihe: [mapserver-users]  Run-time substitution

Hi,

I would like to use run-time substitution in a mapfile to insert variables like %firstname%.
Is it necessary to specify validation block in the mapfile to use it ? It doesn't work without this validation pattern.
Second problem, how to specify this validation pattern to use characters with accent like 'é, à'. I try this example but it doesn't work :

VALIDATION
  'firstname'     '^[a-zA-Zéà\-]+$'
END

Thanks a lot
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


More information about the mapserver-users mailing list