field validation

I have a dropdown field in a form. A value is 0 and then there are other specific values. I want this:
after I have submitted the form, if I have selected the value 0 I have to have an error like this one for example "You committed an error" and I have to complete back, else if I have selected a different value everything is ok and I registred the value into database.
I know I can do this using the field setting validation and in particular in the section validations (php code).
I tried a lot but I didn't have good results.
Do you have the php code for my goal?
Thanks a lot.
 
Hello!

How does it works?
I try to enter 0 or "0" in Is Not field, but it doesn't works.

J! 2.5.19 / Fabrik 3.0.9

Thanks in advance.
Best regards.
 
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top