Jump to content

Check for certain field then do something


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

Recommended Posts

Hi there, now i want to do come script that will depend the position of the curson, just like i have 3 field a, b, c. Now i add in another cal field that chaecking the position of the cursor, if the cursor in field a, then return 1, if b then return 2 and c return 3. I use the status(currentfieldname) with case script. But it can't work automatically even i already set the cal field as unstored. It will work only i click the cal field then click another field. If i just using tab kay to go to next field, it will not calculate the result.

The other question is if i using tab key to go to next field, how to i made the field turn reverse color(highlight)the words if the field is not empty. Normal the we use tab then the cursor will go to the end of the words, now just want to change it as highlight.

Regards,

Henry

Link to comment
Share on other sites

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