Triggers (When-mouse-leave; When-Validate-item; When-mouse-move)

Hi everyone,
I would like to validate some fields in my form before pressing the Save buttom.
I have several numeric fields where I would like to check if their values equal ''0'', If yes I replace the 0 by an other value, else I do nothing.
I used the W-M-L, it works sometimes but not all the time. I would like to use the right trigger that will fire everytime.
Suggestion?
Charly

I 'm using this version version of form.
Forms [32 bits] Version 10.1.2.0.2 (Production)
Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.4.0 - Production
Oracle Toolkit Version 10.1.2.0.2 (Production)
here is the code bihind my Save buttom
if (button = 'SAVE') then
do_key('COMMIT_FORM');
Charly

Similar Messages

  • Why does my iphone loss WIFI connection when I leave the room? When other mobile devices stay connected?

    Why does my IPhone loss WIFI connection when I leave the room? When other mobile devices stay connected?
    I can not send text messages to other IPhones if I do not have wifi or 3G on, the texts are sent as emails.

    Hey Linders1987,
    Welcome to the Apple Support Communities! I understand that you are experiencing issues with Wi-Fi on your iPhone 5. The following resource may provide a solution:
    iOS: Troubleshooting Wi-Fi networks and connections - Apple Support
    http://support.apple.com/en-us/TS1398
    Wi-Fi disconnects or signal strength is less than expected
    Move closer to the Wi-Fi router (access point).
    Check for sources of potential interference.
    Remove any case, stand, or other accessories from your iOS device and see if signal strength improves.
    Reset network settings by tapping Settings > General > Reset > Reset Network Settings.
    Note: This will reset all network settings including
    - previously connected Wi-Fi networks and passwords
    - recently used Bluetooth accessories
    - VPN and APN settings
    Thanks,
    Matt M.

  • Mouse Leave animation being played when going down past 50% of object

    I'm new to Adobe Edge and I'm not really familiar with either CSS or javascript but I'm getting better. I've been trying to work on the navigational menu for my website for two weeks and the progress is very slow. I finally got the dropdown menu to happen correctly, except one thing. When I scroll down on the "AccomButton" and move the mouse past the 50% point of the object, the animation for the "up" occurs. I have it set to do this on "mouseleave". This seems to be the only instance in which the "up" animation is occuring wrongly. If I hover on any of the top 50% of the "AccomButton", it stays in the down or "stop" position.
    Your help will be very much appreciated as my head hurts from banging it on the table the past two days!
    Sorry, I forgot to add the code:
    (function($, Edge, compId){
    var Composition = Edge.Composition, Symbol = Edge.Symbol; // aliases for commonly used Edge classes
       //Edge symbol: 'stage'
       (function(symbolName) {
          Symbol.bindElementAction(compId, symbolName, "${_Accommodations}", "mouseover", function(sym, e) {
             // insert code to be run when the mouse hovers over the object
             // play the timeline from the given position (ms or label)
             sym.play("drop");
          //Edge binding end
          Symbol.bindElementAction(compId, symbolName, "${_Accommodations}", "mouseleave", function(sym, e) {
             // insert code to be run when the mouse leaves an element
             // stop the timeline at the given position (ms or label)
             sym.stop("stop");
          //Edge binding end
          Symbol.bindElementAction(compId, symbolName, "${_HolstonButton}", "click", function(sym, e) {
             // insert code for mouse click here
             // Navigate to a new URL in the current window
             // (replace "_self" with appropriate target attribute for a new window)
             window.open("www.theriveroverlook.com/TheHolstonRoom", "_self");
          //Edge binding end
          Symbol.bindElementAction(compId, symbolName, "${_TennesseeButton3}", "click", function(sym, e) {
             // Navigate to a new URL in the current window
             // (replace "_self" with appropriate target attribute for a new window)
             window.open("www.theriveroverlook.com/TheTennesseeRoom", "_self");
             // insert code for mouse click here
          //Edge binding end
          Symbol.bindElementAction(compId, symbolName, "${_AccomDrop}", "mouseleave", function(sym, e) {
             // insert code to be run when the mouse leaves an element
             // play the timeline from the given position (ms or label)
             sym.play("up");
          //Edge binding end
          Symbol.bindElementAction(compId, symbolName, "${_AccomDrop}", "mouseenter", function(sym, e) {
             // stop the timeline at the given position (ms or label)
             sym.stop("stop");
             // insert code to be run when the mouse enters an element
          //Edge binding end
       })("stage");
       //Edge symbol end:'stage'
    })(jQuery, AdobeEdge, "EDGE-379000071");

    I'm new to Adobe Edge and I'm not really familiar with either CSS or javascript but I'm getting better. I've been trying to work on the navigational menu for my website for two weeks and the progress is very slow. I finally got the dropdown menu to happen correctly, except one thing. When I scroll down on the "AccomButton" and move the mouse past the 50% point of the object, the animation for the "up" occurs. I have it set to do this on "mouseleave". This seems to be the only instance in which the "up" animation is occuring wrongly. If I hover on any of the top 50% of the "AccomButton", it stays in the down or "stop" position.
    Your help will be very much appreciated as my head hurts from banging it on the table the past two days!
    Sorry, I forgot to add the code:
    (function($, Edge, compId){
    var Composition = Edge.Composition, Symbol = Edge.Symbol; // aliases for commonly used Edge classes
       //Edge symbol: 'stage'
       (function(symbolName) {
          Symbol.bindElementAction(compId, symbolName, "${_Accommodations}", "mouseover", function(sym, e) {
             // insert code to be run when the mouse hovers over the object
             // play the timeline from the given position (ms or label)
             sym.play("drop");
          //Edge binding end
          Symbol.bindElementAction(compId, symbolName, "${_Accommodations}", "mouseleave", function(sym, e) {
             // insert code to be run when the mouse leaves an element
             // stop the timeline at the given position (ms or label)
             sym.stop("stop");
          //Edge binding end
          Symbol.bindElementAction(compId, symbolName, "${_HolstonButton}", "click", function(sym, e) {
             // insert code for mouse click here
             // Navigate to a new URL in the current window
             // (replace "_self" with appropriate target attribute for a new window)
             window.open("www.theriveroverlook.com/TheHolstonRoom", "_self");
          //Edge binding end
          Symbol.bindElementAction(compId, symbolName, "${_TennesseeButton3}", "click", function(sym, e) {
             // Navigate to a new URL in the current window
             // (replace "_self" with appropriate target attribute for a new window)
             window.open("www.theriveroverlook.com/TheTennesseeRoom", "_self");
             // insert code for mouse click here
          //Edge binding end
          Symbol.bindElementAction(compId, symbolName, "${_AccomDrop}", "mouseleave", function(sym, e) {
             // insert code to be run when the mouse leaves an element
             // play the timeline from the given position (ms or label)
             sym.play("up");
          //Edge binding end
          Symbol.bindElementAction(compId, symbolName, "${_AccomDrop}", "mouseenter", function(sym, e) {
             // stop the timeline at the given position (ms or label)
             sym.stop("stop");
             // insert code to be run when the mouse enters an element
          //Edge binding end
       })("stage");
       //Edge symbol end:'stage'
    })(jQuery, AdobeEdge, "EDGE-379000071");

  • Skype bugs out when someone leaves the call in gro...

    Hi all,
    Lately everybody in our groupchat has been having issues when someone leaves the call.
    When they leave, it looks like the whole call has been disbanded, but the people that didn't leave can't see the call. 
    Which concludes to: Nobody can leave the call, we have to exit skype completely and relog.
    Does anyone else have this issue and does someone know how to fix this?
    Thanks
    - Marvin
    EDIT: When this happends, we can go into another call while being in the groupschat call.

    It is a bug and there is no fix as of yet, other than loading another OS (downgrading.)
    1. Please thank those who help you by clicking the "Like" button at the bottom of the post that helped you.
    2. If your issue has been solved, please resolve it by marking the post "Solution?" which solved it for you!

  • When I leave my computer on while I'm away...

    When I leave my mac on when I go somewhere and I come back and open iPhoto and iTunes, sometimes my music and pictures are gone. I have to go into finder, move them to the desktop and re-import them back into their programs. If I don't move them to the desktop and try to import them from finder then it say that they are already there, or that they are unreadable. I have no clue why it is doing this, but its getting old. The same thing happened to some of my documents in Word for Mac, I can't open files because it says that they are also unreadable. Does anyone know why? Sorry I know thats an awful lot to ask in one question.

    Welcome to the discussions, graggsr.
    There are various discussion forums for iTunes and iPhoto but as your problem looks more general it might be better to try the Using Tiger forum. Anyway, it doesn't seem to be iCal related.
    AK

  • When validate item not firing when exit with mouse

    Hi
    I have a when validate item tirgger on an item.
    it fires fine when I use tab from keyboard after validating
    but when i navigate to another field with the mouse, the trigger does not fire.
    it only fires when i try to close the window..
    how can i overcome this?
    thanks

    Normally, a WVI trigger ALWAYS runs when you leave a field no matter how you leave it (after you have entered something, of course). If it is not running, then you should check whether you have messed around with Set_Form_Property and Validation_Unit.
    Or maybe you have some code in your key-next-item trigger that runs that makes you think it is the when-validate-item trigger.

  • How to suppress messages in when-validate-item triggers

    Hi,
    I'm trying to handle the duplicate records in when-validate-item trigger in block level by using Kevin D Clarke's logic
    Form program unit:
    function COMPARISON (in1 number, in2 number) is
    if in1 = in2 then
    return(1);
    else
    return(0);
    end if;
    end;
    3 new hidden fields:
    CONTROL.PK_COPY
    DATABLOCK.MATCH_FOUND
    calculation mode: formula
    formula: COMPARISON(:control.PK_COPY, :datablock.PK)
    CONTROL.NUMBER_OF_MATCHES
    calculation_mode: summary
    summary_function: Sum
    summarised_block: DATABLOCK
    summarised_item: MATCH_FOUND
    WHEN_VALIDATE_ITEM on DATABLOCK.PK
    :control.pk_copy := :datablock.pk;
    if :control.number_of_matches > 1 then
    message('matching key found');
    end if;
    (DATABLOCK must have query_all_records = TRUE) But its showing popup message three times , i want to show it only once.
    Can anybody suggest me how to handle this.
    Thanks,
    Ramana.

    I hope you put a Raise Form_trigger_failure following your message!
    If you have included the form_trigger_failure, then your WVI trigger may be executing multiple times due to some other process trying to navigate away from the item or record. Could that be the case?

  • Triggering rollouts when mouse leaves stage

    Ever since I can remember, I have been frustrated by the fact
    that when the users mouse leaves the stage, the flash player
    doesn't properly trigger an event. That means any buttons at the
    edge of the stage stay in a rolled over state and any custom
    cursors you've created hang around idley when the user leave the
    stage. Can we please get something to solve this problem now that
    we're on a new architecture?

    In AS3 there is a Stage Class which has a mouseLeave event.
    "Dispatched by the Stage object when the mouse pointer moves
    out of the Flash Player window area."
    Within that event you should be able to properly set the
    state of your application or any controls.
    Hope that helps,
    -Ken

  • Need code for this Small validation on when-validate-item

    Hi All,
    I have a text item(date datatype) in forms 4.5 I need to do a small validation want to write on when-validate-item. When I enter a date in that text item (Ex 10-JUN-2005) it has to check
    1) It Cannot be "blank"
    2) It cannot be "Not older than today"
    can you please put me code for this small validation. I am new to Forms.
    Thanks in Advance,
    Reddy

    I always put code in the when-validate-RECORD trigger to ensure fields are entered, rather than setting the property. That way, the user can enter other fields within the record, and then gets a message that the field is required only when leaving the record.
    ...of course, if the date item is the only field in the block, then the when-validate triggers will not run unless the user at least types a space in the date. In that case, you need to check in the key-commit trigger.

  • When-validate-item fires at the wrong time?

    Hi,
    I have a custom form that contains a header block and line block. Once I enter the header info, then I enter the first line that contains transaction num and amount fields. Then I hit down-arrow to go to enter the second line, at this point when-validate-item triggers for all the line fields fire again (these triggers already fired one at a time when i navigated through the line).
    Supposedly ONLY when-create-record, when-new-record-instance and when-new-item should fire when I just move to a new line, any ideas?
    Thanks! Mike.

    Thanks for all the inputs. The user can either use txn number or BOL number to populate the line info and I have LOV (list of values) for both numbers. The problem turned out is that each LOV updates the other value (e.g. the txn number's LOV returns the txn number AND the BOL number). This in turn changed the value of a validated item and that causes when-validate-item to fire when I just tried to leave the record.
    The solution is to set IS_ITEM_VALID property for Txn Number to TRUE after BOL number's LOV updates the Txn number's value. This tells the system there is no need to revalidate the value.

  • Diffrence between when-validate-item and post-text-item trigger

    What is the Diffrence between when-validate-item and post-text-item trigger, when they are written for the same item and the basic diffrence between when-validate-item and post-text-item trigger.

    Two big differences:
    1. post-text-item is only available to, and only triggered when leaving a text item, whereas when-validate-item is triggered by the forms validation process, and is available for any item type.
    2. p-t-i is a navigation trigger and you cannot invoke it programmatically, whereas the 'validate' built-in can be used to execute validation which fires the w-v-i trigger(s).

  • WHEN-MOUSE-LEAVE Not Working

    hi,
    I am using Oracle 9i Forms on windows 2000 Server.
    My Form [32 bit] Builder Version is : 9.0.2.7.0
    I am facing a problem using the WHEN-MOUSE-LEAVE Trigger.
    I have applied this trigger on an ITEM in a DATA BLOCK but the Trigger is not fired when i leave the item using the mouse.
    Can any one guide me, as i may be missing something important.
    Thanks.
    Samir Farooq.

    Are you running on the web ? Mouse movement triggers are disabled on web forms as they generate too much network traffic.

  • When-mouse-leave

    db and dev 10g rel2 ,
    hi all ,
    i am trying to use when-mouse-leave for the first time , and i know that it fires when the mouse cursor leaves an item , and that is the functionality i want ,
    i am trying to make an item invisible when i leave another one , so i did that ,
    - two text items (t1, t2,t3) ;
    using this trigger on a text item (t1) to make t2 invisible , when i leave t1 to go to (t3) ;
    in the code i've written :
    set_item_property('t2',visible,property_false) ;
    it did not work , without any errors or messages ?. , -- this problem also happens with when-mouse-enter trigger ?
    thanks

    Post-text-item runs when cursor (focus) leaves the field. It runs when you click into another field, or use Tab or Enter to leave the field. I believe it also runs during query processing when data in the row is being populated by the fetch process.
    When-mouse-leave in Client/Server Forms ran each time the mouse pointer rolled OUT of the field's perimeter. As you rolled the mouse pointer across the screen, LOTS of when-mouse-enter and when-mouse-leave triggers would run, if they were defined on all the fields, or at the block or form-level. We used it to pop-up a balloon-help display on items, if the user rolled the mouse into a field and waited ~half a second. When-mouse-enter / leave triggers do not run in web forms, so it will not cause excessive network traffic.
    I cannot believe Oracle is so lazy that they haven't updated the online help.

  • WHEN-VALIDATE-ITEM results at a block/form

    Hello friends at www.oracle.com ,
    as we know, WHEN-VALIDATE-ITEM is a trigger used for item validation. But if I use WHEN-VALIDATE-ITEM at a block, or even at a form (since Oracle Forms editor allows me to add a WHEN-VALIDATE-ITEM trigger at a block/form), what's the effect of it? How will WHEN-VALIDATE-ITEM behave in such situation?
    Thanks, and best regards,
    Franklin Gongalves Jr.

    From forms documentation (ever considered to read it?):
    A trigger must be attached to a specific object in the form, either an item, a block, or the form itself. The object to which a trigger is attached defines the scope of the trigger, and so helps Form Builder decide which trigger to fire when the corresponding event occurs. Not all triggers are relevant to all objects. For example a When-Button-Pressed trigger would not be attached to a display item.
    That means, a when-validate-item-trigger at block level fires for ALL items of the block,
    except those ones who have an own when-validate-item-trigger at item level that has the
    property "Execution hierarchy" set to "override".

  • In Oracle Forms, to run all the When-Validate-Item of all the items at once

    In Oracle Forms, is there any built-in / procedure / function which is used to run all the When-Validate-Item triggers of all the Items at once ?
    I will put it in detail :
    When a form is run and while entering the data..
    when we enter some data and try to move out of that item then the When-Validate-Item trigger of that item is fired and the code in that trigger is executed..
    Similarly there may be many items and many When-Validate-Item triggers correspondigly in a form..
    My requirement is to run all the When-Validate-Item triggers of a form at once when we click a button which is created for that purpose only..
    So is there any built-in / procedure / function (to run all the When-Validate-Item triggers of all the items), which can be called in the When-Button-Pressed trigger of that particular button..
    If any one having any solution/suggestion, please let me know..
    Thanks..
    Edited by: user2938447 on Nov 8, 2010 9:03 PM
    Edited by: user2938447 on Nov 8, 2010 9:12 PM
    Edited by: user2938447 on Nov 8, 2010 10:19 PM

    Hi Sandy,
    Thanks for your suggestion..
    The validations should be done at Item level (When-Validate-Item as usually) and seperately again when a button is pressed.
    So to put all the code in another block-level When-Validate-Item trigger or in any When-Button-Pressed trigger will be duplication of the code.
    Actually I have around 30 Fmbs to be modified and each Fmb is having around 20 Items and almost all Items are having When-Validate-Item trigger.
    So,I wanted to know whether there is any Built-in / Procedure in Oracle Forms which runs all the When-Validate-Item triggers once it is called.
    Thanks..

Maybe you are looking for

  • PO and SO IDoc Type

    Hi, I understand that the IDoc type ORDERS05 can be used for Sales Order as well as Purchase Order. My requirement is to receive Order IDoc and create the sales order and send the PO details to a partner. Please let me know whether I can use the IDoc

  • Page breaks with dynamic table

    Hi there! We've built a LiveCycle process in which we get data from an XML file and generate the PDF in LC Output. However, although the items are being correctly generated in the table, only the first 20 or so records are being included, generatin j

  • How to Transport Standard Tetxts?

    Hi Experts, Pls. clarify me simple doubts that, 1) How to Transport the Standard Texts, which r cretaed in SO10? 2) Wht is customising tbl? thanq.

  • File Permissions randomly changing

    We have a small network with 3 machines connecting to our mac mini (snow leopard) server to access work stored on on it. We have a problem when any one of the machines saves work to the server it rewrites the permissions to be read only and non of th

  • I cannot view my source files - all are white!!!!!

    I got Premiere Elements v 9.0 installed on Windows XP last week by IT dept. But something is wrong. I cannot view any .wmv or .mov files (havent tried any more yet). I add my clips to the project but when playing them all I get is a white screen. In