Tyra Posted January 22, 2008 Posted January 22, 2008 Looking for the best way to make sure that the user is pasting an image as a jpg, and not some other format. Was looking at creating a validation calculation and parsing out GetAsText (YourContainerField), but was seeing if there was an easier solution.
Søren Dyhr Posted January 22, 2008 Posted January 22, 2008 I think you solution is both workable and excellent, this is how I used your idea in the container fields own valiadation: PatternCount ( GetAsText ( aContainer ) ; ".jpg" ) --sd
Tyra Posted January 22, 2008 Author Posted January 22, 2008 Sounds good. Thank you. Although I have to deal with the ugly revert record message, and unfortunately the user makes several other changes to the record before leaving so they lose all changes.
comment Posted January 22, 2008 Posted January 22, 2008 You could provide a script for pasting (or entering data in any other way), and include the validation in the script.
Tyra Posted January 23, 2008 Author Posted January 23, 2008 Yes, I think that, that will be the cleanest and most professional way of doing it. I will just create a Insert Picture Button.
Recommended Posts
This topic is 6209 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