When_Validation_Item of disabled item

Aslam o Alikum (Hi)
In forms 4.5 When_Validate_Item trigger fires for disabled item.
I migrate about 300 forms from 4.5 to 9i. Now in 9i When_Validate_Item triggers are not firing for disabled item.
How can i get the 4.5 feature.
Best Regards,
Nasir Zeeshan.

The most efficient way to resolve the problem is to put the edit in the when-validate-record trigger. That is where I put all my multi-field edits. If the edit is in the when-validate-record trigger, when the user leaves the record, the WVR code runs, and you can issue the message there. The only problem is that you cannot put the cursor back into the correct field without using a timer.
Speaking of timers, it is possible using a timer and some elaborate code, to enforce the two-field-edit as soon as the user moves the cursor away from both fields. That is, if the two fields are next to each other, the pair edit only runs when the cursor leaves the second field (if you are using Tab or Enter or autoskip). But it would run immediately after entering the first field if the user moved the cursor to a third field using the mouse.

Similar Messages

  • Disable Item in tabular form in Apex

    I would like to disable items in tabular forms.
    If line status is Draft then all items of tabular form are enable other disable.
    How to write this condition and where should i write because in dynamic action tabular Item is not showing...
    Edited by: 926257 on Apr 9, 2012 12:53 AM

    hi
    926257
    you can do that using java script
    these links may helpful to you
    <a href>Tabular form: how to dynamically enable/disable columns and rows
    <a href>Tabular Form: Enable/Disable a field based on the status of a check box
    <a href>http://www.codetoad.com/javascript/enable_disable_form_element.asp</a>
    <a href>http://www.tizag.com/javascriptT/javascript-getelementbyid.php</a>
    thanks and regards
    pavan

  • How to change the font color of a disabled item

    Can I change the default color of a disabled item from gray to something else? I've tried to put style="color:darkblue" in the HTML form element attributes but it didn't worked.

    Hi,
    Code probably run, but IE do not just understand CSS what code set ?
    I did find something related
    http://www.askthecssguy.com/2007/05/shawn_asks_the_css_guy_about_s_1.html
    Regards,
    Jari
    Edited by: jarola on Oct 27, 2010 11:24 PM
    And this
    http://stackoverflow.com/questions/602070/changing-font-colour-in-textboxes-in-ie-which-are-disabled

  • Access for the disabled item

    Hi All!
    I have a disabled htmldb item, how can i read or access for this item's value? I would like to work with this value in the apex process.
    Now, if i use this disabled item (:P1_DIS_ITEM) in the process i get null value... But there is a value in...
    thx

    Hello:
    Disabled items are cleared out from session state upon Submit.
    Create a hidden item on your page and populate this hidden item just as you populated the disabled-item.
    In your page-process refer to the hidden item instead of the disabled item.
    Varad

  • Disabled item in plot legend when scrollbar is visible

    Problem is that plot legend shows only the plots being displayed correctly, while plot legend scrollbar is not being displayed, which is being controlled using LegPlotMin and LegNumRows properties. But when plot legend scrollbar is enabled (when number of plots exceed a certain number) then one disabled item (already being displayed in the enabled item above it) becomes visible. How to not show it while plot legend scrollbar is visible?
    Second question. If plot legend scrollbar is visible and the user has scrolled it to the bottom and left it there and then selects options where the number of plots are less than a certain threshold and the scrollbar is set to invisible, using property node; then the only lower disabled plot names are shown. So how do I set the scroll position for plot legend scrollbar. I could not find any scroll position property for plot legend scrollbar.
    Thanks

    It is true that you cannot set the index of the topmost displayed plot in a plot legend. It's a missing property! To accommodate long legends, I have used two graphs, one hidden behind the other. Both receive all the data, and their two legends are aligned side by side. In fact, I wrote a routine to align legends of stacked plots, which I've attached here for you. Maybe you'll find it useful!
    Attachments:
    align legends.llb ‏144 KB

  • HTMLDB_ITEM.TEXT : disable item !

    Hello,
    I have a question regarding the use of HTMLDB_ITEM.TEXT,
    Exemple, if my report contains the following :
    select
    HTMLDB_ITEM.HIDDEN(1,p.id) id,
    HTMLDB_ITEM.TEXT(2,p.year) year,
    HTMLDB_ITEM.TEXT(3,p.name) name
    FROM person p
    where p.id = :P1_ID
    - the column year is diplayed but I have to disable it.
    - the column name is updated by the user.
    the save process is the following :
    for i in 1..wwv_flow.g_f01.count loop
    if wwv_flow.g_f01(i) is not null then
    update person set name = wwv_flow.g_f03(i)
    where id=:P1_ID and year = wwv_flow.g_f02(i) ;
    end if;
    end loop;
    works fine.
    My problem is : I must disable the column year, I have do the following :
    select
    HTMLDB_ITEM.HIDDEN(1,p.id) id,
    HTMLDB_ITEM.TEXT(2,p.year,3 ,2, 'DISABLED=DISABLED') year,
    HTMLDB_ITEM.TEXT(3,p.name) name
    FROM person p
    where p.id = :P1_ID
    Now, wwv_flow.g_f02(i) is no longuer recognized !!!!!!
    Any help !
    Jina.

    Jina,
    Perhaps this posting helps?
    Re: Bug: Disabled items on tabular form
    Regards,
    Marc

  • Disabled item problem on Apex 4.1.1.00.23

    Hello gentleman's
    I've got a problem. On my application i have a page with a text field with the options 'Disable' and 'Save Session State' setted to 'yes'. When i put some value on the text field using javascript and try to submit the page the following error message appears:
    'Session state protection violation: This may be caused by manual alteration of protected page item P1_TEXT. If you are unsure what caused this error, please contact the application administrator for assistance. Contact your application administrator.'
    I really need to save the session state of the text field, even when it is disabled, does anybody know anything about this issue?? I reproduced the error on apex.oracle.com:
    http://apex.oracle.com/pls/apex/f?p=1942:LOGIN:1277533900325401
    login: test
    password: test
    Best Regards
    Rogério

    What you're seeing is the intended and desired functionality of disabling an item and proof of APEX's built-in security robustness.
    To accomplish what you want:
    Turn off the 'Disable' option and set the 'HTML Form Element Attributes' to readonly="readonly"Keep in mind though, that now your "disabled" item can be modified by any user that knows how to access and manipulate DOM objects. If that is a concern you may need to come up with some way to validate the item values allowed.

  • 40222 Disabled item failed validation.

    When I run a Forms app, I receive this error message after I click one of its buttons:
    41012 Invalid value for field Renewal_Type
    40222 Disabled item RB.Renewal_Type failed validation.
    There is a radio group by that name in one of the blocks, although it has not been assigned to a canvas. I think the developer of this app may have intended it for another form that he was going to build, but never got to it; thus it's disabled. Is that what causes this error message or is it something else? How can I fix this? Thanks.
    Edited by: Prohan on Sep 10, 2010 9:42 AM

    I found the answer here:
    FRM - 40212 / FRM - 40222 error on a radio group during query
    I can't say I understood the explanation for why it worked, but it did.

  • Error : FRM-41316: cannot set insert allowed property of disabled item

    Hi Forum,
    I have a requirement to making the following field non editable Ship Confirm Rule+ in Order Management-->"Release Sales Orders"-->"Shipping" tab
    I tried to achieve this using form personalization using the below condition and action
    Trigger Event - WHEN-NEW-ITEM-INSTANCE
    Trigger Object - RELEASE.DOC_NAME
    Condition - :RELEASE.PICKING_RULE is not NULL
    Processing Mode - Both
    Action Type - Property
    Object Type - Item
    Target Object - RELEASE.SHIPCONFIRM_RULE_NAME
    Property Name - ENABLED
    Value - FALSE
    I could see the field becomes non editable but when i navigate to "Release Sales Orders"-->"Shipping" tab and press tab button on the field "Trip" I am getting the below error
    FRM-41316: cannot set insert allowed property of disabled item RELEASE.SHIPCONFIRM_RULE_NAME
    Even i have tried with the following Property Names set to " FALSE " but still the field is able to editable
    ENTERABLE
    ENTERABLE(APPLICATIONS COVER)
    INSERT_ALLOWED
    INSERT_ALLOWED(ITEM-INSTANCE)
    UPDATE_ALLOWED
    UPDATE_ALLOWED(ITEM-INSTANCE)
    Please help me to resolve this issue.
    Thanks in advance
    Regards,
    CSK

    Hi Francoiq,
    Thanks, As you advised I will post this in E-Business Suite
    Regards,
    CSK

  • Disable Items in User Interface - Custom

    I have been looking through the Control Identifier/Policy ID number from the spreadsheets below.
    http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=6627
    I have been unable to find the following item in order to remove it using group policy.  Can someone tell me definitively if it does not exist and if it does what is the correct ID in order to disable it through User Configuration->Administrative
    Templates->Microsoft Outlook 2010->Disable Items in User Interface->Custom.
    Under Tasks, New Task, Assign Task there is a check box next to "Send me a status report when this task is complete" that I want to remove.
    Thanks,
    -Ethan

    Hi Ethan,
    >>Under Tasks, New Task, Assign Task there is a check box next to "Send me a status report when this task is complete" that I want to remove.
    Sorry, based on my knowledge and test, there is no corresponding policy ID to disable this checkbox.
    In addition, I searched around and found that this setting should correspond to the following registry key:
    HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\options\Tasks
    AddToUpdList
    Regarding this point, the following article can be referred to for more information.
    Task Options not in Outlook Object Model - Registry Workaround
    http://www.outlookcode.com/threads.aspx?forumid=4&messageid=32320
    Please Note: Since the website above is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    Best regards,
    Frank Shen
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Jave script to enable and disable items

    Can any one tell me some sites that has used java script to enable and disable items.
    My target is to enable/disable an LOV and a text area when I press a button.

    You could check this example out.
    http://htmldb.oracle.com/pls/otn/f?p=11933:65:54438924816002::NO:RP
    Set the drop-down items to -1 to disable the text areas and any other value to enable them.

  • FRM-40222: Disabled item 'NES.DCD' failed validation

    Hi,
    I have a couple of forms migrated from 6i to 10g. I am verifying the functionaltiy of each form.
    I came across this issue in a converted form in 10g. This form works fine in 6i.
    In WHEN-NEW-FORM-INSTANCE based on a condition we hide a poplist item as follows:
    SET_ITEM_PROPERTY('DCD',VISIBLE,PROPERTY_FALSE);
    Here item 'DCD' is a poplist.
    When I run this form & I click on a button, the control is transferred to the ON-ERROR trigger, where I get the folloing message:
    FRM - 40222 : Disabled item 'NES.DCD' failed validation'We never had this issue in 6i?.
    There are no triggers on this poplist item 'DCD'. Don't know why I am getting this error???
    How to fix this issue?
    Thanks

    Found the solution: Set required property to false

  • FRM-41316: cannot set insert allowed property of disabled item

    We are facing an error message while entering the Invoices in Apps R12 . Requested to please look into the issue.
    Navigation : CNG India Local AP Super User
    Oracle Payables>Invoice >Entry>Invoice
    getting the error
    FRM-41316: cannot set insert Allowed Property of disabled item inv_sum_folder.doc_category_name
    thanks in advance....

    Please see these docs.
    12.1.1 – FRM-41316 Error On Invoice Workbench Forms [ID 862433.1]
    R12: Invoice Workbench, get FRM-41316 Error Message [ID 1332977.1]
    FRM-41316 Cannot Set Insert Allowed Property Of Disabled Item LINE_SUM_FOLDER [ID 467206.1]
    FRM-41316: FRM-41316: Cannot set Insert Allowed property of disabled item APP_FOLDER.TRANS_TO_RECEIPT_RATE When Applying To Foreign Currency Invoices [ID 392368.1]
    Thanks,
    Hussein

  • Visual attributes of disabled item. plase help

    I have a form where when i disabled an item, this item item became unreadable, the font has blanc shine and when changing visual attributes property, can not find how to fix it. Do you have any idea? Thank you very much for your help. Thnaks.

    Thanks, i think of this but the items are mainly checkbox and radio button, i need to keep enabled to false.
    But would like to know is it possible to change the default visual displaying of disabled items?
    Edited by: Tabit7 on Jul 18, 2011 9:41 AM

  • MIR7 how to disable item quantity field

    Hello,
    How can i disable item quantity in MIR7 t-code. I don't want users can change quantity.
    Many thanks.

    Open - OLMRLIST
    Provide below Inputs in OLMRLIST
    Transaction - MIR7
    Screen variant - 7_6310
    Program - SAPLMR1M
    Screen - 6310
    Click on Edit.
    You can find Qty field against that select option as required.And then mark option as Invisible
    Hope this will resolve your query.
    My answered query on the similar kind of issue
    Re: MR 7 ISSUE
    Thanking You,
    Sandesh Sawant

Maybe you are looking for