I have a submit button in a form and when the user clicks it, I want to check to see if they changed anything on the form. If they did, I will advise them to save the form before submitting.
How would I determine if anything changed?
Thanks for the suggestions....
Solved! Go to Solution.
Views
Replies
Total Likes
Topics help categorize Community content and increase your ability to discover relevant content.
There is a flag set by Acrobat that tells it when something has changed (so it knows to bring up the SaveAs dialog when you close the doc). You can check the status of this flag yourself.
event.target.dirty
It will return a true value if soemthing has changed and a false value if nothing has changed.
Paul
Views
Replies
Total Likes
There is a flag set by Acrobat that tells it when something has changed (so it knows to bring up the SaveAs dialog when you close the doc). You can check the status of this flag yourself.
event.target.dirty
It will return a true value if soemthing has changed and a false value if nothing has changed.
Paul
Views
Replies
Total Likes
Just learning.....
What does the syntax look like for this?
if event.target.dirty = .t.
{
do something
{
Views
Replies
Total Likes
If (event.target.dirty == true){
app.alert("You have made changes to your doc .....make sure you save");
}
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies