Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 6293 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hello everyone, :(

I have a field for zip codes. This is what I have in the calculated value:

Left ( zipcode; 5) & "-" & Right ( zipcode; 4)

It works fine, except for one problem. The user can add letters which I don't want.

So I change the validation to strict data type: Numeric Only.

The Auto-Enter Calculated Value stops working.

I know calculated result must be text, but some of our users are all thumbs and WILL make mistakes. :Whistle:

Anyone know of a work-around?

Thanks.

Posted

I suspect your autoenter to be the updating kind which allows you to do like this:

filter(theField;"0123456789")

...in the calc' behind the autoenter!

--sd

Posted

Hello Søren,

I setup the filter in the validation by calculation, but it's not allowing me to leave the field empty.

I don't have Not Empty checked. Any idea why this is occuring?

Posted

My idea was not to use the validation at all, just massage the data into something usefull!

http://www.databasepros.com/FMPro?-DB=resources.fp5&-lay=cgi&-format=list.html&-FIND=+&resource_id=DBPros000592

--sd

This topic is 6293 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.