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

Recommended Posts

Posted

Hi,

I have a question in regards to field validation. I need to be able to validate whether a field has been changed. eg.

user_name field should only be modifiable upon data entry. After the field has been set with data for the first time, it should no longer be modifiable. How could I do that in a validation of the field?

Thanks in advance

Posted

Does the field validation have to be immediate? Because if not, you could always allow for data entry, then have a button for confirmation that brings the user to another table to display the information, while not being modifiable. Immediate validation can be dangerous, since it requires the user input correct data the first time, every time.

  • 3 weeks later...
Posted

I have done this by checking the date the record was created against the current date. I have a timestamp field (Creation Date) which holds an auto-entered date and time the record was created. Then in the validation of my secondary field, I use:

If ((Get ( CurrentDate ) = GetAsDate ( Creation Date )) ; 1 ; 0 )

This way they can edit the information during record setup if they catch a typo or mistake, but after the initial date, they can't change without an administrator.

~C

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