Use the button submit to trigger the validation and prompt to save instead of submit action

I want to add a Submit button that will trigger the validation using the built-in functionality. This will work as well with the "validation of forms" setting on the properties of the form. See cliché below.

However, if the validation success, I want to apply for registration dialog box instead actually submit the form using this line of code:

app.execMenuItem("SaveAs");

How is that possible?

Tarek

Hello

to do this, you can simply call the function execValidate integrated, your form by using the following:

var boValidate = xfa.form.form1.execValidate ();

If {(boValidate)

app.execMenuItem ("SaveAs");

} else {}

App.Alert ("Validation failed.");

}

I hope this will help you!

Tags: Adobe LiveCycle

Similar Questions

  • How to use the capture and the print button

    I tried to figure out how to use the capture and the "print" button, or add or what you call. I press it and the whole page of a different color changes, so I try to cut the section I want but I don't know how to send it to the printer. Can someone help me with this. I'm not at savvy with tech stuff, but when I find a recipe or something and it doesn't have an option to print a certain area, I can't understand how to use it?

    Thank you

    Andi Starbuck

    That happens to me is, I click and drag to make a rectangle of yellow selection, and as soon as I raise my finger on the mouse button, the part I've selected is captured as an image, a new tab opens and preview before printing, the image display. I can use the installation of the Page or simply print. But if I close the preview, this temporary image vanishes and I'm back on the page where I started. You see something different?

  • How many phone numbers can be connected simultaneously, use the most and merge buttons

    How many numbers phones can be connected at the same time, use the most and fusion of the buttons after you make the first call?

    It depends on your operator.

    It's been a few years since I've really looked into it, but I think that AT & T supports up to 5 concurrent calls. I know that other major U.S. carriers support less, but I don't remember the exact numbers. I want to say that Verizon and Sprint are in charge 3 and T-Mobile supports 2, but my memory on this subject is blurred.

    Contact your operator for more information.

  • How to use the validator for an inputtext inside the af: column

    Hi Experts ADF,

    Jdev version 11.1.1.7.0

    I created a datacontrol pojo based. And trained as a table in a jsf page. I have a column in which I have an inputText.

    Initially the inputText is a certain values as 0, 10 and 12 respectively.

    Now, I want the end user to change some values in this column and the validation range must be between 1 and 10000.

    But after using the validator if other lines have default values 0 then validation is triggered for all lines.

    Thank you

    AR

    Try to put the table in clickToEdit mode.

    Timo

  • the window on my computer does not return to its original size and I can't use the max and min and exit button

    my window is too far to the right and ive tried to get to the original size and it will until a certain point to the left. This leaves me unable to use the max and min and exit tabs

    Hello

    1. What is the brand and model of the computer?

    2. is it a laptop or a desktop computer?

    3. the problem occurs after leaving the game or program?

    4 did you a recent software or changes to the material on the computer?

    Method 1:

    If this happens when you leave a game, I suggest you to follow the steps mentioned in the link and check.

    Open the troubleshooter of display quality

    http://Windows.Microsoft.com/en-us/Windows7/open-the-display-quality-Troubleshooter

    Method 2:

    I also suggest you go through the steps mentioned in the link and the Coachman.

    Change your screen resolution

    http://Windows.Microsoft.com/en-us/Windows7/change-your-screen-resolution

    Method 3:

    Step 1:

    I also suggest you to check if the problem persists in safe mode.

    Start your computer in safe mode

    http://Windows.Microsoft.com/en-us/Windows7/start-your-computer-in-safe-mode

    Step 2:

    You can also check if the problem persists in a clean boot state.

    Clean boot:

    This could happen if one of the substantive programmes is in conflict with the proper functioning of your computer. To help resolve the error and other messages, you can start 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 Windows 7 http://support.microsoft.com/kb/929135

    Note: when you are finished troubleshooting, follow step 7 article to start the computer to a normal startup.

    Hope this helps and keep us posted.

  • How can I clear the attraction of the browser to the bottom of the list, I followed the directions using the options and it will be not only clear

    How can I clear the attraction of the browser to the bottom of the list, I followed the directions using the options and it will be not only clear

    Entries in the location bar drop-down list with a yellow star (blue on Mac) at the right end of the bookmarks.

    You can delete this an item marked with a bookmark that appear in the list, if you open this url in a tab and click on the yellow star in the address bar.

    This will open the "Edit this bookmark" dialog box and you can click on the delete button to delete the bookmark if you want to delete such an entry marked with a bookmark.

  • I used the backup and restore of the backup C on pc. Then tried to open saved files with IE and started acting weird.

    zip files

    I used the backup and restore of the backup C on pc.  Then tried to open the files saved with IE.  IE went into free fall.  ???

    I have no idea what opened the backup files when you have double-clicked, or if you will not quote you took after doing this...  However, the official way to 'Browse' the content of the backup...

    You can view the contents of your backup by opening the wizard to restore files.

    1. Open backup and restore by clicking on the button start , clicking Control Panel, clicking system and Maintenance and then click Backup and restore.

    2. Do one of the following:

      • To view your files, click Restore my files.

      • To display files all the, click on restore files for all users. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    3. Do one of the following:

      • To browse the contents of the backup, click Browse for files or click Browse for folders.

        When you browse folders, you will not be able to see the files in a folder. To view individual files, use her browse for files option.

      • To search the contents of the backup, click search, type all or part of a file name, and then click search.

    If you back up to the top PC (VHD) integer then you mifght consider this trick:
    http://www.Petri.co.il/mounting-Vista-backups-using-Windows-complete-PC-Backup.htm

    According to the edition of Windows Vista that you have (and how useful, you will find the possibility to look at old versions of a given file and possibly restore), this could be useful to you:
    http://www.ShadowExplorer.com/
    (not a replacement of relief.)

    With regard to the rate of success vs. failure rate of backup - it is difficult to measure.  Indeed most of the people backs up incorrectly.  It's really * not * enough to set a backup and forget about it.  If you test ever that your backups work/glance to see if you are backing up the good thing - it's just not wise.  Although most people expect that it is essential that the backups were working properly (not a test, a real emergency) to be discovered.  Most individuals who report failures, unfortunately, fall into this category "when my aircraft crashed and I went to my backups - it turns out _ backup _ does not and never told me...» ».

    A question... If you manually create a ZIP file (not a backup) - can you still Explorer in it as a folder?

    To test... Create a folder on your desktop.  Copy some files into it - of different types.  I say COPY and not MOVE on the goal here - because you can just blow this folder and all that results from this folder later if it was all fair copies of things.

    Make a right click on this folder and choose "send to" and "compress (ZIP) file and give a name to the new 'folder '.  (It's really a file.)  On your desktop, you should have the original folder you created and copied some stuff in, and a new "folder" with the name you just gave.  If you open the 'new' folder - you should see the name of the folder that is still on the desktop and go to this folder, you should see the files.  You literally use Windows Vista to the 'discovery' inside a ZIP file as if it were a folder.

  • Problem ejecting USB Mass Storage Device "this device is currently in use. Close any programs or windows that might be using the device, and then try again. »

    Original title: problem ejecting USB Mass Storage Device

    When I try to eject safely my external hard drive safely I get an error with this title message telling me that "this device is currently in use. Close any programs or windows that might be using the device, and then try again. "I did it. I also tried to close all programs running on the computer and it does not help. I also tried to restart the computer, and it also does nothing. If anyone has any ideas that might be useful please let me know.

    Hi a. Cook,

    (1) how long have you been faced with this problem?

    (2) is limited to any specific USB device?

    This problem may occur if there are handles open with all the files in the USB (Universal Serial Bus) mass storage device are in use by another program.

    Method 1:

    (a) Download Process Explorer from the link below

    http://TechNet.Microsoft.com/en-us/Sysinternals/bb896653

    (b) click on search, find handle or DLL (Dynamic Link Library) in the tool menu.

    (c) type the drive letter of the USB device in the handle or DLL substring text box and press the search button.

    (d) find the process and its PID (process identifier) in the following box.

    (e) with a view to the processes of the system tree, look for the process according to the dialog box find handle or DLL.

    (f) press Ctrl + H to display the handles in the view in the lower pane.

    (g) find the file according to the drive letter and right click, choose Manage close.

    Reference:


    Problem ejecting USB mass storage device
    http://support.Microsoft.com/kb/555665

    Note: Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

    Method 2: You can see the steps in the link below by Diana d.
    http://answers.Microsoft.com/en-us/Windows/Forum/windows_vista-hardware/problem-ejecting-USB-mass-storage-deviceits-in-use/fd56805c-ED8E-491F-8a2b-39ed1c988a71

    Method 3: A scanner online for any threat and try to correct

    http://OneCare.live.com/site/en-us/Center/cleanup.htm

  • RunTimeException when you use the timer and TimerTask.

    In the switchNext() method, it changes an image and some text in a Vertical management. When I run the application, I get a RunTimeException. However, when I have not used the timer and tested the method switchNext() with just a button method worked perfectly. How can I make it work with timer or another class that he will call every 30 seconds?

     time = new Timer();
    TimerTask task = new TimerTask()
    {
    
    public void run()
    {
    
        switchNext();
    }
    };
    time.schedule(task, 10000);
    

    It would be useful to know what Exception you actually get.

    However, I think that it is indeed related to the fact IllegalStateException the TimerTask is running in the "bottom", and you try to update your User Interface.

    If you change the code as follows, it will work the method on the event Thread and so he has access to update the user interface.

    public void run()
    {
    UiApplication.getUiApplicat () .invokeLater (new Runnable()

    public void run() {}
    switchNext();

    }});
    }

    You can find more information on the event thread here:

    http://supportforums.BlackBerry.com/T5/Java-development/what-is-the-event-thread/Ta-p/446865

  • Using the MF and the "open a new tab" + sign opens a new page with a list of site visited recently, which is a very useful tool. It works fine on my two desktop computers, but

    Using the MF and the "open a new tab" + sign opens a new page with a list of site visited recently, which is a very useful tool. It works fine on my two desktop computers, but I can't it to work on the laptop.

    I downloaded "New tab Pro" on the laptop (do not even see on desktop computers so don't think about) such that she was like the real deal but nope... do not work. Running the latest version of MF, ideas on how activate it please?

    Thank you guys are going to mark as 'resolved' BTW it is no "folder on the desktop named old data from Firefox. Hmmmmmm.

  • I can't use the tab key to move to the next field or use the shift and tab to move to the previous field in the forms.

    After update to 7.0.1 I can't always use the tab key to move to the next field or use the shift and tab key to move to the previous field in forms. He has always worked in previous versions and it is essential for my type of work. Does anyone know of a setting to enable this? If this is not the case, can the developers of Firefox is working on this issue (please). I love Firefox but desperately need this feature to work properly. Thank you!

    No - because it works in Mode safe mode, this means an extension is probably to blame. See http://support.mozilla.com/en-US/kb/Troubleshooting+extensions+and+themes

  • My iMac cursor is stuck in the upper left corner of the login screen and I can't move it and now I can't use my iMac. What can I do? My iMac is a 27-inch 2014 release (one thin without retina display) and uses the keyboard and wireless mouse.

    My iMac cursor is stuck in the upper left corner of the login screen and I can't move it and now I can't use my iMac. What can I do? My iMac is a 27-inch 2014 release (one thin without retina display) and uses the keyboard and wireless mouse. It runs OSX Mountain Lion (not sure which version) and is a model 27 inches.

    have you tried to change the batteries in the mouse?

  • I use iphone 5 s updated to 9.2, but I can not use the network and call :( Please help me

    I use iphone 5 s updated to 9.2, but I can't use the network and call someone help me please

    What happens when you try to use the network?

  • I finished the installation of Sharepoint 2010 and he is told to use the username and password you loged on the server with does not work. What should I do to access the sharepoint URL?

    I finished the installation of Sharepoint 2010 and went through the Setup Wizard. It is said to use the username and password you loged on the server with does not work. What should I do to access the sharepoint URL?

    Hello

    Your question of Windows is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please post your question in the TechNet Forum. You can follow the link to your question:
    http://social.technet.Microsoft.com/forums/en-us/sharepoint2010general/threads

  • Arrow keys on the keyboard. Try to use the keyboard and mouse.

    New Gateway laptop with windows 7. I play a lot of games online and I can't find anywhere how to change this, or if it's the phone or the operating system. When I try to play a game on IE with the arrows that they automatically stick causing the game almost impossible to play, also when you try to use the keyboard and the touchpad the touchpad locks when the keyboard is in use. Help, please.

    It is a known problem if all goes well with Flash and Internet Explorer.
    Source: http://social.answers.microsoft.com/Forums/en-US/vistagaming/thread/d006871e-4701-4e80-9062-197f28251ac5/

    The only thing you can do is use another browser until what Adobe fixes the problem.

Maybe you are looking for

  • is the song kalimba by Mr. Scrugg copyright?

    Hello I was wondering if someone could answer this. The song Kalimba, by M. Scrugg is also entitled Ninja tuna under laws copy? I would like to add a small part of it to a tube video and wasn't sure if I should. Any response would be appreciated. Tha

  • Keys brightness HP15-R014TX problems

    Hello.. I m using HP15 - portable R014tx. I am currently working on Windows 8.1 (64-bit). I don't know, but suddenly, somehow my brightness key (F2 & F3) have stopped working. Please help ASAP!

  • Play CD CD store

    From a security point of view and bugs/viruses: is - this important if a factory music CD and computer factory CD, are set to 'Play' or 'Open file' or is it based on personal preference?

  • Why is weird track number display?

    I don't like how the clip displays the information of track for example if you have 100 songs on your player and that you have selected a song, he shows up as ' x / 100. " How can I do so that it displays the ID3 tag information, for example if I cho

  • SmartWatch 2: updates does not

    Hello Sony-Team, I have a problem to update my 2 SmartWatch. I downloaded the latest version of your Service of update Sony on my computer. When I try to run an update for my 2 SmartWatch (version 1.0.B.1.6/1.0.A.1.3) the software recognizes the watc