Required Field - Color Change

Hello every one,
We have a requirement, Field A, Field D
We are on 11.5.10 Forms 6i
Field A - LOV - (XX,YY)
Field B - Text Item
In Field A if the user Picks YY - Field D has to become a required (which I am able to achieve) as follows
IF :BLOCK.FIELD ='YY'
THEN
SET_ITEM_INSTANCE_PROPERTY('BLOCK.FIELD',
     v_current_record,
     REQUIRED,
     PROPERTY_TRUE);
END IF;
But the required field is not changing the color to required field color. Can someone tell me how to achieve this?
Thanks
Edited by: user468323 on May 18, 2010 10:40 AM

As you are working with the Oracle Enterprise Business Suite (EBS) there are exact guidelines for developing custom form. If you develop your forms to conform to Oracle Applications User Interface Standards for Forms-Based Products and Oracle Applications Developer's Guide you should not have to manually change the color as the EBS Framework will handle all of this for you. These documents can be found in the Applications Documentation site. Following Oracle's Guidelines are required if you ever need to contact Oracle Support for assistance with a Custom form. If your Custom form does not conform to their guidelines - support will not help you.
Also, you might want to post any EBS related Forms questions in the General EBS Discussion Forum.
Hope this helps,
Craig B-)
If a response is helpful or correct, please mark it accordingly.

Similar Messages

  • Acrobat 8, "Highlight Fields" color change

    Hi, I'm trying to help a friend trace a random change in the color of form fields when you select highlight fields. Previously it was the same as mine, a light, opaque blue. Now it's changed to a dark gray making text hard to read. The only thing I can guess caused this was an automatic update to Vista. Before the update it was blue, after the reboot the fields are gray. Does this sound familiar to anyone? Is there a fix? I've searched every menu and can't find even an option to change the color. Is there an option in Vista to change the form field colors? Or is this a glitch caused by the update that requires a repair install?
    Any advice is appreciated.
    Thanks
    sasha

    ? related to the highlighted fields'. When you open a pdf, in the
    upper right corner there is a box to check, if you want the fields
    to be filled in, highlighted.
    Is there a way in the properties to set a default for the page, when
    the pdf is opened, that this 'highlight fields' box is always checked.
    My user doesn't want to have to check this 'box' each time entering the pdf upon opening.
    Thanks for any guidance Lfiacco

  • Cheange required field color

    I have acro form created by Adobe 9 pro with required text field in it. The default border color for required field is red. How can I change it ?

    Zahari,
    This has nothing to do with Color Management. Color management is the critical and intricate process of getting colors to match between original, monitor, and printout.
    Please post in the appropriate forum for the application you are using, presumably
    Acrobat.
    Adobe is the name of the company that makes a huge variety of applications. It is not the name of a program.

  • How to switch off the Yellow "Required Field" color in 9i?

    I'd like to know how we can switch off the yellow background that appears on Required Fields (but still leave the required fields as required).
    We are migrating our Forms 3.0 application to 9i and have not set the Required attribute for all our fields (some are auto-populating, some are just not set correctly) so some forms look strange with some mandatory fields yellow and some not. We have over 550 Forms and are at release one of our migration so we'd rather not worry about setting fields correctly this for this phase.
    Cheers,
    Tim.

    found the answer:
    in $oracle_home/forms90/java/oracle/forms/registry/registry.dat set:
    app.ui.requiredFieldVA=false
    you can also set the color:
    app.ui.requiredFieldVABGColor=255,0,0

  • Enter event  field color change issue

    I'm trying to make a script that will change the color of a field's content area when the user enters it (either through clicking or tabbing to the field). It seems simple enough to do, but I haven't been able to get it working.
    I downloaded the sample .pdf file that describes how to do this at: http://partners.adobe.com/public/developer/en/livecycle/designer/pdfs/FieldFillColor.pdf
    Push the button, the colors change. Seems to work fine, right? Except for the horrible, horrible period in the color definition, of course. Publishing a 2 line script with a bug as an EXAMPLE? For shame.
    But, when you move the code to the Enter event, the caption changes color, but the content area does not... until you LEAVE the text box, at which point it DOES change color. This doesn't make any sense to me. Is there something undocumented going on here that I don't know about, or is this just another bug?

    This won't speed it up, but I suggest making your code a lot cleaner by making use of this class (I haven't tested it):
    public class ColorRange {
       private Color min, max;
       public ColorRange(Color min, Color max) {
          this.min = min; this.max = max;
       public boolean contains(Color c) {
          return c.getGreen() >= min.getGreen() && c.getGreen() <= max.getGreen() &&
             c.getRed() >= min.getRed() && c.getRed() <= max.getRed() &&
             c.getBlue() >= min.getBlue() && c.getBlue() <= max.getBlue();
    //...SNIP...
    ColorRange blue, red, green, yellow; //initialize these
    //...SNIP...
       if ( blue.contains(robot.getPixelColor(640,480) ) {Furthermore, I would introduce constants for your sample locations:
    Point blueLoc = new Point(640, 480); //etcEdited by: endasil on 14-Sep-2009 10:21 AM

  • Field color change

    hi
    i have a field qty on report .. i want that if qty is less than 12 .. its backgroud or text color become red ..autmatically
    thanks

    Hi,
    You can use this function:
    SRW.SET_FOREGROUND_FILL_COLOR('color');
    or
    SRW.SET_BACKGROUND_FILL_COLOR('color');
    Inside the Conditional Formating.
    -Marilyn

  • Change required field border color

    I have acro form created by Adobe 9 pro with required text field in it. The default border color for required field is red. Can I change it without javascript ?

    Can I with javascript override the default color of the required field which is set in the category Forms of the Acrobat preferences ?

  • Required field indictator color

    Is it possible to change the required field indictator (*) color to something other then red? I know that it is possible to change the skin using a different image however I do not want to create an image for just an asterisk symbol?

    Hi,
    FormItem uses a swf symbol for the indicator skin. So the best option is to use another symbol/image/prgrammatic skin. If you want, you can override FormItem class, loop through the children, find the symbol and change the color by applying blendMode or filters. But it is not simple as the first method.
    http://www.adobe.com/livedocs/flex/3/langref/mx/containers/FormItem.html.
    Look for the indicatorSkin style

  • Color change of a field  in ALV Grid Control

    Hi,
    One small help needed....
    My req is explained below:
    I have 3 fields empno, ename and deptno. and the records of these fields would be displayed in ALV grid control.
    When I hover the mouse on ename field, the color of the complete field should change to other color, say "RED".
    How do I get this. Are there any Mouse events in SAP?
    Kalyan

    Hi,
    Once i changed the color of a field in a alv (not grid alv), i suspose that the same in alv grid. Also i used an mouse event.
    To manage the color:
    TYPE-POOLS : SLIS, and check this type:  SLIS_T_SPECIALCOL_ALV.
    when you call the function to display the alv, there is a parameter in which you should pass an internal table that references the type  SLIS_T_SPECIALCOL_ALV.
    To manage the mouse:
    1.- You should add the event user command:
    for example:
    DATA: I_EVENT TYPE SLIS_ALV_EVENT.
    Llamo al la función que obtiene los eventos validos para el ALV
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
           EXPORTING
                I_LIST_TYPE     = 0
           IMPORTING
                ET_EVENTS       = P_EVENTS
           EXCEPTIONS
                LIST_TYPE_WRONG = 1
                OTHERS          = 2.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ELSE.
      agrega evento user command
        READ TABLE P_EVENTS INTO I_EVENT
          WITH KEY NAME = SLIS_EV_USER_COMMAND.
        IF SY-SUBRC EQ 0.
          I_EVENT-FORM  = SLIS_EV_USER_COMMAND.
          MODIFY P_EVENTS FROM I_EVENT INDEX SY-TABIX.
        ENDIF.
      ENDIF.
    2.- you work with the user command event:
    FORM USER_COMMAND USING R_UCOMM LIKE SY-UCOMM
                            RS_SELFIELD TYPE SLIS_SELFIELD .
      CASE R_UCOMM.
        WHEN C_DOBLE_CLICK.
        here you do the things that you need when the mouse *     bottom it's pressed
          PERFORM xxxxxxx.
      ENDCASE.
    ENDFORM.
    3.- you can change the form of the mouse, but i don't remember exactly how to do that... try to check that, it's helpfull in order to display the fields that can execute a funtion in your alv.
    I hope this help you, and sorry for my english.
    Albio.-

  • Change the Data Type of a Standard Required Field

    Hello Experts,
    Need to know if is it possible to change the data type of a standard field. The field is marked as a required field.
    For example: If a standard field is an Object Picker and I would like to change it to a string field. Is it possible? How can I do it?!
    Many thanks,
    Igor Nakamura

    Hi Igor,
    Since you cannot hide a required field, what you can do is move the standard required field to someplace less noticable (like the bottom of the page) and then use a validation script to set it to some benign value.
    -Howie

  • Changing fields color in CL_GUI_ALV_GRID using class

    Hi,
    I've written a lot of posts but still I have problem with changing color for CL_GUI_ALV_GRID.
    I have class ZKSL_CL_4_17_ALV_GRID_OO with 3 methods : SELECT, HANDLE_DBL_CLICK AND DISPLAY_ALV
    I want to change fields color every time I double click on IT.
    METHOD SELECT.
       DATA:
             lt_sflight                TYPE TABLE OF           zkslt_sflight,
             ls_layout                 TYPE                    lvc_s_layo,
             lr_custom_container       TYPE REF TO             cl_gui_custom_container,
             lr_my_class               TYPE REF TO             zksl_cl_4_17_alv_grid_oo.
       SELECT *  FROM zkslt_sflight  INTO TABLE mt_sflight
          WHERE carrid    = iv_carrid AND
              ( fldate    IN it_date  OR
                price     IN it_price OR
                planetype IN it_type )
    CALL FUNCTION 'Z_KSL_SCREEN'.
    ENDMETHOD.
    from FM z_ksl_screen i call screen 400 and from status_400 output  I call method DISPLAY_ALV
    METHOD display_alv.
       DATA:
              lr_custom_container       TYPE REF TO             cl_gui_custom_container,
              lt_sflight                TYPE TABLE OF           zkslt_sflight,
              lt_catalog                TYPE STANDARD TABLE OF  lvc_s_fcat,
              ls_catalog                LIKE LINE OF            lt_catalog,
              ls_layout                 type                    slis_layout_alv,
              lr_my_class               TYPE REF TO             zksl_cl_4_17_alv_grid_oo.
       CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
         EXPORTING
           i_structure_name = 'ZKSLT_SFLIGHT'
         CHANGING
           ct_fieldcat      = lt_catalog[].
    ************BULID LAYOUT
       ls_layout-no_input = 'X'.
       ls_layout-colwidth_optimize = 'X'.
       ls_layout-totals_text       = 'Totals(201)'.
       ls_layout-info_fieldname    = 'LINE_COLOR'.
       IF mr_gui_alv_grid IS INITIAL.  "-----------------------------------if----------------------&
         CREATE OBJECT: lr_custom_container
           EXPORTING
             container_name = 'DISPLAY',
             lr_my_class.
         CREATE OBJECT mr_gui_alv_grid
           EXPORTING
             i_parent = lr_custom_container.
         SET HANDLER lr_my_class->handle_dbl_click FOR mr_gui_alv_grid.
         CALL METHOD mr_gui_alv_grid->set_table_for_first_display
           EXPORTING
             i_structure_name = 'ZKSLT_SFLIGHT'
            is_layout        =   ls_layout
             i_save           = 'A'
           CHANGING
             it_outtab        = Mt_sflight
             it_fieldcatalog  = lt_catalog.
       ELSE.     "-------------------------------------------------ELSE---------------------&
         mr_gui_alv_grid->refresh_table_display( ) .
       ENDIF.
    ENDMETHOD.
    In handler i am trying to change fields color and call method display sending new out_table
    CALL METHOD me->display_alv
         CHANGING
           ct_fieldcat = lt_fieldcat.
    Please give me some easy advice how to do that.
    thank you in advice.

    Thank you Klaus for your reply,
    The problem is that I need to make this using classes.
    I tried to make my structure data with LVC_T_SCOL as you wrote,
    a field of table type LVC_T_SCOL in the structure of your output table
    DATA BEGIN OF lt_data. 
           INCLUDE STRUCTURE sflight.
           DATA cellcolors  TYPE lvc_t_scol .
       DATA END OF lt_data.
    TYPES: BEGIN OF mtt_tab.
    *         INCLUDE STRUCTURE ZKLST_sflight.  " I get error that I cannot use ref to abap dic
               INCLUDE TYPE ZKSLT_SFLIGHT.
               TYPES: cellcolors  TYPE lvc_t_scol ,
                 END OF mtt_tab.
    After making type mtt_tab
    i declare data   lt_tab                    TYPE STANDARD TABLE OF  mtt_tab.
    and when I try to copy table mt_sflight (it is atribut of calss) like below
    LOOP AT mt_sflight INTO ls_mt .
    *   READ TABLE lt_tab INDEX sy-tabix ASSIGNING <ls_tab>.
    *   MOVE-CORRESPONDING <ls_mt> TO <ls_tab>.
    *    UPDATE lt_tab FROM TABLE mt_sflight.
         MOVE-CORRESPONDING ls_mt to lt_tab.
       ENDLOOP.
    I am getting error "lt_tab is not internal str or table with header"
    Can you help me with this? 

  • Change the Required Field " Fieldname value cannot not be null" error.

    Does anyone know how to change the error message on a Table based form for a required field? By default it gives:
    <Fieldname> value cannot be null
    Do I need a field type validation?

    I got the screen working ok, now when I do a "Reset" on the screen I get a syntax error.
    Line: 10
    Char: 1
    Error: Syntax error
    Code: 0
    URL: https://www.testmasterease.com/portal/pls/portal/PORTAL.wwa_app_module.show?sessionid=9073
    The first 10 lines of HTML are:
    <HTML dir=LTR>
    <HEAD>
    <TITLE>FORM NEW USER ADMIN REQUEST</TITLE>
    </HEAD>
    <BODY BGCOLOR="#FFFFFF" TEXT="#444444" LINK="#444455" VLINK="#554455" ALINK="#666644">
    <SCRIPT TYPE="text/javascript">
    <SCRIPT TYPE="text/javascript">
    function show_context_help(h) {
    newWindow = window.open(h,"Help", "menubar=1,toolbar=1,scrollbars=1,resizable=1,width=700, height=500");
    </SCRIPT>
    </SCRIPT>
    I did not purposly put the show_context_help() in the form. Is there away to remove it?

  • Radio buttons created as required fields don't change to yellow when not submitted.

    I am creating an online form with required fields. Some of these fields are radio buttons. This issue is when the form is submitted without the required radio buttons selected the user is given an alert that they need to complete the required fields and those required fields become "highlighted" in yellow. In Mozilla (v16), the radio buttons do not change yellow. This features works in IE. The form works best with radio buttons versus drop-down or text box. Most of our employees use Mozilla, so would like to find a solution. Thanks.

    the syten should always allow you to change except you have set the "Functional authorization for buyers"
    in SPRO-MM-Purchasing-authorizationmanagement-define Function Authorizations: Purchase Order
    if this is set ethn it wont allow
    remove this config or remove the parameter id for EFB from SU01 from parameter tab

  • Color Changes in Spry Data Fields

    Hi All,
    I'm new to Javascript & PHP  programming. Currently I have coded neccesary apperances for the Web  Page and also Spry Data Set to read an external XML date source file.
    What I need  to do is one of the fields, needs to have color based status changes  based on certain data or criterias received.
    For example,
    I have a  Spry Table displayed on my browser,
    Name
    Current  Status
    Lane
    Jane
    6  Mins
    1
    Peter
    Boarding
    2
    Sally
    Arriving
    3
    Alex
    Delayed
    4
    With the  above, what I need is when the current status show in minutes, the text  color will be white (This has been coded with CSS Style)
    For the  Current Status color changes, when I received anything apart from  minutes, the display will be as of below :-
    Minutes = Black
    Boarding  = Red
    Arriving = Green
    Delayed = Yellow
    My question  is can this be coded with just Javascript, HTML and normal CSS
    OR
    This  needs to be coded in PHP, ASP ?
    I'm not familiar with ASP and only have very  little knowledge of PHP. If anyone here have some experience with this,  can offer some advice on how I can apply this theory into my existing.  And if possible some code example would be great.
    Thanks.

    I have tried many times on Ben's method and it didn't work.
    I have also tried the method from Adobe's documentation site.
    Method 1
    <ul spry:region="dsStates" spry:if="{ds_RowCount} != 0" spry:repeat="dsStates" spry:test="'{name}'.match(/^[amn]/i);" spry:choose="choose">
         <li spry:when="'{name}'.match(/^n/i);" style="color: red;">{name}</li>
         <li spry:when="'{name}'.match(/^m/i);" style="color: blue;">{name}</li>
         <li spry:when="'{name}'.match(/^a/i);" style="color: green;">{name}</li>
    </ul>
    Method 2
    <div spry:region="dsStates" spry:if="{ds_RowCount} != 0">
    <table border="1" spry:repeatchildren="dsStates" spry:test="'{name}'.match(/^[amn]/i);" spry:choose="choose">
         <tr spry:when="'{name}'.match(/^n/i);" style="background-color: red;"><td>{name}</td></tr>
         <tr spry:when="'{name}'.match(/^m/i);" style="background-color: blue;"><td>{name}</td></tr>
         <tr spry:when="'{name}'.match(/^a/i);" style="background-color: green;"><td>{name}</td></tr>
    </table>
    </div>
    Can anyone make it plain and simple of how the data source should look like ?
    I'm posting my source code here to make things easy.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xmlns:spry="http://ns.adobe.com/spry">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <script src="SpryAssets/xpath.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryData.js" type="text/javascript"></script>
    <script type="text/javascript">
    var KomtarETA = new Spry.Data.XMLDataSet("KomtarETA.xml", "komtareta/bus", {useCache: false, loadInterval: 100});
    </script>
    </head>
    <body>
    <div spry:region="KomtarETA">
      <table>
        <tr>
          <th>Route</th>
          <th>Current</th>
          <th>Destination</th>
          <th>Next</th>
          <th>Lane</th>
        </tr>
        <tr spry:repeat="KomtarETA">
          <td>{route}</td>
          <td>{current}</td>
          <td>{destination}</td>
          <td>{next}</td>
          <td>{lane}</td>
        </tr>
      </table>
    </div>
    </body>
    </html>
    The above is the HTML file I start working with.
    The {Current} field needs to have it's data periodically changing color & addition of flashing effect based on it's input from the XML data.
    So my question is how do I work about ? I don't quite get the explanation above.
    Thanks.

  • Change the tooltip of selectively required field

    In the af:query, we mark some fields to be selectively required.
    However we want to have at least 2 fields to be selected instead of just 1 field when doing the search.
    Could we change the tooltip of the '**' from 'At least 1 is required' to 'At least 2 are required'?
    using jdev 11.1.1.7.0
    Thanks

    Hi,
    don't think you can. And if then still the logic would not be in-synch with the text. So if users would ignore the tooltip then they still could issue queries with a single selected value. So the enhancement request you want to file with customer support is to allow multiple required fields with a change to the tooltip then
    Frank

Maybe you are looking for

  • Best practice for managing a Windows 7 deployment with both 32-bit and 64-bit?

    What is the best practice for creating and organizing deployment shares in MDT for a Windows 7 deployment that has mostly 32-bit computers, but a few 64-bit computers as well? Is it better to create a single deployment share for Windows 7 and include

  • Os x is falsely reporting a logged in user on shutdown/restart

    Ever since upgrading my Mac mini from OS X 10.9 Server to 10.10 Server I have a strange error: As soon as I log in into a local user then try to reboot/shutdown, OS X will report that another user is currently logged in and I need to enter admin cred

  • JUTableBinding.JUTableModel - misleading javadoc

    In order to provide several custom functionalities to a data-bound JTable (multiple selection, filtering, sorting, etc.), I thought (and I was supported by the BC4J javadoc) that the best way to do it would be to extend JUTableBinding and its inner c

  • Triggers and putAll()

    Hello, Would like to know how putAll works with a MapTrigger. Specifically, if the MapTrigger throw a RuntimeException on one of the attempted changes with a putAll, what happens with the rest of operations in the putAll? Thanks, Nick

  • Bapi on GR movement type 122

    Hi, I am have a GR material document number with movement type 101. Using "BAPI_GOODSMVT_CANCEL" I am able to reverse the mat. docs. which is done with 102 movement type. But, My question in here is I have to do "Return Delivery" of a material docume