Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

Hello:

I need to validate a field that will not allow the user to enter one or more spaces trailing the entry or one that will trim the spaces on entry.

Don't know exactly how to accomplish this.

Thanks

JW

Posted

Instead of using validation, which will disrupt data entry, you might just include an auto-enter (*replace) calculation on the field with:

Trim ( Self )

* uncheck 'do not replace existing value if any' so it fires after any modification. This will also remove beginning spaces.

Posted

Thanks a million LaRetta this works much better than what i came up with.

only problem I dont know scripting syntax to combine two functions in same calculation. Just stacking up

Trim(Self)

Substitute (Self; "¶"; "")

FMP wants an operator.

How do i combine both of these functions in a calculation

thanks so much

JW

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