How to make a required column as a tab?

Hello

I have a form of tab for the entrance, where a user can add a group and the user for this group ID. I want to make the mandatory user ID column. However I don't know how to do this.

The only way I know to do the validation is by adding a control of validation to the elements.

Any help would be great.

You can refer to columns in the form of tables through the apex_application.g_fxx (where xx is the number of your column). First of all, find what column is the user ID column. View the html source of your page, you should easily find it like that.

Once you know, you can create a validation of type 'Boolean function return' and enter something like that in the Validation Expression (assuming that the user ID is the "f02" column):

BEGIN
   FOR i IN 1 .. apex_application.g_f02.COUNT
   LOOP
      if apex_application.g_f02(i) is null then
         return false;
      end if;
   END LOOP;
   return true;
END;

Kind regards
Matt

Tags: Database

Similar Questions

  • How to make windows require a password during the installation of new programs?

    How to make windows require a password during the installation of new programs?

    Hello

    You will not be able to circumvent the password that appears before the execution of actions (installing a new program) in a non administrator account.  If you are logged on as administrator, and again, you get the command prompt, you can disable UAC (User Account Control) to stop the password dialog window.

    However, as a work around you can right-click on the installation of the program files and select run as administrator. Check if this is useful.

    Let me know if I can help you with this question or any problem related to Windows.

  • How to make a percables column.

    Hello

    How to make a percables column even if this isn't a dimension hierarchy level.


    Thank you
    Shil

    It is not possible to use the descent without hierarchies Dim touch drill. But you can navigate from one report to another using the "Navigation" of interaction of values feature in 10g (action link in 11g)
    taking column is requested in the reports in detail, but he will see the result in a separate window, not as if the results are shown in the same window with hierarchies dim drill feature.you can set up bread crumbs to return to the previous page to see the high level.

  • How to make a required field in OAFramework

    How to make a required field in OAFramework when running? Please explain in detail if possible.

    Thank you
    Kumar

    Get the handle to the bean by using the following Code

    Bean = webBean.findIndexedChildRecursive ("");
    If (bean! = null & )
    {
    bean.setRequired (true);
    }

  • Make the required column in table advanced of the OPS

    Hi all

    I have an obligation to make the column as required in table advanced BWC (worker buyer Center).

    Navigation: Purchase of super user-> Work Center buyer-> orders-> create a Standard command-> click the tab lines

    Please find the screen shot for your reference below

    Purchase_Order_Screen.PNG

    Void tab lines, five lines created automatically in advanced table and I made the need-by / Start Date is required by using customizations.

    I saw the line and submit button launches the error message ' form Validation failures: a value must be entered for 'need a day'. "

    Purchase_Order_Screen1.PNG

    Requirements of companies is required the need - by / column Start Date and the user trying to enter the line instead of 5 lines and when click on submit/save button without having to throw the error. Please let me know how to make and share sample code.

    Page path: / oracle/apps/po/document/order/webui/OrderPG

    Kind regards

    Vincent

    {public processFormRequest (pageContext OAPageContext, OAWebBean webBean) Sub

    pageContext.writeDiagnostics (this, "XxBEFOrderCO PFR start:", 1);

    OAApplicationModule am = pageContext.getApplicationModule (webBean);

    DocumentAMImpl documentamimpl = (DocumentAMImpl) pageContext.getRootApplicationModule ();

    String submitButton = pageContext.getParameter ("SubmitButton");

    String SaveButton = pageContext.getParameter ("SaveButton");

    String strPoMode = pageContext.getParameter ("poMode");

    String strEventParam = pageContext.getParameter (OAWebBeanConstants.EVENT_PARAM);

    String strRowRef = pageContext.getParameter (OAWebBeanConstants.EVENT_SOURCE_ROW_REFERENCE);

    Dim description As String = null;

    Day needbydate = null;

    String str2 = (String) pageContext.getTransactionValue ("DOCUMENT_MODE");

    PoLinesMergeVOImpl PoLinesMergeVO = documentamimpl.getPoLinesMergeVO ();

    Line PoLinesMergeVORowImpl = null;

    If (SaveButton! = null | submitButton! = null) {}

    pageContext.writeDiagnostics (this, "inside the if condition in the PFR:", 1);

    int pcLineRowCount = PoLinesMergeVO.getRowCount ();

    RowSetIterator rowSetIterator = null;

    try {}

    rowSetIterator = PoLinesMergeVO.createRowSetIterator ("PcLineIterator");

    If (pcLineRowCount > 0) {}

    rowSetIterator.setRangeStart (0);

    rowSetIterator.setRangeSize (pcLineRowCount);

    for (int i = 0; i)< pclinerowcount;="" i++)="">

    pageContext.writeDiagnostics (this, "inside the LOOP:", 1);

    line = (PoLinesMergeVORowImpl) rowSetIterator.getRowAtRangeIndex (i);

    Description = row.getItemDescription ();

    needbydate = row.getNeedByDate ();

    If (description! = null & needbydate == null) {}

    throw new OAException ("Please enter the Needby/Startdate", OAException.ERROR);

    }

    }

    rowSetIterator.closeRowSetIterator ();

    }

    rowSetIterator.closeRowSetIterator ();

    {/ *} catch (Exception exception) {}

    exception.printStackTrace ();

    }*/

    }

    super.processFormRequest (pageContext, webBean);

    }

    The above code is correct. This code can useful to others on the OrderPG in 12.2.4 version.

  • How to make only two columns as editable in five online when the user clicks a line using adf 12.1.3.

    Hello

    I displays a table on the screen. This table is read only during the initial page load. I want to do only two columns as editable on five in a row when the user clicks a line using adf 12.1.3.

    Is it possible in the adf. If possible how to handle this. Please help on this.

    For example, drop table editable Full and then replace rest inputText (components entry in general) with af:outoutText, everything except those two.

    And use the clickToEdit feature...?

  • How to make a one column instead of two text box?

    I inherited this document to someone else, and for some reason any instead of doing the entire page 2 columns, they made the two columns of text individual boxes. How to set the number of columns in a textbox control. I know how to adjust the columns on the entire page, but I don't know how you do in a text box.

    You can set an individual text by choosing object > text frame Options. On the general tab, change the number of columns.

  • How to make a required checkbox field stop a submission form if not checked.

    Hello

    I have a form needs people to accept both boxes before submitting the form when you click a button.

    I use Acrobat X Pro.

    The form does not present when a required text field is empty, but when the boxes are empty again tries to present.

    How can I work around this problem?

    Thank you.

    You can't do it directly, but there is a workaround solution. Create a (hidden) text field and set it as required. As a custom text field calculation script, enter the following code:

    This.getField("Check_Box1").value = Event.Value == "Off"? "": this.getField("Check_Box1").value;

    This will prevent the submitted document if "Check Box1" is unchecked. The downside is that the box will not be underlined in red when validation fails, but at least the record will not submit partially filled in.

    Alternatively, you can write you own validation script, which can provide a comprehensive report which fields have yet to be filled before submitting the file.

  • How to make a required field

    I use Adobe LiveCycle 8.0. I just created my first form. There are a few fields I want to make required. I already have from the TAB order, the way I need it to be. Here's what I got: If a user begins to fill the form does not fill in the information in the customer ID field, & they type the tab key, I want some sort of error appears telling them the customer ID field is required. Is this possible? Thank you

    As Dallas Kuhn said:

    If (this.rawValue == "| this.rawValue == null) {}

    xfa.host.messageBox ("the customer ID field is required.");

    }

    The script must be added to the Exit event for the customer ID field.

    Can you post the form and I'll have a look?

  • How to make all visible columns in a report interactive by default

    Hi all

    I have a report with the first column is visible and the rest are hidden by default. Is there a way I can do them all visible by default so that users may not go in equities to display in the report?

    Thank you
    Sezer

    Sign in as a developer > run the interactive report > actions > select all the columns of your choice

    Now got to actions > save > default > primary > apply

    http://docs.Oracle.com/CD/E23903_01/doc/doc.41/e21674/ir_using.htm#CHDFDFJA

  • How to make the vertical column headers?

    Dear Apex Experts,

    I have an interactive relationship with many columns. All column headers are long.

    I hope to do the vertical column headings. Is this possible?

    My favorite browsers are Firefox and Chrome

    Best regards

    The CSS redesign of + {: identifier of the thread = 2263484} + for an interactive report:

    table.apexir_WORKSHEET_DATA th {
      /* Column headers need to have sufficient height to contain the longest header oriented vertically */
      height: 10em;
      /* Line up column headers at the bottom of the header row */
      vertical-align: bottom;
    }
    table.apexir_WORKSHEET_DATA th div {
      /* Left-aligned text will appear bottom-aligned under 90 deg left rotation */
      text-align: left !important;
      /* Get rid of underlined link in vertical orientation (and fix really weird bug on iOS) */
      text-decoration: none !important;
    
      /* Set the origin for the transforms: "bottom left" corner of header text; this works better than the default (center) */
      -webkit-transform-origin: bottom left;
      -moz-transform-origin: bottom left;
      -o-transform-origin: bottom left;
      -ms-transform-origin: bottom left;
    
      /* Transform column headers: 90 deg left rotation + 12px down brings the new "left" (top) edge to the original text left position */
      -webkit-transform: rotate(-90deg) translateY(12px);
      -moz-transform: rotate(-90deg) translateY(12px);
      -o-transform: rotate(-90deg) translateY(12px);
      -ms-transform: rotate(-90deg) translateY(12px);
    }
    table.apexir_WORKSHEET_DATA th div img {
      /* Position sort direction icon in correct orientation at end of header */
      margin-left: 4px;
      -webkit-transform: rotate(90deg);
      -moz-transform: rotate(90deg);
      -o-transform: rotate(90deg);
      -ms-transform: rotate(90deg);
    }
    

    (For some approximations of this term) in collaboration with a custom on APEX 4.1.1.00.23 in Firefox 5.0 theme (customer current is clueless but locked). No possibility to try on something else for hours.

    I am 100% certain that it won't work without modification under different themes, font sizes, fonts, lengths section, the width of the columns, IR modes and any other variable that you care to think...

  • Transformation scripts: how to make the PK column

    Is there a function to get the name of the column of the PK to use in processing scripts?

    Hello

    Try this:

    importPackage (javax.swing);

    tables = model.getTableSet () .toArray ();
    for (var t = 0; t)<>
    table = table [t];
    s = table.getPK ();
    cols = s.getColumns ();
    }

    JOptionPane.showMessageDialog (null, COL);

    Then you loop PK columns and use getName()

  • If a box is how to make a required text field

    Hello

    I'm hoping someone out there can help me.

    I have created a form in adobe acrobat 9, I have one checkbox called 'other' and a field of text called "other_please_specify". What I hope to do is when a user selects the "other" box the text field 'other_please_specify' becomes necessary. I need also some sort of action if a user turns off the "other" box then the text field 'other_please_specify' is required.

    Can someone help me understand this?

    Thanks in advance

    Possibly by that you mean the property of the EmployeeID field, the script of the mouse to the top of the box can be something like:

    (function () {
    
        // Get a reference to the text field
        var f = getField("other_please_specify");
    
        // Set the required property depending on the check box state
        if (event.target.value !== "Off") {
            f.required = true;
        } else {
            f.required = false;
        }
    
    })();
    

    The 'if' block can be simplified to:

        // Set the required property depending on the check box state
        f.required = event.target.value !== "Off";
    
  • How to get the required column, the names of tables for the preparation of the report.

    Based on the MD50 how to get the exact name, the table names he joined for report development. as I am new on this project and the purchase of failet for R12.
    How can I start my approach to prepare the data for the report model? How can I search the database based on the respective diagrams of means?
    all input appreciated

    Hello

    You can find information about schema objects in eTRM Web site, you can also consult the documentation for product/module and see if it helps. If you already have any report (standard or custom), you can enable the trace and run the program to see which object it access or open the report using Report Designer and see the code.

    ETRM Oracle
    http://ETRM.Oracle.com

    Oracle Applications documentation
    http://www.Oracle.com/technology/documentation/applications.html

    Kind regards
    Hussein

  • How to make the full width of the tab DataGrid

    I have a DataGrid inside a component.

    The component part of a ViewStack that is controlled using a TabBar.

    Even if the width of the DataGrid control is set to 100%, it never fills the width of the TabBar. Thus, for example, the TabBar fills the entire width of the browser (1024px) but the DataGrid seems only 200px wide.

    How do you guarantee that a DataGrid fills the entire width of the screen, if that's what space is available?

    How do detect you the Stage.Width property or similar in Flex 2?

    Thank you
    Martyn

    Found the solution. Necessary to set the width of the ViewStack itself to 100% as well. It was resizeToContent = "true", but without the defined width. Now it works when width = '100% ', according to the example below. Note that you have to still need resizeToContent = "true" as well as width = 100% so that it resizes vertically to take into account the height of the DataGrid.


    http://www.Adobe.com/2006/mxml"layout ="absolute"xmlns:com ="com.*"xmlns:view =" "com.view. *" > "


    [Bindable]
    public var selectedItem:Object;
    ]]>



    Christina Coenraets
    555-219-2270.
    [email protected]
    true

    <>
    ' xmlns:MX =' http://www.adobe.com/2006/mxml '
    xmlns:view = "com. View.* ".
    Width = "100%" >

















Maybe you are looking for

  • G25 CPU upgrade CPU G30?

    I read the post about a possible update the g30 dual-core for the new core 2 duo. I was wondering if anyone has heard of an upgrade of base unique in the G25 for the dual core, used in the G30/G35? I don't know that my only option is to sell this and

  • Why messages are stuck in the Outbox and NOT sent? Iconia b1. It is online

    Why messages are stuck in the Outbox and NOT sent?  Iconia b1.  It is online

  • unsyncing of the external media player device problem

    problem unsyncing of the external device to media player, said click the arrow below the sync, point to the device and click the option UNSYNC, only 3 options below the sync button...1 Refresh device2 more options3 help with synchronization There is

  • Dell XPS M1530 Windows reinstalled Vista, network driver does not

    Hi, I had to replace the hard drive on my Dell XPS M1530 because of the complete failure of hard drive. I installed Windows Vista and also installed all the drivers from Dell. All of them seem to work fine except the driver of Ethernet controller and

  • scripts for long durations

    I continue to have a pop up box - when in various programs - that the readings for example - Facebook.com has stopped woring due to a long-running script - I can't find the script - but the music starts playing - looks like a game - I deleted all the