woodman35 Posted August 23, 2011 Posted August 23, 2011 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
LaRetta Posted August 23, 2011 Posted August 23, 2011 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.
woodman35 Posted August 23, 2011 Author Posted August 23, 2011 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
comment Posted August 23, 2011 Posted August 23, 2011 How do i combine both of these functions in a calculation By nesting, e.g.= Substitute ( Trim ( Self ) ; ¶ ; "" )
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now