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 4427 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

:idot: I have an unusual request - to stop people from entering the 3rd line into the address text field (they should be able to enter one line or two lines but not the 3rd line and not the gap). However hard i try, i could not figure out how to do this.

This is an address field without town, county and postcode, which are in the separate fields. Users should be able to put unlimited number of characters in the first line, press enter/return, than put what ever number of characters in the second line and THAT SHOULD BE IT. They should be restricted from putting anything in the 3rd line of that particular text field.

Thanks

 

Posted

It sounds like a structure problem. One field for each piece of information. i.e. Street Address, PO Box, City, State, Zip.

Posted

I agree completely with Lee; your structure needs to change.

 

However, you could use an auto-enter calc like this to prevent entry of more than two lines.

A user might enter a third line; but it won't be accepted.

 

LeftValues( Self; 2)

Posted

IMHO, you should use a script triggered by the Return keystroke. That way, users can be prevented from entering the third line, instead of being surprised (and annoyed) by seeing their entry disappear.

  • Like 1
Posted

Yep, it works just fine,

thank you so much for your help guys

This topic is 4427 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.