Problem with Javascript and ActionScript setting / getting variable timing

Hello world

The course

I created a training course, which will run standalone on our intranet for internal staff. Despite the (known) limitations, I use Javascript to validate the form and open a window of e-mail, for the staff member to click Send confirm that they have completed the course. Without a web server or LMS to use, what seems easiest to obtain confirmation of completion of the course. The form itself works very well and we have tested it with some members of staff.

I created a slide in Captivate that contains the form of confirmation with a "submit" button. I added a next button, which appears disabled until the user submits the form successfully.

The problem

When the user clicks on send, I call a conditional Action as follows:

  • If 1 = 1 (i.e. always do this)
    • Javascript call for:
      • Validate the form
      • If it is valid
        • Open e-mail window
        • Set m_VarHandle.Confirmation_Email = 1
  • If Confirmation_Email = 1
    • Select the next button

Unfortunately, by filling out the form correctly and clicking on send, the next button is not enabled (the fine again active button). On further testing, it seems that the Javascript has finished running before ActionScript moves on the next decision. So when he checks the value of Confirmation_Email it has not yet been fixed and the next button is not enabled.

Any ideas how I can fix this problem?

Thank you

Sarah.

Hello world

I bypassed this problem as follows.

  • Added a Clickbox that appears for 0.5 seconds with a break
  • Created a disabled button is visible in the output, which is displayed for 0.8 second
  • Updated the timeline, so that the next button (active) appears after 0.8 seconds for the rest of the slide
  • Added a second Clickbox located to 1.0 second with a break at the end of the slide (2.0 seconds)
  • Updated Javascript code to set cpCmndResume to 1 when the form is validated successfully

This results in the desired behavior:

  • The slide plays up to 0.5 seconds and stops due to the first Clickbox
  • The user can fill out the form at their leisure and submit.
    • If the validation fails, the user must correct the form and click on submit
    • If the validation is successful, the reading recovery
  • When playback is resumed, he passes the 0.8-second mark. The following disabled button disappears and the next active button appears. Playback continues until the second 2.0 mark then paused because of the second Clickbox
  • The user can click on Next at their leisure

Thanks for all the reading - hope it will be useful!

See you soon

Sarah.

Tags: Acrobat

Similar Questions

  • problems with vista and microsoft set 32-bit or 64-bit.

    try to solve the problems with vista and microsoft fix it.  This error code 0 x 800400154 came up saying that they finish their using 32 bit and I have a 64 bit what they say.

    What version of the operating system Windows am I running?

    Windows 32-bit or 64-bit

    What Microsoft FixIt you try to run?  (There are MANY of them - they are simply the written scripts that do the manual steps in the KB article for you).

  • My interactive form is a hot mess (several problems with javascript and formcalc)

    I have worked on a report form of dynamic loads for our society, but have met with a number of problems. I would appreciate help on one of them!

    Problem 1:

    Last subform: table 4 (Miscellaneous) - this subform does not force the footer (signature, comments) section as other subforms do downstairs. The painting is in a subform positioned within a subform flowed. 3 other tables have no problem pushing data down.

    Problem2:

    The button "-" on the tables (to subtract a line) USED to work, but now are not. The button "-" on EACH table is broken.

    Problem 3:

    Add line still works fine on most of the tables (with the exception of the final table, MISCELLANEOUS charges). If I add a few lines of the last subform apparently stops working altogether past tier 3 buttons. Add 2 lines to the final table (miscellaneous charges) to see what I mean. It seems to me that this problem is probably related to problem 1 somehow.

    Problem 4:

    Cannot get GRAND TOTAL working little matter what I try.

    I downloaded my work in progress here: www.essential-equipment.com/pdf/ExpenseReport.pdf

    If anyone can help me I would be very happy.  Also, it would be difficult to make this form capable of carry over to a new page?

    Thanks in advance to anyone who helps

    Hello.

    Problem 1:

    The subform of deviations "Table4Subform" is not set to automatically adjust to the height.

    Problem 2.

    The removal script is in a complex way, use this script instead:

    if (this.parent.parent.instanceManager.count > 1) {
              this.parent.parent.instanceManager.removeInstance(this.parent.parent.index);
    }
    

    Problem 3:

    Remove the grouping 'Body', then the subform flow crrectly on the next page.

    Problem 4:

    The benchmark for total fields are not correct, this is why the grand total script fails.

    Change in:

    Sum(Table1Subform.Table1.FooterRow.Total1, Table23Subform.Table2.FooterRow.Total2, Table23Subform.Table3.FooterRow.Total3, Table4.FooterRow.Total4)
    
  • I'm having a lot of problems with firefox and cannot figure out how to get help. It all started when I updated to 13. I get all kinds of advertising popups, I can't play a

    I'm having a lot of problems with firefox and cannot figure out how to get help. It all started when I updated to 13. I get all kinds of advertising popups, I can't play a game on FaceBook called Farm Town at all, and I get a popup of AVG on the cookies that I can't get rid of. These issues are causing me to use Chrome quite often, although I like Fox better. I've searched and searched how to get help and find nothing. How can I get personalized technical help? These problems will not occur in Chrome at all. Thank you.

    Do a check with some malware malware, analysis of programs on the Windows computer.

    You need to scan with all programs, because each program detects a different malicious program.

    Make sure that you update each program to get the latest version of their databases before scanning.

    Alternatively, you can write a check for an infection rootkit TDSSKiller.

    See also:

  • Problem with youtube and other video sites

    I have a problem with youtube and other video sites:

    Everything is up-to-date (flash, FF, my plug ins.) but I get crashes when loading the video. I can hear the sound but I see only the first frame of the video.

    I've reinstalled flash/firefox or tried updating them again for about 4 times now and my cookies/cache has also been errased which i usually don't do. If i enter FF's safe mode it also freezes.
    

    I hope someone can help, I looked for answers on google before and I tried everything I saw, but it did not help.

    GRTS,
    agrash

    I had the same problem, I uninstalled the plugin Flash player (Adobe Flash Player 11.0.1 152) and the problem is solved. I installed the plug-in again and the problem came back. So right now I have no flas Player liked-in, but I don't have too much problem. I hope that I will not find another problem, but it seems that everything is OK.

  • Pavilion 15 laptop: problems with stop and "standby" mode.

    I upgraded from windows 8.1 for windows 64 bit home 10. I had problems with stop and goes into sleep mode and cannot be resolved, then I reinstalled windows 10. Everything worked fine for a few moments, and then the same problem reappeared. I can't stop or put my PC into sleep mode, unless I have first of all to make a restart. After a reboot, I am able to stop or go to sleep mode without problem. If I try to do either without a restart, the screen goes black and the indicator light remains lit. The only way I can get it to start then press on and hold the power button and force a shutdown down, then press the power button to restart the upward. I have another PC, a wafer think that Lenovox has been upgraded to windows Windows 7 10. This PC work fine with windows 10, no problem at all. It's just the HP Pavilion 15 who has these questions. It makes me crazy.

    Look through the tool of troubleshooting possible solutions here:

    http://support.HP.com/us-en/document/c03383935

  • I restored my laptop Toshiba because I had some problems with it and now my Windows Vista computer is indicating that it is 'invaild.

    RESTORED FOR LAPTOP, WINDOWS VISTA INVAILD

    Hi I'm new to these fornums

    I restored my laptop Toshiba because I had some problems with it and now my Windows Vista computer is indicating that it is 'invaild...

    I have the product key on a sticker on the bottom of the laptop, but whenever I entered the code, I also get this:

    The product key you entered will not work with this edition of Vista

    I know that most people are trying to say to activate by phone, but this option is not available

    Help, please

    Now that you have found the key and the certificate of authenticity, you must change to the key on the COA sticker - ONLY then it will activate.

  • BlackBerry Z10 Z10, problem with Gmail and BIS

    I just got a new Z10 and had all configured to discover that my primary e-mail service, Gmail, does not work if the only internet access is through the Blackberry Internet Service (BIS).

    When I configured first, I got Wi - Fi active (other than BIS, I don't have a data plan as my main focus is email). As it was my 3 services e-mail (Gmail, Hotmail and my prived ISP service) all the connected without problem. It was only after I turned off WiFi that I discovered that while my other two services work fine, my Gmail account has become "not connected".

    I tried everything I could think of, including delete my Gmail account, do a reboot cold and then try setting up the account to new as well as doing a reset complete, I could start over again. All to nothing does not. Only if the WiFi is on what can I cannect to Gmail and that doesn't help me if I don't have a Wi - Fi service.

    Does anyone have any suggestions as to what I might try?

    BasinGroup wrote:
    Two problems with your comment about BB10 supporting not BIS: 1), a BB subscription service would be nuts not to provide support and 2) my 2 other E-mail accounts work fine with BIS.

    You may be right about Gmail not supporting ActiveSync, but on the device the Z10 was supposed to replace (Torch 9860 running os 7.1.0) no problem with Gmail and BIS, so there must be something unique about BB10 on the Z10.

    BIS is not used on BB10. BB10 access directly servers of e-mail now.

    Have you tried to configure gmail so that the signal from the carrier and not on wifi?

    In Gmail, you enable IMAP access and not use two-factor auth

  • Problem with shorts and arithmetic byte.

    I'm doing some tests involving long, int, short, and byte.

    lT, lS are long

    He, here is are of type int.

    sT, sA, sS are short

    bT, bA, bS are bytes

    Now I have some expressions of the form: xT = xT + xA

    This compiles for long and int, but for the short and byte, I get an error of precision.

    The problem is that arithmetic more small that int is made to int and then converted in byte or short as appropriate.

    int convert to int.

    int converts long and long long turns.

    Thus, there is no problem with int and long.

    However sT = sT + his causes a compilation related to the precision error.

    This seems like a bug to me, because you might same conditions of overflow with long and whole (ints).

    Is this a bug with our J2ME app or a "characteristic". If it's a feature, can someone point me to a link on the web where it says this...?

    Thank you

    -Donald

    The + operator return type is int, unless one of the operands is long, in which case the return type is long. It's like that with JAVA in general, not just the bb or the micro-publishing.

    byte b1 = 1, b2 = 2;
    B1 = (byte) (b1 + b2); needs expressed
    B1 = b2; didn't need casting

    Yes, it's a bit silly. You get used to it after awhile.

    Cheers, Barak.

  • I have a problem with scrolling and typing on the computer.

    Original title: I have problems with scrolling and typinging after a minute or so without the computer trying to go in the background, any help would be great because I will to throw the mouse across the screen very soon

    as noted above, totally tired, I must right click of mouse to wake up on this page, I did it while typing grrrr big time. Help pleeeease

    Hello

    Thanks for posting your question in the Microsoft community.

    I see that you have a hard time to work with the mouse.

    1. What is the brand and model of the mouse?
    2. The problem occurs on any program or when you perform a task in a particular program?

    Try these steps and see if that solves the problem of performance of your mouse.

    Method 1:

    You can check that the mouse buttons are set correct.

    Refer to the section "Change how the mouse buttons works", from following link to learn more about the same:

    Change the settings of the mouse

    http://Windows.Microsoft.com/en-us/Windows7/change-mouse-settings

    Method 2:

    You can uninstall and reinstall the drivers for the mouse on your computer, to do so follow the steps mentioned below.

    a. click Start, click Control Panel , and then click Device Manager. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.
    b. in the Device Manager, look for the device under the mouse and other pointing devicesand then double-click the device name.
    c. click on the Driver tab, and then click uninstall the driver.

    d. restart the computer and it will automatically re - install the drivers of.

    Note:

    You can also update mouse drivers by visiting the manufacturer's Web site.

    See this link for more information:

    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

    Let us know if you need help on this question or any question about Windows.

  • Problem with Skype and Windows 8

    Received a new computer with Windows 8.  Skype came on the computer and worked great for a day.  Now it shows people I'm "unavailable" even if I'm registered.  When I make a call, it sounds just and rings and the person I call does not get notification.  Should I uninstall the Skype that came on the computer and download another version?  Any suggestions?  Please make simple answer - I'm NOT techie and I need Skype to work for my company!

    You use the Skype app?  If so try to install Skype to office and use it from the desktop.  The apps are a little more prone to disorder compared to the fuller program.

    How the desktop version of Skype on Windows 8?

    https://support.Skype.com/en/FAQ/FA12162/how-do-i-get-the-desktop-version-of-Skype-on-Windows-8

    You can also restore the system to use to return to happier times.

    How to repair the operating system and how to restore the configuration of the operating system to an earlier point in time in Windows Vista (7 or 8).
    http://support.Microsoft.com/kb/936212/#appliesTo

    See, control Panel\All Control Panel Items\Recovery\ Open System Restore

    See if the program can diagnose any problems with applications and correct.

    Download and run the troubleshooter modern UI App and check.
    http://download.Microsoft.com/download/F/2/4/F24D0C03-4181-4E5B-A23B-5C3A6B5974E3/apps.diagcab

    What to do if you have problems with a soft
    http://Windows.Microsoft.com/en-us/Windows-8/what-troubleshoot-problems-app

    Another third-party program may be causing a problem.

    How to perform a clean boot for a problem in Windows Vista, Windows 7 or Windows 8
    http://support.Microsoft.com/default.aspx/KB/929135

    Most of the new machines come with a recovery partition, allowing you to return your purchase, you will need to check your user guides (or the manufacturer's Web Site) for instructions.  Choose this path requires you to save all the data first.

    These options are also integrated to Windows 8.

    How to restore, refresh or reset your PC
    http://Windows.Microsoft.com/en-us/Windows-8/restore-refresh-reset-PC

  • Problem with Illustrator and InDesign

    Hello, I am facing a problem with Illustrator and Indesign, when I copy a vector object from Illustrator into Indesign, I get the error: "import EPS file: InvalidFileAccess.»

    The file is saved on the pc, but I encounter this situation also files stored on the NAS.

    Any suggestions?

    Thank you to everyone

    InDesign has a preference of Clipboard, have you tried him affecting prefer PDF when pasting?

  • Is there a problem with ValueChangeListener and af: table?

    Hello...

    I use JDeveloper 11.1.2.0.0

    Is there a problem with ValueChangeListener and af: table.

    Here my problem...

    I have two inputtext in af:table and I want to change the value of inputtext2 when I change the value of inputtext1
    so I put the autosubmit = "true" to inputtext1 and set the valuechangelistener method that is in the page bean
    and I put the partial inputtext2 trigger = "inputtext1 id".

    but when I run the page and change the value of inputtext1 that nothing happens.

    But if I have the previous scenario in af:panelFormLayout instead of af: table its work and the value of inputtext2 is changed to the user.

    any ideas...

    Thans.

    Sorry for the delay... :(

    And why if I use page JSF is the binding property disappears
    in the tab advanced in the property inspector.

    If you cannot power discovered the binding property in the palette of the means, your jsff page is automatically linked.
    If only the problem.

    try to create the new page jsff, while creating jsff, finally there is radio box something like
    do not expose the UI components automatically. check and create.

    and create a java file. Then you can bind components with the java file as you wish.

    to check your jsff page is autobinded are no means?
    Open your jsff page.

    Menu's that are on it - in this section. You can see the design menu that struck. If you hit it means you see Wizard property page go to the tab component binding
    There is a check box available

    If the box is ticked means that you page are automatically linked. If this isn't the case, you must link.

    -edited lately.

  • curious problem with extrusion and rotation

    I found a curious problem with extrusion and turn into the CS6. It's not a bug, but it's a behavior that is less intuitive who is confused and sometimes painful. I think it is something that should go on the list of tasks for the devs. Someone else, right? Don't agree?

    Example:

    Rotate_issue.jpg

    I started with a path arrow, to which I applied the effect "extrude". I then put an icon on top of the arrow and grouped in the icon and the arrow. Now, I use this icon arrow in several different parts of my design, in different orientations. I flip the arrow, the relative position of the icon and the arrow seems to pass. I believe that this is happening because when you rotate the arrow icon, Illustrator rotates both the icon and the arrow on the center of the underside of the arrow. This is because the upper side of the arrow is essentially fictitious, just an artifact of the effect of extrusion. So, even if the icon appears as if it is drawn on the upper side of the arrow, it behaves as if it is attached to the underside of the arrow. When you apply a transformation, this transformation impacts on the underside of the arrow, causing the top of offset from the icon.

    The solution would be to add an extra box to the effect of extrusion, asking if you wanted to extrusion (the way things are currently done) upwards or downwards. If you can extrude downwards, then the upper side of the arrow would be the 'real' face, those affected by the changes. You can then put a picture on the top, the arrow and the image of the group, and when you apply a transformation, the icon would remain fixed relative to the top, which would be consistent with your intuitive expectations.

    If anyone is curious to experiment with this particular example, I posted this file in Google Docs here:

    https://docs.Google.com/file/d/0B0Hoxcl5zTEtTXo5QnNsMGwwOGc/edit?USP=sharing

    It's about what you just mount the image with a transformative effect to match the extrusion.

    So basically, you apply a 3-d rotation effect to your image to match the rotation of your arrow, then you apply a transformation movement in the vertical axis to match the height of your extrusion.

    hope this helps

    https://docs.Google.com/file/d/0B4ilRoSBagc3d2w2Ylc2cWxFVjA/edit

    If you want to get real on this issue retro we only corresponding to the rotation of the arrow in the center of the extrusion, if we wanted to distort the image perfectly, the rotation should be slightly higher, but anyway, it is hardly noticeable.

  • Problems with export and import

    I have a problem with export and import

    Here's what I did...
    exp "'/ as sysdba'" PARFILE=parfile.txt
    
    PAFILE
    
    TABLES=user1.Table1
    file=Table1_1006.dmp
    LOG=Table1_1006.log
    query="where to_char(processeddate,'YYYYMMDDHHMISS') between to_char(to_timestamp('1911-01-01 00:00:00','YYYY-MM-DD HH24:MI:SS'),'YYYYMMDDHHMISS') and to_char(to_timestamp('2011-10-06 16:46:26','YYYY-MM-DD HH24:MI:SS'),'YYYYMMDDHHMISS')"
    Here is my log export
     set and AL16UTF16 NCHAR character set
    
    About to export specified tables via Conventional Path ...
    Current user changed to user1
    . . exporting table               Table1   16019049 rows exported
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    Export terminated successfully with warnings.
    Then I started to import
    /database2/rdbm15> imp "'/ as sysdba'" file=Table1_1006.dmp fromuser=user1 touser=user1 tables=Table1 log=imp_Table1_1006.log
    
    Import: Release 10.2.0.5.0 - Production on Thu Oct 6 19:57:01 2011
    
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    
    
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    Export file created by EXPORT:V10.02.01 via conventional path
    import done in US7ASCII character set and AL16UTF16 NCHAR character set
    . importing user1's objects into user1
    IMP-00015: following statement failed because the object already exists:
     "CREATE TABLE "Table1" ("APPROVALTRACEID" VARCHAR2(64), "REQUESTOR"
     "EID" VARCHAR2(9), "EID" VARCHAR2(9), "FIRSTNAME" VARCHAR2(32), "LASTNAME" V"
     "ARCHAR2(32), "MIDDLEINITIAL" VARCHAR2(8), "TIER" VARCHAR2(3), "JOBTITLE" VA"
     "RCHAR2(64), "JOBCODE" VARCHAR2(10), "EMPLOYEETYPE" VARCHAR2(2), "CONTRACTOR"
     "TYPE" VARCHAR2(2), "EMPLOYEESTATUS" VARCHAR2(2), "COSTCENTER" VARCHAR2(10),"
     " "COSTCENTERDESCRIPTION" VARCHAR2(50), "CONTRACTENDINGDATE" VARCHAR2(8), "A"
     "CCOUNTSTATUS" VARCHAR2(2), "LOGINID" VARCHAR2(70), "APPLICATIONGROUP" VARCH"
     "AR2(50), "APPLICATIONNAME" VARCHAR2(50), "APPLICATIONID" VARCHAR2(12), "LEV"
     "EL1" VARCHAR2(512), "LEVEL2" VARCHAR2(512), "LEVEL3" VARCHAR2(512), "LEVEL4"
     "" VARCHAR2(512), "LEVEL5" VARCHAR2(512), "PROFILECODE" VARCHAR2(50), "PROCE"
     "SSEDDATE" DATE, "APPROVERMANAGEREID" VARCHAR2(9), "APPROVERMANAGERDELEGATEE"
     "ID" VARCHAR2(9), "APPROVERT4MANAGEREEID" VARCHAR2(9), "APPROVERT4MANAGERDEL"
     "EGATEEID" VARCHAR2(9), "APPROVERAPPOWNEREID" VARCHAR2(9), "APPROVERAPPOWNER"
     "DELEGATEEID" VARCHAR2(9), "PERFORMEREID" VARCHAR2(9), "NATIONALID" VARCHAR2"
     "(30), "COUNTRYCODE" VARCHAR2(9), "PASSPORTID" VARCHAR2(20), "DATEOFBIRTH" V"
     "ARCHAR2(15), "CITYOFBIRTH" VARCHAR2(15), "VENDORNAME" VARCHAR2(50), "VENDOR"
     "MANAGERNAME" VARCHAR2(50), "VENDORMANAGERID" VARCHAR2(9), "VENDORADDRESS1" "
     "VARCHAR2(100), "VENDORADDRESS2" VARCHAR2(100), "VENDORSTATEPROVINCE" VARCHA"
     "R2(15), "VENDORCOUNTRYCODE" VARCHAR2(9), "VENDORZIPPOSTALCODE" VARCHAR2(9))"
     "  PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 4076863488 "
     "NEXT 1048576 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)            "
     "                   LOGGING NOCOMPRESS"
    Import terminated successfully with warnings.
    but I have no lines of base2
    [server1]database2
    /database2/rdbm15> sqlplus / as sysdba
    
    SQL*Plus: Release 10.2.0.5.0 - Production on Thu Oct 6 19:59:17 2011
    
    Copyright (c) 1982, 2010, Oracle.  All Rights Reserved.
    
    
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    SQL> select count(*) from user1.Table1;
    
      COUNT(*)
    ----------
             0
    
    SQL> exit
    SQL> select * from v$version;
    
    BANNER
    ----------------------------------------------------------------
    Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
    PL/SQL Release 10.2.0.5.0 - Production
    CORE    10.2.0.5.0      Production
    TNS for HPUX: Version 10.2.0.5.0 - Production
    NLSRTL Version 10.2.0.5.0 - Production
    Published by: user3636719 on October 6, 2011 17:23

    could ignore = y, and then try again. It should work

    Concerning
    Julien

Maybe you are looking for