Page 1 of 1

Flag a change

Posted: Sat Feb 27, 2010 5:05 pm
by a-revuser
I wonder if there is a simple way to flag a change in input etc. other than setting a flag at every script.

Typically this would be where a value is changed by the user, a "recalculate" or "save" or some other process must follow so the user does not overlook the requirement.

I suspect the change in the field triggers a message in REV, if so, how can this be utilised (a code snippet would be great)
I am sure most developers have solved this and newbies would benefit from the tip.

I would!

Re: Flag a change

Posted: Sun Feb 28, 2010 9:26 am
by Janschenkel
For fields, you can always handle the closeField message, which is sent when the user has changed the content of a field and leaves it (by tabbing out of it or clicking on another field) - but this doesn't help when the text is changed by a script, so you'll still have to set the flag yourself from there.

Jan Schenkel.

Re: Flag a change

Posted: Tue Mar 02, 2010 8:45 pm
by dunbarx
Also check out the "exitField" message, sent when the user leaves the field, but when nothing has changed.

Craig Newman