<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Arial"><br>
Maybe you should use runtime variable substitutions or maybe you need
to define validation patterns. Look at:<br>
<br>
<a class="moz-txt-link-freetext" href="http://mapserver.org/cgi/runsub.html">http://mapserver.org/cgi/runsub.html</a><br>
<br>
You can call mapserver cgi passing a filter parameter. Something like
&amp;myfilter=[gid]&amp;lt;100&nbsp; and at layer's EXPRESSION use %myfilter%<br>
<br>
Hope it helps.<br>
<br>
Regards<br>
<br>
Paco<br>
<br>
</font><br>
On 21/06/10 12:20, stefanoferri wrote:
<blockquote cite="mid:1277115640496-5203714.post@n2.nabble.com"
 type="cite">
  <pre wrap="">
Hello everybody,
I tryed to use "Changing map file parameters via a form or a URL" and i had
success in modify for example the color of a layer in this way:

map.layer[cities].class[0].style[0]=COLOR+0+255+0, 

but if i try to modify the EXPRESSION with this: 

map.layer[cities].class[0]=EXPRESSION+([gid]&lt;100)

i get this error:

"loadClass(): General error message. URL-based EXPRESSION configuration
failed pattern validation. msValidateParameter(): Regular expression error.
Parameter pattern validation failed. "

where do i wrong???
thanks for the help
  </pre>
</blockquote>
</body>
</html>