Jump to content
Server Maintenance This Week. ×

"Are you sure" prompt appears when you edit a field


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

Recommended Posts

Another quickie

Lets say I have a field, and when you tab out of a field, a prompt (window, dialog thingy) asking are you sure you want to edit that field? Yes keeps changes, No puts field back to what it was before user started typing.

Any ideas? Any ways? Is this a scriptable thingy on exittField using the plugin?

Thanxs

Steve

Link to comment
Share on other sites

Just tried a very preliminary test with this, but it's worth looking into:

I created a simple database with two fields:

Field_1 (text, validation= Field_1=Temp_Field_1 (only if modified), custom message="Are you sure...?")

Temp_Field_1 (global text)

Use a script to set Temp_Field_1=Field_1 whenever the user wants to edit a record. If the user changes the value in Field_1, the validation will kick in.

Again, just a preliminary test. Others may have a more robust/tried-and-true solution.

Link to comment
Share on other sites

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