Looking for a way to detect whether a document has been changed

We have a document with a "validate" button.
Pressing this button performs several validations and the result will be : "validated" or "not validated"
The result is being displayed to the end user as a document status (with it's own color).
Once the new "status" = "validated", the status should be automatically reset to "not validated" when the user makes 1 of more change to the document.
Is there an easy way to do this?
Is there a sort of document status you can fetch?

Niall's way wil lwork but this one might be easier.
Acrobat has a "dirty" flag that gets set each time a change is made to the doc. This is what tells Acrobat that you need to do a save when you quit. You can test this flag yourself. To access it use:
event.target.dirty
This will return true if a change has been made and false if no changes have been made. Note that if someone enters data into a field and then deletes that data the flag will still be true as a change was deemed to have been made.
Paul

Similar Messages

  • Is there a simple way to detect a textfield value has been changed on exit?

    The filler may enter the textfield then type something and revert it back,
    any command that can simply detect a field's value has been changed on it's exit event?

    Niall,
    I was thinking if there is any simple command like xfa.event.prevText in dropdown box that I can use,
    anyway, thanks for your help.
    Rgds.

  • Here's a fix for "This item cannot be updated because it has been changed by another user or process"

    https://gallery.technet.microsoft.com/System-Center-Service-fca7af29
    A few months ago on the Technet Gallery, I submitted this custom control to be used on SCSM console forms. The purpose of the control is to eliminate the "This item cannot be updated because it has been changed by another user or process" error
    message that we all have seen at least once (a day :) ).
    The details are in the gallery description (along with installation instructions for existing forms and your own custom forms).
    Here's a "short" description (nothing I ever post here is short :) ): This is a custom control that can be applied to an SCSM form like the Service Request form or Windows Computer form or your own custom form built with the authoring tool or Visual
    Studio. When you click "OK" or "Apply" on the form, this control scans the form and Service Manager's database for any changes to the object you have open. If a property that _you_ have changed on the form was _also_ changed in the CMDB
    (by a workflow or another user), this control will present a dialog box letting you know what happened. It will also let you choose which value to keep (yours, theirs, or the original value).
    Just as importantly (and important in a greater percentage of cases), if a workflow changes a "background" property (like FirstAssignedDate) while you have the form open and you click OK, the control will detect the change and allow the form submission
    to go through while keeping your changes and the FirstAssignedDate change that the workflow made. You won't get an error message or even a warning. And most importantly, you won't lose your changes.
    That's where the "optimistic" part of the control's name comes from. It applies optimistic concurrency control to SCSM forms, while also providing an anti-collision interface for you to use so you no longer lose any of your changes.
    Furthermore, this control will work on related items that are opened in memory; for example, the activities on a Service Request. So if you change an activity's title while the workflow engine sets it in progress, you won't get an error. The activity will
    be in progress and will get your new title when you click OK or Apply.
    Lastly, (and I admit this part is getting into the deep inner workings of console forms) if your form loads a sub projection at run time (to the root object) this control will detect the load and treat that sub projection as if it were apart of the original
    form all along.
    I've gotten a little feedback about this control, but I'd like to get more since it's a work in progress. So, I'm announcing it here on the forums. Please give it a try and let me know if you have any questions. I'll be happy to answer them here. Thanks,
    folks!
    Oh, and to answer the most common question right away: It's free. There is no paid version or anything like that. This is something I built for the SCSM community.

    Great job! 
    Will definitely try it out. 
    Best regards,
    Marcus

  • How to keep track whether PO header has been changed

    Hi,
    I need to Display all the lines items of a Purchase Order whenever its header changes. If PO header has been changed, in which table this details are stored.
    With Best Regards
    Mamatha.B

    I have gone through those tables. Whenever a change has been done to PO there is an entry in the CDHDR . When there is a change to both Header and Item. Is there any field which particularly specifies whether the change is in the Header or Item.
    Thank you
    With Best Regards
    Mamatha.B

  • Looking for a way to broadcast a line in to the Airpot Express?

    Looking for a way to run line input into my macbook and broadcast it to the Airport Express to Play on my Stereo..

    It is discussed on the xfce forums but unfortunately that solution requires editing by hand. However it does seem relatively easy to automate. Writing a graphical program for those tasks is something you'd only have to do once.

  • Looking for a way to get built in audio to be heard out of AirTunes

    Looking for a way to get built in audio to be heard out of AirTunes, not just iTunes.

    thanks for the post, i downloaded that app but like i read, its really a worthless piece of junk, the 2 second delay yet alone i did not succeed to send my iChat audio to my airTunes speakers.

  • Looking for a way to Export Still Image to iPhoto

    Hi I'm looking for a way to export a still image from iMovie 08 to iPhoto 08? The simple drag, help, web search etc doesn't seem to come up with an answer but it's been a long day.
    Thanks

    Find the still within an event clip, right mouse, select add still frame to project. Repeat for all the stills you want.
    In Finder under pictures, you should find files for all the stills you created. Import them into Iphoto and there you have it.
    There is probably an easier way but this is not too bad.

  • Hola a todos , busco una manera de crear un pdf desde la impresora de ios, como lo puedo resolver, gracias. Hi all, I look for a way to create a PDF from the printer ios, as I can solve, thanks

    Hi all, I look for a way to create a PDF from the printer ios, as I can solve, thanks

    Try this process on your Mac. These files will be regenerated by Mac OS X with default settings.
    1. Quit the Mac App Store
    2. Trash the following folders and files; (~ is your Home folder)
    ~/Library/Caches/com.apple.appstore
    ~/Library/Caches/com.apple.storeagent
    ~/Library/Cookies/com.apple.appstore.plist
    ~/Library/Preferences/com.apple.appstore.plist
    ~/Library/Preferences/com.apple.storeagent.plist
    ~/Library/Preferences/com.apple.streagent.plist.lockfile
    Mac HD/Library/Preferences/SystemConfiguration/networkinterfaces.plist
    3. Restart your Mac
    4. Open the Mac App Store
    5. Log into your MAS account

  • We are currently looking for a way to link images to a design file within programs like InDesign and Illustrator using an HTML link instead of a local file.  We are hosting our images in SharePoint and need the design file to retain it's links, no matter

    We are currently looking for a way to link images to a design file within programs like InDesign and Illustrator using an HTML link instead of a local file.  We are hosting our images in SharePoint and need the design file to retain it's links, no matter who on our network opens the design file.

    The Cloud forum is not about using individual programs
    The Cloud forum is about the Cloud as a delivery & install process
    If you will start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll

  • Looking for a way to switch views using Javascript

    Hi ! I'm currently studying Acrobat 3D. <br /><br />I've got a PDF document with a 3D Annotation, which was imported from a U3D file. I defined 3 views : "initial", "front" and "top".<br /><br />My problem is that I'm looking for a way to switch views using Javascript. <br /><br />In fact, when I list cameras using the following code, I only get one camera called "DefaultView". So my question is : where has my "initial", "front" and "top" views been ? Is there a way I can switch between them using Javascript ?<br /><br />for(i=1;i<scene.cameras.count;++i)<br />     {<br />          Cam = scene.cameras.getByIndex(i);<br />          <br />          console.println("camera " + i + " : " + Cam.name);<br />     }<br /><br />Thank you very much in advance.<br /><br />françois

    Are the dates on these entries correct??!! Doesn't seem like it. Anyway, just in case, here's some code to help:
    //=========================================================
    backgrounder = new RenderEventHandler();
    backgrounder.onEvent = function(event)
    runtime.removeEventHandler(this);
    canvas = event.canvas;
    background = canvas.background;
    keyer = new KeyEventHandler();
    keyer.onEvent = function(event)
    switch (event.characterCode)
    case 49:
    cam = scene.cameras.getByIndex( 0 );
    canvas.setCamera( cam );
    break;
    case 50:
    cam = scene.cameras.getByIndex( 2 );
    canvas.setCamera( cam );
    break;
    case 51:
    cam = scene.cameras.getByIndex( 3 );
    canvas.setCamera( cam );
    break;
    runtime.addEventHandler( keyer );
    runtime.addEventHandler(backgrounder);
    //inform user
    console.println("Use the 1,2,3 Keys to toggle between cameras");
    //===============================================

  • I am looking for a way or a PDF annotator app to use in a tablet that don't allow deletion as I edit.

    Hi All, I am looking for a way or a PDF annotator app to use in a tablet that don't allow deletion as I edit. I need to use in a controlled process that don't allow user to delete or erase edits once a mistake is made or a rewrite is needed. Thank you

    See How to call Adobe Acrobat 9 APIs to OCR the PDFs through .NET reply 4.

  • I am looking for a way to convert Microsoft Office files to my apple and back again

    I am looking for a way to convert Microsoft Office files to my apple and vise vera.
    <Re-Titled By Host>

    you are asking about Microsoft products and using a laptop, not a workstation Mac Pro.
    The Numbers and Pages Apple Communities. or MS Community if you want those.
    Importing and Exporting, but Numbers and Pages will not do a SAVE into other formats by default, and therefore have to keep using Export which is messy.
    Changing your own thread midstream may not be ['thread hijack'] but it is like having the rug pulled out by changing the subject on us.

  • Looking for a way to export full Popularity Trends data

    Greetings!
    I'm looking for a way to access all "popularity trends" data for a SharePoint 2013 publishing site in one place. I'm probably missing something pretty basic here, (I hope), but it seems if I pull up popularity trends for the site, all I get is
    the hits & unique users for the site as a whole. If I go into my pages library and choose "Most Popular Items," I'm given a search results page that I can't run reports from. And if I select the "popularity trends" link under one of
    those search results, I get a usage report for a single, specific page.
    I've thought about doing a multi-select of pages from my site's Pages library, but I have more than 100 pages in the site, so I still can't get at everything all at once. Plus, the resulting usage.xlsx file just includes a lot of  reports on individual
    pages.
    There's got to be something more all-encompassing than this...right?
    Help!

    Hi,
    According to your post, my understanding is that you wanted to see the all popularity trends data for a site.
    Where did you export the usage report?
    Did you export the report from  Popularity and Search Reports?
    To view the Popularity Trends report for a site collection
    Verify that the user account that is performing this procedure is a member of the Owners group.
    In the site collection, on the Settings menu, click Site ettings.
    On the Site Settings page, in the Site Collection Administration section, click Popularity and Search      Reports.
    On the View Usage Reports page, in the Usage Reports section,  click Usage.
    In the message box, click Open to open the report in Excel, or  click Save or Save as to save the  report.
    Click the tabs to view the usage report for the different usage event types.
    http://technet.microsoft.com/en-us/library/jj715890(v=office.15).aspx
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Looking for a way to create/edit a newsletter online, then be able to generate a customized PDF file

    I am looking for a way to be able to customize a newsletter online, then be able to export/generate a PDF file from that newsletter.
    Basically this is for a friend that is a real estate agent, and currently she is creating the newsletters in MS Publisher. I'm hoping to find a way to be able to allow her to login to a secure area of her webpage(that part isn't a problem) but then be able to create/customize a monthly newsletter that needs to be customizable.
    For example, the August Newsletter will be 2-sided, and most of the newsletter will be the same, but she needs to be able to have a newsletter for different apartment buildings so the customers can just go to their building link/area on the webpage and be able to download that month's custom PDF file that has a portion of the main newsletter that is a table/list of properties for that specific location.  The data will be stored in a database.
    After writing the above, I can probably create a front-end to the database so she can enter everything that way, but I still need a way for her to generate the customized PDFs after she is done with that month's data.
    I was hoping Adobe had something that could be used, or am I stuck using php or Javascript and just doing this with custom scripting?
    Anyone have any ideas?
    Thanks!
    John

    I was hoping Adobe had something that could be used, or am I stuck using php or Javascript and just doing this with custom scripting?
    I think you will have to do the latter.  While you are thinking about writing the PDF file, don't overlook fpdf (google it)....

  • Looking for a way to find out the x,y coordinates of a string inside a PDF

    Hi!
    I'm looking for a way to find out the x,y coordinates of a string inside a PDF (with free java api's only)
    I got a pdf, and a string to find inside it, what i need to do is to get this string x,y position inside that pdf....
    If any one knows of such, plz let me know...
    Thanx ahead
    Daniel.

    vedmack wrote:
    Hi!
    I'm looking for a way to find out the x,y coordinates of a string inside a PDF (with free java api's only)
    I got a pdf, and a string to find inside it, what i need to do is to get this string x,y position inside that pdf....
    If any one knows of such, plz let me know...
    Thanx ahead
    Daniel.AFAIK, a string of text does not have an (x,y) location inside a PDF file. The location is exists on your screen, and will differ whenever you adjust the resolution of it. Text can have a location when it's stored as an image though, but than it's really the location of a certain number of pixels (not necessarily a string!).

Maybe you are looking for