[mapserver-users] Add a validation block using python mapscript

thomas bonfort thomas.bonfort at gmail.com
Thu Jan 14 01:38:38 PST 2016


if there is no mapscript interface for VALIDATION you can always use

layer->updatefromstring("VALIDATION etc END")

--
thomas

On 14 January 2016 at 10:33, Andrea Peri <aperi2007 at gmail.com> wrote:

> Hi,
>
> Is possible , using the python mapscript add a block for validation like
> this ?
>
>     VALIDATION
>       'idtpn' '^[a-zA-Z0-9\-_#]+$'
>       'default_idtpn' '%'
>     END
>
>
> --
> -----------------
> Andrea Peri
> . . . . . . . . .
> qwerty àèìòù
> -----------------
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20160114/c23f1683/attachment.html>


More information about the mapserver-users mailing list