Simple client validation question please

I don’t want people to have special characters in a field. I’m using the following input validation…Is this the most efficient method?

@If(

@Contains(@ThisValue; “"”) |

@Contains(@ThisValue; “*”) |

@Contains(@ThisValue; “#”) |

@Contains(@ThisValue; “&”) |

@Contains(@ThisValue; “%”) |

@Contains(@ThisValue; “(”) |

@Contains(@ThisValue; “)”) |

@Contains(@ThisValue; “@”) ;

@Failure(“Cannot have special characters in PO field. Please correct!”); @Success)

Thanks.

Subject: @Contains is multi-value

@Contains(@ThisValue;“A”:“B”:“C”:…“X”)

Subject: Simple client validation question please…

Unfortunately it may be, since Lotus has not implemented regular expressions.

Subject: RE: Simple client validation question please…

…in Formula Language or LotusScript. You can use them in JavaScript called from the onsubmit event, though. (Not everything about JS in the Notes client is cool or even useful, but this qualifies in both categories, IMHO.)

Subject: RE: Simple client validation question please…

Correct as usual… we still have some clients on R5, so I haven’t implemented much JS in client apps.