Need for JScript difficulty: cancel alert message button not working not!

Hi all

My form has an option for the user to remove subforms/folders as needed. Acrobat allows you to cancel - so if my user has accidentally click on 'remove', they are stuck.

I added an alert to ask box "are you sure of...» ', 'yes' and 'Cancel' buttons.  But when I click on the Cancel button, it will remove anyway!

Here is the script I use:

If (xfa.host.messageBox ("are you sure you want to delete? This may Ωtre annulΘe. «, ' Confirmation required! "(, 2, 2) == 4)"»

{

xfa.host.Delete.click ();

}

on the other

{

xfa.host.cancel.Action = 2;

}

and here is the form:

Dropbox - AFBS_90 - Plus_110614.pdf

Thank you very much!

Laura

Hello

your script is meaningless to me.

Replace it with

if (xfa.host.messageBox("Are you sure you want to delete? This cannot be undone.", "Confirmation Required !!!", 2, 2) === 4) {
     _SummarySub.removeInstance(this.parent.index);
     if (xfa.host.version < 8) {
  xfa.form.recalculate(1);
  }
}

Tags: Adobe LiveCycle

Similar Questions

  • Windows95 CD-ROM - game Need for DCC Speed-No. pieces found - can not install the game - please help. ___

    Windows 95 CD-CD-ROM-game Need for DCC Speed-No. pieces found - can not install the game - please help.

    ------------------

  • Option selected-&gt; alert message button

    Hello

    in my form created by adobe pro, I have two radio button, group 'prova' with the value IF and no. If is checked I didn't need an alert message.

    Someone can tell you javascript to alert code?

    Thank you

    Gabriella

    Hi gabriellai60300853,

    You may want to take a look at this: https://acrobatusers.com/tutorials/popup_windows_part1

    Thank you

    Abhishek

  • installed need for speed with success. now, it will not open run

    I installed the need for speed game successfully. now, it won't open or run. ??

    Looks like it can't find the disc.

    Hello

    You receive all code or an error message when you try to run the game?

    You can try to run the game as administrator & check if it works:

    For more information, refer to this link: to start a program as an administrator

    Hope the helps of information.

  • Windows installation disc needs for a new disk hard but is not available

    Hello

    The hard drive on my PC HP badly shot - he tells me I need to check for consistency, but it cannot and will not run chkdsk on a restart and will not let me create a restore disk.

    OK, I accept that I need to buy a new hard drive but I have no CD to install Win 7. The pc has a partition called "factory secctings" but it will not create a cd of Windows or a restore cd or a Sun.

    Microsoft has said that it is not available for me because my serial number includes the letters OEM. I had a case created at HP, and a person called me and said I should get the CD of the os from Microsoft, or from the store I bought from (Staples). Staples said they have no CD for Win 7 and cannot make me a. They said get them from Microsoft or HP.

    The number of cases is 3016271460

    See that I get nothing from Microsoft, HP, or Stqples. I never got a CD with the pc because, I guess, it's there on the partition to factory settings, but with the failure of hard drive I can't use it.

    All have a suggestion?

    Your hard drive can hold the DEFECTIVE SECTORS.

    The only way to get windows 7 disc is to buy a new Amazon / similar online stores / service centres.

    You can try this:

    ""http://www.sevenforums.com/installation-setup/151566-reinstalling-windows-7-a.html#post1300819 " "

    Browse the site and do the steps as shown.

  • Downloaded driver for photosmart 2610 but get message application not valid Windows? win xp

    driver installation download for photosmart 2610 all-in-one, but cannot install download the message that it is not an application validates Windows.   confused as it was for win xp.

    I have

    banhien wrote:

    Hello

    Which file you downloaded, was - what?

    http://ftp.HP.com/pub/softlib/software10/COL10511/OJ-30606-2/rub_w01_Americas_Euro1_NB.exe

    Kind regards.

    Yes, redownloaded it and it worked.  Thank you

  • DR4100 alert message does not

    I install a DR4100 and it works for the most part very well.
    One thing I can't operate well email alerts.

    There is a recipient address, a host of electronic mail relay, and the Admin Contact Info (which I assume is the address of the sender used) configured. The unit itself is located on a subnet IP with no routing to the outside world, then the host of e-mail relay is pointing at the IP address of our backup server, also with an interface on the same subnet. On the backup server (Windows 2012R2), there is a portforwarding does (for an SMTP server) with 'netsh interface portproxy', an installation program, I used in many similar cases.
    I can't see any connection attempt (TCPView) on the backup of the DR4100 server, or I see anything in the newspapers of SMTP servers. The DR4100 himself said 'sent by e-mail to all recipients' and the event log shows "Send Test email".

    Is there another log on the DR4100 that could show what's really going on, or how do I fix this to alert?

    Being unsuccessful in the connection to our SMTP server with the DR4100 via a portforwarding server that I put in place the same server to act as a NAT router. This gave me half of success, I can now see the connections made to our SMTP server.

    It seems that, for the alert service e-mail is working properly, the DR4100 configuration must meet the following requirements (not mentioned in the manual)

    • The e-mail relay server can be entered as an IP address, it must be a FULL domain name host name
    • The DR4100 must have a valid DNS configuration of the above work
    • The DR4100 must have a valid default gateway, it can not be on a network again

    So for the other half of the story. indemnify a:
    Emails stuck in our because (legitimately) does not recognize the address of the spam filtering [email protected]

    Is there really no way to change the mailing address? I can't find.
    Otherwise, please add this as in future updates.

  • What is Onboard LAN I need for my Compaq precarious CQ5320F, mine will not connect.

    Ethernet port does not, he should get the new card for compaq precarious CQ5320F, what should I buy?

    Paul has already answered your question.

    http://h30434.www3.HP.com/T5/desktop-hardware/Ethernet-connection-failed-on-my-Compaq-Presario-CQ5320F-need/m-p/1035431

  • HP 240 G4-328TX: WIFI driver needed for HP 240 g4-328TX - wifi problem not connect properly.

    Hello

    Can someone help me please on the wifi connectivity problem. Here it is that the wifi is connect to a network but display very less power of the signal as almost negligible.

    So because of this internet speed also affects and disconnects very frequently (even if the wifi is very close to the laptop as just almost 2 or 3 steps).

    What could be the problem here. Drivers or hardware?

    Required drivers

    Thank you

    Verove

    Hello:

    I heard about problems with the new broadcom card and drivers...

    See if this driver works best for you...

    http://h20566.www2.HP.com/hpsc/SWD/public/detail?sp4ts.Oid=6943827&swItemId=ob_153525_1&swEnvOid=4192#tab1

  • HP k207: need for HP simple pass application and my driver works

    When I use my fingerprint sensor, it works, but does not open the application HP Simple pass. Where can I get the file from downloading the Application? Please help me. I'm not able to use the sensor to get into my laptop so I type the password completely. Please help the technicians HP

    Hello @Sudarshan22,

    Welcome to the HP Forum community!

    I came across your post and wanted to help you find the software for your HP Envy 15-k207.

    I found this page of the driver for your notebook series:

    Laptop HP ENVY - 15 t-k200

    You can find the software, or install the Version of the HP SimplePass Identity Protection Software: 8.01.46 Rev.A using this package.

    sp71729.exe

    Thank you very much, I hope this download helps.

    If you found this information useful, click on the thumbs up!

  • Code for windows update 80072ee2 error message keeps not why?

    This update of windows just used get custody failed, why tried everything I can but simply help past noy.

    This update of windows just used get custody failed, why tried everything I can but simply help past noy.

    Add the Windows Update Web sites to a firewall exceptions list

    • Windows Firewall ships with this version of Windows and should already include these sites in the exceptions list. If you are using another firewall, see Help for the software publisher to see how to add these websites to your firewall exceptions list:

    If the problem persists after these steps, see this http://support.microsoft.com/?kbid=836941

    UTC/GMT is 21:09 on Tuesday, August 30, 2011

  • I can't get the window updates for download the 8007371B error message will not download fixit

    My update does not download automatically and prevents other things on my work pc 8007371b error code I tried all the step to fix it it keeps the fix it low loading also

    Hello

    1. What are the steps you tried?
     
    2. the specific issue with a particular update is?
     
    3. What is the error displayed when correcting, it fails to download?
     
    4. what hardware or software change has been performed on the computer before the question?
     
    Please follow the links below to solve the problem.
     
    The problem with Microsoft Windows Update is not working
     
    try to run the Windows Update.
     
    If the update fails while you can,
     
    View the results of the windows journal file.
     
     
    I hope this helps.
  • Need for speed \u200b\u200bMost wanted 2012 does not

    yesterday, I downloaded nfs most wanted original 2012. When I open it I was working properly, but when it comes to control my car it has stopped working, a dialog box is delivered with 2 options (1 check the online solution, 2 close the program).

    What should I do? I want to play this game...

    My laptop has-

    Windows 7 ultimate,

    Processor: Pentium Dual-Core processor T4400 2.20 GHz 2.20 GHz

    RAM: 3.00 GB

    System type: 32-bit operating system

    You are the processor is well under the required bud minimum spec and probably well below if you don't have that on the chart

    You don't have a gaming laptop

    CPU: Core 2 Duo 2.4 GHZ or Althon X 2 2.7 GHz
    Processor speed: Info
    RAM: 2 GB
    OPERATING SYSTEM: Windows Vista 32-bit (Service Pack 2)
    Video card: ATI RADEON 3870 or higher performance / NVIDIA GEFORCE 8800 GT or higher performance
    Sound card: Yes
    Free disk space: 20 GB
  • How to get the alert message while trying to open a file, folder, or drive?

    How to provide a warning message when opening a file, folder, or drive, such as I had in my disk recovery and back the file, but once I opened it, that message never came again, I want this parameters with some of my important files. so, how do you restore this setting? and how do you get to my files?

    Hello

    Thanks for posting the question in the Microsoft Community forums. According to the description, you need help to get an alert message when you attempt to open a file, folder or drive.

    The alert message you received disk and backup recovery file is supplied by the manufacturer.

    There is no message alert option in Windows. You can search for any third-party application, using your favorite search engine.

    Note:  This response contains a reference to third party World Wide Web site. Microsoft provides this information as a convenience to you. Microsoft does not control these sites and no has not tested any software or information found on these sites; Therefore, Microsoft cannot make any approach to quality, security or the ability of a software or information that are there. There are the dangers inherent in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

    Hope this information helps. For any help about Windows, you can still post on the Microsoft Community Forum.

  • Need for speed - error: the game has stopped working?

    everytime I open the need for speed, the race. It does not open and says that "the game has stopped working.

    Original title: program compatibility Application Applications App Apps game games Legacy Crash crashes Hang hangs

    Hello

    1. How did you install Need for Speed on the computer?

    2 did you download and install it from the Internet or that you have installed by using the CD/DVD set?

    3. which edition of the game that you are using?

    4. don't you make changes to the computer before the show?

    Please follow the steps below.

    Method 1:

    I suggest you to place the computer in a clean boot state and check if you are able to play the game. You can start Windows Vista or Windows 7 by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    http://support.Microsoft.com/kb/929135

    NOTE: after the troubleshooting steps, please return the computer to start as usual (see STEP 7 the above link)

    Method 2:

    Try to update the graphics card drivers and check if it works very well.

    Click on the link below.

    Updated a hardware driver that is not working properly

    http://Windows.Microsoft.com/en-us/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly

    Method 3:

    Try to reinstall the game and check if it works very well.

    Click on the link below.

    Install a program

    http://Windows.Microsoft.com/en-us/Windows7/install-a-program

    I suggest also please contact the manufacturer of game for assistance.

    http://support.EA.com/

Maybe you are looking for