What event fires when user "leaves" TextInput?

I need to perform some calculations on data that the user is inputting into several text inputs.  I want to perform the calculations whenever the user leaves any of the TextInputs.  The user could leaves the TextInput by tabbing out of the box or clicking out of the box.  What event fires whenthe users leaves the TextInput boxes?
Thanks!

focusOut
Dispatched after a display object loses focus. This happens when a user highlights a different object with a pointing device or keyboard navigation.

Similar Messages

  • What event fires when a captivate ends?

    Hello,
    I'm a web app developer and I'm working with Captivate. I'm not a captivate designer myself, just a programmer, so I don't know the first thing about Captivate (though I'm working with someone who does). I'm wonder if there's an event that fires when the captivate is done--that is, when the user clicks on the "submit" button on the last slide after which there is nothing more for the captivate to do.
    My friend the Captivate designer says the submit button is wired up to an event handler in the CPM.js file. The script is named "assessment_Pass" and we've located the event handler in CPM.js. However, I can't work with this. I can't manually manipulate minimized javascript that Captivate generates, especially when we've got hundreds of captivate files and keep getting updated. I need to work in the javascript in my Visual Studios project. If I could know what event fires (if an event fires) when the captivate is done, I can then wire it up to a javascript event handler in my development environment.
    I found this list of Captivate events (they're actually for the Captivate API Interface, which I'd prefer to work with, but any event will do), but none of the one's I tried seem to fire.
    Any help is much appreciated.

    [quote="elearning_dude"]Events are exposed only for interactive objects (buttons, button smartshapes, etc.) and ON_SLIDE_ENTER and ON_SLIDE_EXIT (the latter of which actually fires on the first frame of the *following* slide, unless it's been fixed in Cp8). [/quote]
    Well, it's a submit button on the captivate that's supposed to fire the event. Is that an interactive object?
    [quote="TLCMediaDesign"]Maybe if you explained what you are trying to accomplish I could point you in the right direction. Maybe you could use the CPAPI_MOVIESTOP or CPAPI_VARIABLEVALUECHANGED events and check if on the last slide.[/quote]
    I would like to know when the captivate ends (i.e. when the user has gone through all the slides and has clicked the submit button) and to do some processing in javascript afterwards (essentially, calculate the user's score and figure out whether they passed or failed).
    I'm trying the CPAPI_VARIABLEVALUECHANGED event on a captivate variable called "result". My friend the Captivate designer says that when the user clicks the last submit button, a script is run to change the value of this variable. When it changes, this event should be fired and I should be able to catch it, no?
    I'm doing it like this:
    _captivateWindow.cpAPIEventEmitter.addEventListener("CPAPI_VARIABLEVALUECHANGED", "result", ResultChanged);
    var ResultChanged = function()
    alert("hello");
    but I'm not getting my hello message.
    I will try the timer idea that andreleal suggested and get back to you.

  • What event fires when form focus comes back to calling form

    Hi,
    I need to capture the event when form focus comes back to calling form.
    I am using KFF in my custom form and want to perform a set activities when users presses "Cancel" button of KFF instead of "OK" button.
    I guess KFF screen is an another form which is being called from my custom form.
    Regards,
    Kuldeep

    I posted my question here and got answer
    Re: Event to capture when form focus comes back to calling form
    Edited by: rawat75 on Feb 6, 2013 12:54 AM

  • Error on load: System.IO.IOException: The process cannot access the file : error in event viewer when users want to view documents from this third party deployed scan solution

    Error on load: System.IO.IOException: The process cannot access the file
    '\\server1\SCANSHARED\.pdf' because it is being used by another process.
       at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
       at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
       at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
       at System.IO.File.WriteAllBytes(String path, Byte[] bytes)
       at abc.Scan.Layouts.ICC.Scan.View.Page_Load(Object sender, EventArgs e)
    I faced this  error in event viewer  when users want to view documents from this third party deployed scan solution
    here I have two WFS servers  and they configured with load balancing in F5 .
    when I enable both servers in F5 I receive this error messages in 2nd server,
    when users want to view documents
    adil

    Do you have antiVirus installed on the sharepoint servers?
    These folders may have to be excluded from antivirus scanning when you use file-level antivirus software in SharePoint. If these folders are not excluded, you may see unexpected behavior. For example, you may receive "access denied" error messages when files
    are uploaded.
    Please follow this KB and exclude the folders from Scanning.
    http://support.microsoft.com/kb/952167
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Reputation Score Changes when users leaves a community

    A strange behavior when user leaves a community in sharepoint 2013
    For eg : Suppose the reputation score of user is 20 before he is leaving a community.Once he leaves the community his score becomes -21.Ok minus is fine.but when a user joins back it is still 21.
    This means a user can join and leave a community any no of times and increase his reputation score. I think this is a bug
    harsh damania

    I agree it seems to be a BUG

  • Which Business Event fires when candidate applies for a vacancy?

    Can somebody please confirm the workflow business event which fires when a candidate applies for a vacancy?
    Is there an easy way of finding this out or some doco which mentioned what events are called when?
    Thanks.

    Hi Shruti,
    Theoretically speaking you can edit the workflow process and achieve your objective (Using Workflow Builder) by designing what triggers to be fired once the AutoCreate Configuration Item completes.
    See if the following docs give you any hints:
    Oracle Order Management Using Oracle Workflow in Oracle Order Management
    AutoCreating Configuration Items and Final Assembly Orders (Oracle Bills of Material Help)
    AutoCreate Configuration Items (Oracle Bills of Material Help)
    Thanks &
    Best Regards,

  • Will "Value change" events fire when changed via ActiveX?

    I have a VI with an Event Structure defining several Value Changed events. These events are associated with various buttons on the control panel. When I work through the panel and press the buttons, the events fire correctly. However, if I connect via the COM/ActiveX control and change the control values, the button indicator light changes, but the Value Change event does not fire. Can we trigger value changed events remotely or must they be triggered via a mouse-click on the button?

    Hi Cyle,
    Please take a look at the document below. It explains why the events are not being fired.
    Event Structure Does Not Capture the Value Changed Event for Indicator Wired to Iteration Terminal
    I hope this helps.
    Sincerely,
    Feroz
    National Instruments

  • (FP Bug?) - Mc's/Sprite's events triggered when mouse leaves SWF area

    Hi guys,
    I wonder if somebody had a similar problem and can help out. I have a button on y=0 (may be either Movieclip or Sprite) with two events: ROLL_OVER and ROLL_OUT. Now when the mouse pointer leaves the SWF area, both of these events get triggered, even if the button is not hovered at all. There is no MOUSE_LEAVE event defined nor anything like that (see the code below). I realized that changing the y position of the button helps, strangely small numbers don't - if I set y=1 the bug still occurs, but y=20 solves the problem. What the hell? This happens only in Firefox on Mac, Safari seems to work alright. (FF 5.0.1 and 6 tested, on OSX 10.6.8 and 10.7)
    I uploaded a video to youtube in case somebody would be interested of seeing this from Windows (where I assume this doesn't happen, but cannot test at the moment - please leave feedback if you could - http://www.youtube.com/watch?v=YKWl50v_MIo - first 10 seconds are kinda crappy, sorry)
    Is this a Flash Player bug or am I missing something really badly here? Thanks!
    package {
        import flash.display.Sprite;
        import flash.display.Stage;
        import flash.display.StageAlign;
        import flash.display.StageScaleMode;
        import flash.events.Event;
        import flash.events.MouseEvent;
        import flash.display.MovieClip;
        import flash.text.TextField;
        public class Main extends Sprite {
            private var field:TextField;
            public function Main() {
                stage.align = StageAlign.TOP_LEFT;
                stage.scaleMode = StageScaleMode.NO_SCALE;
                //Set up the textfield
                field = new TextField();
                field.x = 200;
                field.y = 200;
                field.border = true;
                field.width = 200;
                field.height = 100;
                field.wordWrap = true;
                addChild(field);
                //Create and set up the MovieClip or Sprite - the MovieClip/Sprite must have content,
                //cannot be empty, otherwise the bug doesn't appear!
                var b:MovieClip = new MovieClip();
                b.graphics.beginFill(0xCCCCCC);
                b.graphics.drawRect(0, 0, 50, 50);
                b.graphics.endFill();
                addChild(b);
                b.y = 0;
                b.addEventListener(MouseEvent.ROLL_OVER, rollOverHandler);
                b.addEventListener(MouseEvent.ROLL_OUT, rollOutHandler);
            private function rollOverHandler(e:MouseEvent):void {
                field.appendText("Over"+new Date().getTime()+"\n");
                field.scrollV = field.maxScrollV;
            private function rollOutHandler(e:MouseEvent):void {
                field.appendText("Out"+new Date().getTime()+"\n");
                field.scrollV = field.maxScrollV;

    Yep, strange thing. I filed a report so feel free to vote. https://bugbase.adobe.com/index.cfm?event=bug&id=2944625

  • Do any events fire when the Flash Player exits?

    Hey all.
    I use a LocalConnection object to prevent being able to run our SWF multiple times on the same computer.
    The problem is that this connection can remain in place even when the SWF which called it closes. 
    I have:
    1) An External Interface call to dispose() all HTML pages call dispose() on pageunload which closes the connection.... But this is unreliable because if the browser crashes, you are locked out of the SWF
    2) I tried some crazy try/catch.  If SWF A exists and SWF B tries to be initialised.... SWFB cannot connect so it sends a function to SWFA to dispose(). This should free the connection for SWFB to connect to?  But this does not work well either because sometimes a localconnection can be in use but calling "dipose()" throws an error, often because the LocalConnection swf which should be available is already gone.
    What this all comes down to, is that I need a way to detect when the player closes, so i can close the localconnection.
    stage.addEventListener(Event.EXIT, onExit);
    function onExit(e:Event): void
             if (localconnection)
                    localconnection.close();
    Does anything like this exist?
    Thanks,

    Thanks for taking the time to answer kglad!
    I should have been clearer it is a Web App, so your answer remains valid.
    I have not completely followed you on your advice.. When you say "So it only prevents another swf from running if something is returned from a currently running swf".
    Could you expand on that? I am desperate to fix the issue, but it just seems localconnection is not the best method for "single swf execution". I just have not found any other methods.
    Thanks.

  • What trigger fires when a new record is requested?

    I'm trying to clear out a detail block when the user hits the button to enter a new record and cannot figure out what trigger to use or how to clear this block.
    This is a very old application and I don't even know what forms version it is in...
    Thanks, Scott

    If you don't even know the version, how can you modify the form at all?
    Check the code in the on-clear-details trigger if the form is a normal master-detail form. Clearing the detail block should be done automatically. From the manual:
    "Form Builder creates the On-Clear-Details trigger automatically when a Master/Detail block relation is defined. "
    If the form was created with its own logic to synchronize master and detail, you first have to figure out how that was done. Look for key-down, key-up, key-nxtrec etc.

  • Exception write to event log when user not found in active directory

    I'm trying to use a exception to write to a event log to show which user did not get imported from my csv file. Any help to write this exception is appreciated. Thanks
    Import-CSV $importfile | ForEach-Object{
    $samaccountname = $_.sAMAccountName.ToLower() #samaccountname on csv file
    Try {
    $exists = Get-ADUser -LDAPFilter "(sAMAccountName=$samaccountname)" #Filter user by samaccountname
    Catch
    write-host "Users did not exist." #user does not exisit

    To your question:
    "How can I create a new event log every time without saving to the original event log textfile?"
    The answer provided by Mike Laughlin doesn't require you save anything to a text file - so either I'm misunderstanding this follow-up, or you are misunderstanding Mike's post. :)
    To answer your other follow up... try:
    $goodCount = 0
    $badCount = 0
    Import-Csv $importFile | ForEach {
    $SamAccountName = $_.SamAccountName
    try {
    $user = Get-ADUser -Identity $SamAccountName -ErrorAction Stop
    $goodCount++
    } catch {
    Write-EventLog # <-finish this command however you want
    $badCount++
    write-host "Users imported: $goodCount"
    write-host "Users not imported: $badCount"
    G. Samuel Hays, MCT, MCSE 2012, MCITP: Enterprise Admin
    Blog:gsamuelhays.blogspot.com
    twitter:twitter.com/gsamuelhays

  • Struts/UIX: Initiate lovValidate when user leaves lovInput field?

    So, I pretty much came to grips regarding the LOV and how to validate the input. When I am finished, I am going to post my sorry findings.
    The problem is: The user has to press the LOV button to initiate the validation.
    I also want this to happen when he/she tabs out of the field.
    So how can I trigger an LOV validation just like it happens when the user presses the LOV button?
    I tried to call the Javascript function _LovInputVTF from onBlur but the timing isn't right. When my validation el is called (from lovValidate) the LOV window is already opening. It seems that the mechanism is not waiting for lovValidate to finish. So when lovValidate finishes and showWindow is set to false, the wLOV window is already up.
    When I omit the onBlur and press the LOV button, then my validation works just fine.
    Sascha

    The problem is I cannot get out of it. The LOV opens, the LOV opens, the LOV opens .... .
    I have to kill the browser to stop this.
    And on second thought ... I used the same Javascript call the LOV button calls. And, if no data was changed and the LOV button is pressed, the LOV is opened always.
    So probably the LOV opens, the user selects, the focus goes back to the LOV field, the tab is executed, the LOV opens, the user quits, the focus is set to the field, .... .
    Not sure yet. Maybe I need to work on this some more. Maybe I could do a comparison somehow in Javascript in onLovValidate between the last validated value and the contents of the lovInput.
    It would help if there was some documentation on how to trigger a partial submit/refresh from Javascript.
    Sascha

  • Wiping off session information of role when user goes to other role

    Hi All,
    This is very critical for us to know WHETHER FOLLOWING REQUIREMENT IS ACHIEVABLE BY CONFIGURATION OR BY CUSTOM DEVELOPMENT.
    Let us say there are 2 roles: Role A and Role B. We have application X as part of role A and application Y as part of role B.
    Since complete usage of applications: X and Y takes 10 minutes, we have set the application timeout to 10 minutes.
    Now let us say, when user goes to A and access application X, leaves the role and goes to B and accesses B and comes back to application X.
    X is reatining its session data yet, which we do not want.
    Is there any way we can delete\wipe off the session of applications related to role when user leaves that role and goes to another role.
    Thanks in advance,
    Regards,
    Ganga

    Michael,
    Thanks a lot for the reply.
    In the case you have mentioned, how does application has to know the user is 'moving away'[clicking on other role] from the application.
    Thanks in advance,
    Regards,
    Ganga

  • What event does FMS server fire when a clients starts/stops streaming

    I want to log activities on my stream (both live and recorded) using a web service I've made. In the FMS server side AS3 documentation I can find events for onconnect/ondisconnect, but that is not quite what I want. What I want is and event that fires when a user start viewing a stream, or stops viewing.  Today I'm using the following code:
    application.onConnect = function(client)
              client.getStreamLength = function( streamName ) {
                        LogStart('', this.id, this.ip, streamName);
                        return Stream.length( streamName );
       this.acceptConnection(client);
    However not all clients uses the getStreamLength, so this does not realy work. The problem is that in the "onConnect" even I do not have access to the streamname, else I think I could have used this event.
    Thanks in advance

    Hi Wujemurray,
    If you'd be so kind as to email me offlist we'll get a support incident opened for this and can get to the bottom of the issue you're facing.
    Asa
    [email protected]

  • What is the event to handle before leaving the page?

    Hello All,
    I am using splitApp. I have a scenario where user can edit few fields in one of the "Detail" page. When user clicks some item in master page, before changing the detail page I want to show a popup to user if changes should be saved.
    Is there an event where I get to know any detail page navigation? or some event to handle before leaving the page.
    Thanks,
    Rashmi

    Hi Rashmi,
    It depends on which element you are using.
    Suppose you are using sap.ui.commons.TextField where you are editing your data(In Detail View) then change event is triggered whenever the text in the field has changed AND the focus leaves the TextField or the Enter key is pressed and you can use this event in your code according to your need.
    Here you may set some global variable and check that value if it is set or not.
    Best Regards
    Dhananjay

Maybe you are looking for