Add pop-up information after button/script is run.

Can you add a pop up with information after a button is executed?  I am new to LiveCycle and have, with the help of this forum, created a button that blocks form fields to fill in the runtime.  What I was asking is if a pop up can be added after button advising the user to save the form with a different file name (to preserve the basic shape for future use) before finalizing the document.

For example, we created a quote form to send to our domain to use when preparing quotations for customers.  Before they send the quote to the customer, I added the button to lock the fields first.  However, if I have this right, and they record the form, without doing a save as a different file name, they eliminate the possibility of using the base again form.

I was also wondering if the button could be eliminated during the recording as another process of file name (so the end recipient can not see the button at all).

Hope I have explained this clearly enough.

Other thoughts on how other form designers have done similar tasks would be appreciated also.

Thank you!!!

Hello

A button has three events that are associated with a user by clicking on the button:
mouseDown
mouseUp
Click

It is generally not a good idea to put the script that modifies the form or in the event mouseDown because he done something before the user committed fully to click action. In other words the user could click on the button and then change their mind and move the mouse over the button until they release the click.

That leaves two events. IF all of your script works as a block, then you must place it in the click event. But if it's not, and you need two separate events, then you can put the first part (action) in the mouseUp event and the last part in the click event.

On the basis that it will do all the work in the click event, you might have the following two lines after the lock in all areas:

This.Presence = "invisible"; mask the lock button
xfa.host.messageBox ("the shape is now locked, please remember to make sure that you save it under a different name", "customer quotations", 3, 0);

He gets a status message to the user, confirming that the form is locked. If you get this working then it'll get you out blocks.

It's a little better to make sure that the user registered as a new name before lock you the form. You could do cela two ways. One would be to test the string against the name of the template file name. If there are different means that the user has changed the form. However, it can be difficult to maintain, because if you rename the model, you have to think about going to a change the script.

Another way would be to wrap the entire script block in another messageBox statement resembling what is clicked (Yes or no).

It would look like this:

var nChoice = xfa.host.messageBox ("you are about to block the form.\n\nIf you don't have not renamed the file, you will not be able to lock the form. Please click on no and rename the form first.\n\nHave you renamed this file? ","customer quotations ", 1, 2);

If (nChoice is 4)
{
... All your script...

This.Presence = "invisible"; mask the lock button
xfa.host.messageBox ("the shape is now locked, please remember to make sure that you save it under a different name", "customer quotations", 3, 0);
} //close if statement.

I hope this helps,

Niall

Tags: Adobe LiveCycle

Similar Questions

  • How go I add cd track information after the entry in cd in itunes

    How go I add cd track information after the entry in cd in itunes

    Eject the CD. In Preferences > General > checkbox to automatically retrieve CD track names on the Internet. Insert the CD to try again.

  • . Notes being removed after the script is run?

    I wrote a script to allow you to select an image to replace any number of selected files.  Each file starts as an image embedded with a .note to determine where the basis of alignment for the new file should be (that is ' top', 'down' 'left', 'right').  You will find the code below:

    #target illustrator

    If (app.documents.length > 0) {}

    var docRef = app.activeDocument;

    var docSelection = docRef.selection;

    * Download the new file

    newFile var = File.openDialog ("Select a PNG file", "PNG files: * .png ');

    * Elements of image process

    for (i = 0; i < docSelection.length; i ++) {}

    If (.) TypeName docSelection [i] == "RasterItem") {}

    var Ancien_fichier = docSelection [i];

    * Replace the old image with the New

    replaceScaledImage (oldFile, newFile);

    }

    }

    }

    else {}

    Alert ("open a document before running this script";

    }

    function replaceScaledImage (oldImage, newFile) {}

    Save the old image data.

    oldImageScale = oldImage.matrix.mValueA;

    oldImageLeft = oldImage.left;

    oldImageTop = oldImage.top;

    oldImageWidth = oldImage.width;

    oldImageHeight = oldImage.height;

    oldImageNote = oldImage.note.toLowerCase ();

    oldImageNote.replace (/ \s+$ / g,' ');

    Martine var = docRef.placedItems.add ();

    newImage.file = newFile;

    newImage.move (oldImage, ElementPlacement.PLACEAFTER);

    newImage.width = newImage.width * oldImageScale;

    newImage.height = newImage.height * oldImageScale;

    Set the positioning on point pre-caducite.

    Switch (oldImageNote) {}

    case "down":

    newImage.left = (oldImageLeft+(oldImageWidth/2))-(newImage.width/2);

    newImage.top = (oldImageTop-(oldImageHeight/2))+(newImage.height/2);

    break;

    case 'top ':

    newImage.left = (oldImageLeft+(oldImageWidth/2))-(newImage.width/2);

    newImage.top = oldImageTop;

    break;

    case "the left":

    newImage.left = oldImageLeft;

    newImage.top = (oldImageTop-(oldImageHeight/2))+(newImage.height/2);

    break;

    case "right":

    newImage.left = (oldImageLeft+(oldImageWidth/2))-(newImage.width/2);

    newImage.top = (oldImageTop-(oldImageHeight/2))+(newImage.height/2);

    break;

    by default:

    newImage.left = (oldImageLeft+(oldImageWidth/2))-(newImage.width/2);

    newImage.top = (oldImageTop-(oldImageHeight/2))+(newImage.height/2);

    }

    Incorporate the new image.

    newImage.embed ();

    Add the footnote to the old image with the new image.

    newImage.note = oldImageNote;

    Remove the old image.

    oldImage.remove ();

    }

    For some reason, the ".note" added at the end of the script gets erased once the script has finished.  I can get it even to confirm that it applies the note to the image, but once it is complete, it's gone.  Any ideas as to why?

    Thanks for any help in advance.

    documentation:

    embed() method returns Nothing.

    What it does

    Incorporates this art in the document. Converts objects of art art point as needed and deletes this object.

    so...

    After the incorporation, Martine gets deleted and created a new RasterItem, the note is added to a now non-existent element and the new RasterItem is left without a note.

    a way of working that this point would be to postpone moving the Martine (only to get easy access to the newly created RasterItem) after it was integrated and note has been added to it

    // newImage.move( oldImage, ElementPlacement.PLACEAFTER );
    .
    .
    .
    newImage.embed();
    var newRaster = docRef.rasterItems[0];
    newRaster.note = oldImageNote;
    newRaster.move( oldImage, ElementPlacement.PLACEAFTER );
    oldImage.remove();
    
  • Close powershell connections after a script is run

    I have a task that runs a workflow that opens a powershell connection, queries a SQL table, if nothing to do, close the powershell session and wait even a minute and start again.  My problem is that I keep seeing the memory of my powershell host go upward and upward.  Not sure why closing a session is not kill my session of winRM.  The powershell script closes correctly, but every time the workflow runs, it creates a new process of WinRM eating plugin all memory.  I also noticed that I am re-using the same ID of powershell for each iteration.  Is this a bug or a feature?

    Thank you

    -Stephen

    Why don't just map the table SQL using the plugin SQL and query here instead of going through PowerShell?

  • How can I add email link to a button, which will pop up from Outlook Express in flash?

    Hello! I was wondering if someone can hepl and forge be able to tell me how to add a link to a button so when you press on open users on lookexpress to send messages to myself?
    Thanks in advance!

    123445667789 wrote:
    > Hi! I was wondering if someone can hepl and forge be able to tell me how to add a link to a button so when you press on open users on lookexpress to send messages to myself?
    > Thanks in advance!

    {We (Press)}
    GetURL ("mailto:[email protected]");
    }

    If an email client is installed it should open a new message window. If it isn't
    nothing should happen.

  • Y at - it a shortcut to add multiple groups of radio buttons?

    Y at - it a shortcut to add multiple groups of radio buttons?    I have several lines with 4 columns each roows all different.

    This process can be automated by using a script. For more information contact me private.

  • How to add a custom WD screen button to call a workflow in siebel?

    Hi all

    We have an obligation to have a custom button to (after the execution of the rule) summary screen 'Create opportunity', by clicking on it a new opportunity record must be created in Siebel. As we know the link 'Save' calls 'PolicyAutomationSaveSession' incoming to the web service method and saves the session table information and we can change the workflow presessional and post-Forum. But we do not know how he calls the service method and where is the defined mapping.

    Can you please help me on how to add a custom button and how to call a workflow next to siebel to implement this requirement?

    Also is there anything that can help me to add a custom in the display button and add the code behind the button?

    Thanks in advance!

    Kind regards
    ALIOU

    ALIOU,

    There is no easy way to map an arbitrary Siebel Workflow to a button of the OPA. It can be done through a custom action, and with the addition of the code. Here's how it was done for the recording function of the Web analytics that you see in the OPA for Siebel connector.

    1. strip the workflow as a Siebel "Incoming Web Service"
    2. write the code to call the web service
    3. implement an event listener which will execute the code at the right time

    Documentation on the event for the determinations of Web listeners can be found in the "10.3.0 Oracle policy Automation Developer Runtime help" in the section "Events and event handlers" "

  • Cannot add or to see the action scripts

    Hi all

    I'm a day try to use Flash and I ran into my first problem.  I tried to add a "stop(); action to my button but I am incapable of even after selecting an image.  See the photo and I thank her for helping another noob.

    Screen Shot 2015-11-24 at 8.25.47 AM.png

    3 you do not add the action to the button rather select it on the stage of your code snippet winfdow open AND select from there.

  • Todd K., Jeff A., and/or after effects Scripting forum leader. :)

    I understand and respect policy corporate office, while I accept no majority and general delays, but for the greater good of the community...

    Is it possible to add a post to post it here at the front of the forum to host the pdf after effects Scripting? Fortunately, I will post the guide Guide AES CS6 and CC JavascriptTools if it is authorized by Adobe to do it in this forum. Don't want to break the law of author/legal/anger a God somewhere.

    I only ask that I noticed a considerable number of issues that can benefit from these guides. During that they can be difficult at times to decifer for the unknown. As it is now, the official site of these guides is supposed to be here:

    http://www.Adobe.com/devnet/aftereffects.html

    Unfortunately the CS6 guide is located on the region of interest here:

    http://blogs.Adobe.com/AfterEffects/2012/06/scripting-changes-in-after-effects-CS6-plus-ne w-scripting-manual

    and the Javascript Tools Guide is not anywhere (to my knowledge) online. The only way to get it is by downloading ESTK, who is not everyone uses. That's why excluding them from some of the answers they can get.

    If I'm basically asking permission to place, from this date, the PDF straight forward course in this forum. Please enough with the frosting on top.

    After-effects-CS6-Scripting - Guide.pdf

    JavaScript Tools Guide CC.pdf

    Or at all least, direct links to these files can be placed in the position provided. http://www.Adobe.com/devnet/aftereffects.html

    Thank you.

    Your buddy,

    Dave

    Hi David,

    We have updated the DevNet site and created a separate section for the Scripting docs.

    See you soon,.

    Zac

  • How to add a PPR to the button when running

    Hi all
    I have a text named "status" entry and it has links to this method
          public void setStatus(RichInputText status) { 
            setCurrentRecordStatus((String)status.getValue());
            System.out.println("status value is"+(String)status.getValue());
            status.setAutoSubmit(true);
            this.status = status;
        }
    And I have the "submitBtn" command button and I set the disable property to this method
          
        public boolean isDisableSubmitButton() {
          if (getCurrentRecordStatus() == "E") {
              disableSubmitButton=false;
          } else {
             disableSubmitButton = true;
          }
            return disableSubmitButton;
        }
    
        public void setCurrentRecordStatus(String currentRecordStatus) {
            this.currentRecordStatus = currentRecordStatus;
        }
    
        public String getCurrentRecordStatus() {
            return currentRecordStatus;
        }
    I want to put the partial "trigger" property of the command key is the id of the input text 'status' when running so that the property enable and disable the Refresh button.

    I can't do this design-time for many reasons, one of them is that the button is on the template and the content of the page changes after menu selection.

    My question is: how to add a PPR to this button during execution?
    Help, please
    Thank you

    Hello

    Try like this I hope this helps.

    for example:

    Jspx page:





    At the bean:

    private RichPopup * bindpopUp *;

    public String testmMethod() {}
    AdfFacesContext.getCurrentInstance (.addPartialTarget(*bindpopUp*));
    Returns a null value.
    }

    * Note :*

    Add partialsibmit if you use all the action in the component.

    Remove the partial triggers in the page, if you gave for the same component in the managed Bean. Add target partial bean or in the page... in a place...

    Kind regards
    Guillet

  • My iPad has been slow and unstable. What can I do if this is caused by a virus from the Internet because that is what I suspect. The problem started after a message like "scripts to run.

    My iPad has been slow and unstable - it actually seems to be hung when I use it. Once I put it, a blue line with four faces (which forms a rectangle or square) appears on the display and moves as he tries to anticipate my next actions or touch on the scree. All started about four days ago while I was downloading of articles in google scholar. A message that reflects something as "run scripts" or "scripts to run" appeared just before the problem started. Please advise on what I can do.

    Try resetting your device. This will not erase your data stored on that device.

    • Press and hold the sleep/wake button
    • Press and hold the Home button
    • Press and hold both buttons until the display turns off and on again with the Apple logo on the subject.

    Alternatively, you can go to settings - general - reset - Reset all settings

    If that doesn't work, restore your device to factory settings. Please note that this will delete the data on your device.

    Take a look this Apple Support article: use iTunes to restore the iPhone, iPad or iPod to factory settings - Apple Support.

  • My laptop loses its STARTUP information after it was closed during the night

    original title: STUMPER! My laptop loses its STARTUP information after it was closed during the night?

    I have a problem very intrigueing that I can't understand. I can do a clean install of Vista Ultimate(32 or 64 bit), on my gateway M285 - E Tablet PC. Once it's done and I did not yet updates, if I stop the system at night, I wake up and you try to boot the system and get a blue screen (which finally tells me that my "disk.sys" file is missing. I tried plugging it down in increments to see when this file, in fact, is lost. I stopped for about 1 1/2 hours and it will start fine, but during the night, it won't.

    Then I tried a fresh install and did all the updates available, same thing. I tried to start a "memory test and everything is fine." I even did the memory more intense test (which takes forever, by the way... lol). I also did "chkdsk", as well as all viruses and malware, etc. tests with Norton first Edition.

    I got to the point where I now have 3 separate "disk images" that I created to save time in my software I want to use this system of loading. We're just a clean install, that no update, other clean install available updates. and the last with a clean install with all my software MS Office, Adobe Creative Suite and Autodesk Entertainment and all of their updates.

    I did this for if I'll actually somehow solve this problem I can easily use the "disk image" I want... No...

    Oh yes, I also all my drivers up to date etc.

    Any help on this issue would be greatly appreciated.

    EDIT:

    Another problem related to this situation, it's the hard drive becomes undetectable, so I have to use a software such as Ubunta starting vehicle, which has its own operating system, so I can actually format my hard drive to start the installation process. (otherwise my Vista installation won the same recognize I have a hard drive, not to mention operating system to try to resolve, such as startup repair, System Restore, etc.)

    I finally figured it... xD is a hard drive diver who has been desgned for WinXP and for some reason any were never changed during the installation of Vista on this system or automatic updates.

    It was actually the IDE ATA/ATAPI controllers, specifically the Intel SATA AHCI Controller. I used "Driver Whiz/Detective", which would install most drivers via a base file system are integrated.

    The controller AHCI SATA Intel(r) has not, it only downloaded a .zip file that contains the following files:

    IaStor.sys
    iaAHCI.cat
    iaAHCI.inf

    These were to actually be manually installed. "Even if I had downloaded and extracted the files, when I tried to update the driver"Intel SATA AHCI controller"via Device Manager" through the command of newer driver search. It does not always detect it them, stating that I already had the best and latest drivers already installed.

    Then, for some reason that just kept on bothering me, because "Driver Whiz/Detective kept indicating that it was the best version of the driver for my system.

    So, I finally tried to update the drivers manually by specifying exactly where these files are located on my system. Then he finally recognized them and installed them.

    According to me, given that this system is an older model 'Gateway M285-E Tablet PC', even if it is Vista compatible, he has always maintained the operating system higher available for WinXP, through any auto detect in the BIOS. Even in the settings of the BIOS OS I tried assigning 'Other', because the only other options were Win95, Win98, WinMe, Win2000 and WinXP.

    So having not the 'Intel(r) SATA AHCI controller"recognizing a Vista OS after be closed for a period of time, it would try to load a Windows XP operating system, and have failed to do. Strange, but is the only explanation I can offer for her.

    Thanks for the help,

    Wayne

  • Option of blackBerry Smartphones to add POP email our not available

    On my new BlackBerry Bold 9900 to add POP email accounts as described in the manual is not available. Only the enterprise option activation is provided. The BB is a no camera brand and sold by AMAZON. OS 7.1 Paket 2061 (V7.1.0.714, platform 5.1.0.532) is there a possibility to activate the email POP account option, because I don't want to use push / mail to the company.

    Thank you so much

    Dirk

    Dirk_Thomas wrote:

    Hi John,.

    Thanks, sorry for the late reply. This means that for example a classic Blackberry with OS 10, withdrawing its own e-mail from a pop account without specific data plan. Fix?

    Thank you

    Dirk

    BB10 models the client polls for email on POP3 server at an interval that you select.  When the mail client is e-mail it downloads it not the device.   In function, you can set a time interval (30 minutes or an hour) and then manually refresh if you happen to check at any time between the two.   You can define short intervals, if you want and see what it does to the battery life.

    On models BBOS (with BIS such as described above), the BIS server made the polling stations, and it pushes email to the handset.  The polling interval depends on, if the BIS is to find send it to the server every time that he asks, so they tend to ask more frequently.  If there are no e-mail, he returned to the default which is something like 15 minutes.   Some accounts are pushed from email arrives, for example say Live or Outlook.com.

  • How to trigger the Validation of batch after Action Script executed?

    Hello

    I have several validations that I need to put in the batch. I note that postings are triggered after the script of my action. What Miss me? Validations are assigned to the node and the hierarchy of the types.

    Validations do not pull so who runs the scripts of action via the batch client or web client.

    Appreciate all the help I can get,

    Sonny

    Then validations in real time are your option, or simply make the existing both.

  • Either directly from the method of the source to add the FB, Twitter, Instagram buttons in the footer?

    All directly the source method to add the FB, Twitter, Instagram buttons in the footer? Already have a link to e-mail but prefer a line of sharing/contacts, I see development icon, copy, icon stores but no link that can be used on the sites mentioned (which would make sense).

    Adding Twitter buttons to your Web site | Twitter Help Center

    Follow the button - Social Plugins - Documentation - Facebook for developers

    As button for Web - Social Plugins - Documentation - Facebook for developers

    A Google search will reveal more...

    Nancy O.

Maybe you are looking for