How to remove the warning "do you want to save the changes to investigation.pdf before closing.

Question: To remove the warning "do you want to save the changes to investigation.pdf before closing.

I created a file of pdf XFA (using the LC Designer 8.2) to view this issue

I can't attach PDF file. Without attaching the pdf file, it would be difficult to explain.

Click event js:

function activateUser() {}
var PDFVersion = xfa.host.variation + xfa.host.version;
xfa.host.messageBox ("registered button click event");
XFA. Form.Form1.sendForm.welcomeMsg.Presence = "invisible";
XFA. Form.Form1.sendForm.successMsg.Presence = "visible";
Event.Target.Dirty = false;
};

docReady event js:

function displayInfo() {}
var res =xfa.host.variation;//Added this line to display the successMsg
xfa.host.messageBox ("docReady event recorded");
XFA. Form.Form1.sendForm.welcomeMsg.Presence = "visible";
XFA. Form.Form1.sendForm.successMsg.Presence = "invisible";
};

docClose js event:

xfa.host.messageBox ("docClose recorded event");
Event.Target.Dirty = false;

Steps to get the caveat:
(1) open the attached pdf using Acrobat Professional.
(Bouton 2) click on registration to confirm.
(3) now close the document and the Acrobat gives a warning "do you want to save the changes to investigation.pdf before closing.

The XFA pdf summary:
It has two text fields. DocReady event field has done this & field B is rendered invisible.
The button click event of the field made invisisble & field B are made visible.
Closing the pdf should not raise this warning message.

My Efforts:
(1) found a property in js adobe docs.
Event.Target.Dirty = false;
It does not solve the problem.
(2) I tried to put this logic in almost all the events listed in the designer, but I'm not able to solve the problem.

Please help me solve this problem.

Hello

Change the visual appearance is dirty the screen, before all data are actually entered in the form. I've seen this before.

I think that the docClose event is too late to have the sale/requiresFullSave script. preSave does not either, as this is triggered after the warning dialog is displayed.

For a test, I would put the sale/requiresFullSave script in the layout event: loan. Not the most efficient, but he should do after changing the visibility of the messages.

This could be interesting: http://cookbooks.adobe.com/post_How_often_events_fire_and_their_sequence-16547.html

Niall

Tags: Adobe LiveCycle

Similar Questions

  • How to remove the changes to develop

    I have developed an image in LR and made two changes that showed in the history file. I did not like the result so deleted journal entries two history - but LR has left the image displayed with two changes applied! Guess I should have checked the help text before doing this, but what I read I thought it was how you reset the image.

    So, how do my image back (lol this is sort of related to another post where I was talking with copies of the negative not the negative itself). I know that I can not re - import image because LR will tell me it is already imported and will not create a duplicate. But I don't see how to remove these two changes to develop the image.

    Hi ovonel,

    Please use the link below to cancel the changes in Lightroom

    Adobe Photoshop Lightroom 4 * cancel the setting of the image

    When to use Reset and history to undo your Lightroom develop work | Lightroom training Laura shoe, tutorials and tips

    Let us know if it helps.

    Kind regards

    ~ Mohit

  • How to remove the elements hidden in PDF format

    Hello

    We use Acrobat 11 on Win7 Pro machine. We try to remove the hidden elements of a PDF file, we created.

    Using the image/text editing control we usually change the view to page view mode 2 can then select hidden items and delete them. We do not see the items in the display of the 2 page, but clicking and dragging in the "empty space" in the document, choose which then allows us to manipulate them. These elements are not visible when you view the PDF file normally.

    This time, we have a PDF file where we cannot select an image. We know that it is there, because when you try to trim the visible content, the hidden element is shown:

    crop.jpg

    We want to remove the bars of color at the bottom of the page. Can anyone help us with this, please?

    Thank you!

    I usually use the content pane for this - arrow down through content items and delete the ones I don't want. Not sure that this is the most effective way, just something that I found that works for me. I always work with a copy of the PDF file in case something goes wrong.

    a 'C' student

  • How to remove the sound notification of opening and closing foxfire

    Whenever I open or closed foxfire 36.0.4 I hear a gong, would like to turn off.

    Thank you all, just fixed it. I have pro with sense of power system mechanic.
    It has a checkbox for the sound notification. Uncheck and bong went
    opening and closing of firefox. Still don't know why he touched just this one
    browser and not others.

  • How to remove the existing PDF file password?

    I use Acrobat 6.0 and would like to know how to remove the password for existing PDF file.

    When I try to open the PDF file and save under a different name, it wouldn't work.

    Does anyone have any suggestions?

    Thanks in advance for your suggestions

    File > properties. Then under security change security None method; Enter the password when you are prompted. Then save under.

  • "How to stop this message"do you want to install the plugin required to view media on this page.

    How to stop this message "do you want to install the plugin required to view media on this page.

    I don't need the plugin to play the video ok

    If it comes from the Flash plugin you can switch pref plugins.notifyMissingFlash false on the topic: config page.

    You can open the topic: config page via the bar of address and you can accept the warning and click "I'll be careful" to continue.

  • I want to know how to remove the back cover of my HP Pavilion Sleekbook 15 to install the new memory?

    I want to know how to remove the back cover of my HP product name: HP Pavilion Sleekbook 15 to install the new memory?  All site shows HP Web is how remove caches memory.  Unfortunately, with the newer models like mine, the whole back cover needs to be removed.  I have tried in vain to remove it, but so far all that I managed to do is scratch my cover.  If anyone can help?

    Dear David

    It's a very good idea, it would also be a good excuse to use my new phone for this.  So I'll say thanks again for the good advice.  Have a great weekend you Mr.  As I said earlier, you're a star...

    Yours Sincerely

    Alan

  • I work with microsoft Streets & Trips 2001 program and I can not know how to remove the small cities on the map. I only want to show the major townships in and around Pittsburgh

    The map shows the region I want, but I won't show as much of the smaller townships how to remove the card and display only the main townships

    Hello

    The question you have posted is related to Microsoft Streets and guts and would be best suited to:

    Highway, Streets & Trips, MapPoint

    http://social.Microsoft.com/forums/en-us/streetsandtrips/threads

    http://www.Microsoft.com/streets/en-us/community-and-news.aspx

  • How to remove the trial version of Acrobat DC 30 days that I have somehow on my MacBook Pro?  I don't want the dang thing, and it prevents me from using my Acrobat Pro 11 software.  Trying to access using the tree without end of support for Adobe is reall

    How to remove the trial version of Acrobat DC 30 days that I have somehow on my MacBook Pro?  I don't want the dang thing, and it prevents me from using my Acrobat Pro 11 software.  Trying to access using the tree without end of support for Adobe of really making me cranky.

    Hi thomh65004143,

    You simply drag the Acrobat DC application from the applications folder to the trash to uninstall.

    Then restart your system & install Acrobat XI Download Adobe Acrobat products. Standard, Pro | DC, XI, X.

    Let me know if you are still having a problem.

    Kind regards

    Nicos

  • How to remove the warning 010212-BEA Weblogic 10.3

    Hello

    We migrated from 8.1 to 10.3.We are getting warnings during the server starts. To suppress the warning, I use the tag < disable WARNING > in the Weblogic ejb jar. I get the error message

    "* BEA-010212 is not an allowed value for the disable-WARNING element."


    Could someone please advise on how to remove the warning from BEA-010212


    Please find the jar of Weblogic XML for your reference.

    <? XML version = "1.0"? >

    < weblogic-ejb-jar xmlns = "http://www.bea.com/ns/weblogic/90" xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi: schemaLocation = "http://www.bea.com/ns/weblogic/90 http://www.bea.com/ns/weblogic/90/weblogic-ejb-jar.xsd" > >

    < weblogic-company-bean >
    HouseKeepingName < ejb-name > < / ejb-name >
    < descriptor transaction >
    < trans-timeout-seconds > 36000 < / trans-timeout-seconds >
    < / descriptor transaction >

    < enable call-by-reference-> True < / enable-call-by-reference >

    < jndi name - > JSSSLHouseKeepingHome < / jndi-name >
    < / weblogic-company-bean >

    <>transaction-isolation
    TransactionReadCommitted < isolation-level > < / isolation level >
    < method >
    HouseKeepingName < ejb-name > < / ejb-name >
    < Method-intf > home < / method-intf >
    < method name >-* < / method name >
    < / method >

    < method >
    HouseKeepingName < ejb-name > < / ejb-name >
    Distance from < method-intf > < / method-intf >
    < method name >-* < / method name >
    < / method >
    < / transaction-isolation >

    < disable WARNING > BEA-010001 < / disable WARNING >
    < disable WARNING > BEA-010212 < / disable WARNING >

    < / weblogic-ejb-jar >

    Hello.

    http://download.Oracle.com/docs/CD/E13222_01/WLS/docs103/EJB/DDreference-ejb-jar.html#wp1113572 the only value disable warning are BEA-010001 | BEA-010054 | BEA-010200 | BEA-010202.

    It seems that you can not disable BEA-010212.

    Kind regards.

    Aurélien.

  • How to remove the download button located next to my home button? I continue to by clicking on it when I want the House and it's annoying.

    How to remove the download button located next to my home button?

    You can use customization feature to move it to a less irritating location. I suggest the bar the module if you keep this poster.

    Start customizing with one of these, and then drag the arrow to a new location, or in the dialog box to remove all the bars:

    • Right click on a zone empty of the tab bar > customize
    • Press the Alt key > menu view > toolbars > customize

    You will notice that some combined controls separate in the view to customize. If you put something between them, they will not be able to recombine. (For example, if you separate stop and reload or put something between front/rear and area URL.)

  • Can you tell me how to remove the microsoft business prosuctivity standard costume online licens

    Can you tell me how to remove the microsoft business prosuctivity standard costume online licens

    Hello

    I suggest you post the question in the forums and check them off below if it helps:

    http://social.technet.Microsoft.com/forums/en-us/category/MicrosoftOnlineServices

    It will be useful.

  • Win Update has 35 'language' listed on my update package. How can I get these updates ON my machine. I NEVER want to add to my computer. I want this great list of languages removed from the update list. How to remove the.

    Win Update has 35 'language' listed on my update package.  How can I get these updates ON my machine.  I NEVER want to add to my computer.  I want this great list of languages removed from the update list.   How to remove the.

    Hello

    If they are not installed then right click on them and HIDE

    If they are installed - Control Panel - Windows Updates - down left - installed updated - uninstall

    I hope this helps.

    Rob - bicycle - Mark Twain said it is good.

  • Whenever I log on my computer, I get this 'Security warning' box you want vview only the content of the Web page that has been delivered safely

    Whenever I log on my computer, I get this 'Security warning' box you want vview only the content of the Web page that has been delivered safely?

    Open ie9,

    Click on the gear in the top right, symbol

    Click on Internet options,

    The custom level button and security section

    Scroll down and check the box

    Allow the display of mixed content.

    Apply and OK.

  • Coming out of the block how to invite the message like "do you want to save changes?" so any changes made in the current block

    Hello

    I'm working on the Oracle forms 6i. I have a custom query search window (do not use the Oracle QUERY_FIND seeded window feature). Build manually (BLOCK_1 and WINDOW_1). When I click on the search button, then I Block table that has windows (BLOCK_2 and WINDOW_2) and in this form, I have a button called details. When I click on the Details button, it opens the details Block (BLOCK_3 and WINDOW_3).

    There is no functionality seeded t define the relationship of master details. (everything is customized)

    Now, if the user has made a few changes on the block of retail and click the X (close) on this window without COMMIT the record, then how can I display a message to the user as a block level saying that "Do You want to save changes?" and after selecting one of the action i.e. Yes, no or cancel how to perform the action according to the user's action.

    This form I have three different blocks and WINDOWS for individual block so when i have all three open window and click on F4, then it closes all windows of three then how can I close the window when the user uses them short key F4 to close the window.

    Thank you very much in advance.

    Melanie,

    Thanks for the update. I tried KEY-EXIT, WHEN now-BLOCK-INSTANCE, KEY of VALIDATION, but unfortunately these triggers are not fired. I found the work around that.

    I made after the code in the APP_CUSTOM package in the close_window procedure.

    IF: SYSTEM. BLOCK_STATUS = 'CHANGE '.

    THEN

    FND_MESSAGE. SET_STRING (' do you want to save the changes you made?) ');

    l_button:-fne_message.question(button1...icon);

    and then based on the user action that performs the action.

    END IF;

    It works for me. Problem solved.

    Thank you very much for your time and your suggestions.

Maybe you are looking for

  • Cannot downgrade

    Dear people of Apple Support communities, I tried to downgrade my MacBook Pro (13, early 2011) of El Capitan to the Mavericks, but I'm stuck. At the beginning I was not able to create a bootable USB, however, I used a 32 GB SD card I had lying around

  • No noise making helmet desktop iMac. Can I use USB? How?

    I have an iMac of office. I can't get sound out of headphone plug to look on the back of the computer. Maybe it's broken. Can I get her to the car out of the USB speakers. How to do this. John

  • Pavilion 15 J1R83EA #BCM: which driver from Realtek on this NTB was first

    Hi all can you someone tell me which driver from Realtek on this NTB was first? Because I Heve new driver and it's not good for my PC. Please tell me where I can find Audio driver to download it please. Thank you. P.S. Please write here something. Pa

  • How to boot from the CD of Win XP to install the OS on Satellite L

    I put the boot options in the main BIOS to the first device: CD/DVD, Second device: SATA HDD, third device: device Realtek agent, but still goes to the SATA and the existing program. There is another box of selection of Boot with SATA as the first de

  • C40 Cisco does not go on standby mode

    Hello I have a problem with a Cisco C40 where the codec simply is not going to go into sleep mode. I tried every possible thing to make it work, but without success. When I use Putty and you connect to it and sent the normal control: xcommand Eve tur