roxen.lists.roxen.general

Subject Author Date
Re: If then problem... David Hunter <dhunter[at]pauanui[dot]net[dot]nz> 14-03-2006
Try 

<if not match='&form.email; = *@*.*'>
        Please enter a properly formed email address.
</if>

On Mon, 2006-03-13 at 22:39 -0600, Jeff Justice wrote:

> I am having problems with one of my if/then lines:
> 
> <if match='&form.email; = *@*.*'>
> 	<mail-form mess='Please enter a properly formed email address.' />
> </if>
> 
> This line does work if the email address equals the format.  I really  
> want the opposite.  If the form.email does NOT equal the format I  
> want the message to reflect that.
> 
> I have tried the <>, I have tried "is not".  Neither works.  What  
> would be the correct expression for "not equal to"?
> 
> Jeff J.
>