Data validation opposite of STARTSWITH

Hi,

I have two fields in a form, one of then always starts with โ€œOPโ€ and the other one can be whatever. The data is filled by reading a QR code and sometimes they put the data in the wrong field. I have been able to validate one of then with the expression STARTSWITH([Operario], โ€œOPโ€) and i would like to do the opposite in the other field, that is, whatever they punt in canยดt starts with โ€œOPโ€. Is this possible?.

If it isnยดt possible, how could i validate only the data with more than five characters?

Thanks.

Solved Solved
0 3 214
1 ACCEPTED SOLUTION

Just a quick thought on this without trying myself, but could you try NOT(STARTSWITH([Operario], "OP"))

View solution in original post

3 REPLIES 3

Just a quick thought on this without trying myself, but could you try NOT(STARTSWITH([Operario], "OP"))

I tried NOTSTARTSWITH but the expressiรณn was incorrect.

Your expression seems to be right, but it doesnยดt behave as expected.

My mistake. Your expressiรณn works perfectly. Thank you!

Top Labels in this Space