APEX 5 - Textfield form tabular maxlength

Hello

seems like it's not possible to set the maxlength property of a textfield in a table element.

The definition of 'Width' to 5 characters for example, APEX replaces the HTML Code with maxlength = "2000".

I know I can "Workaround" that using JS, but this is an ugly hack and not a solution.

Kind regards

GW

You can set the maximum length using a simple dynamic gesture when the Page is loaded:

$("[name='f03']").attr('maxlength','20');

who will set the property maxlength for a specific column.

Denes Kubicek

Tags: Database

Similar Questions

  • Launch an Apex of a form application

    I am obliged to issue a request for the Apex of the form of contacts of eBuis (CSCCCCRC) Center no data shall be transmitted to and shape, its just a part of a business process. It may be easiest to have users just open a browser and click a shortcut but it would be faster to have this set up in the logical framework of the process, I think that the idea is to reduce call times.

    Users were hoping for a button to add that launched the application, however if there was an easier way to add to a form, especially if it's a sys admin / customization tasks that would not involve edit oracle forms and may break our service contract.

    I understand it so far sounds like an eBuis question however, I'm just trying to give an overview of the work, I am interested in the code used to open a browser window and pass in a URL to access the application from the Apex. Adding a button / on click event and dismissal of some PLSQL is the easy bit, I don't know but how you launch a PLSQL browser window, or is it possible to embed a hyperlink in the form?

    This is my first time using forms angry developer so apologies if these questions are simple, I hope I've provided enough information.

    See you soon

    Then using the web.show_document with the URL of the APEX would do the trick.

    Steve

  • How to make the tree of the APEX in the form "Expand all" by default?

    Could someone enlighten me please how to do the tree of the APEX in the form 'Expand all', by default, please? I created a tree of the APEX and by default, it is in the form "any collapse." I use APEX 4.1.0.00.21

    Hello

    You can check the show the HTML source and check the onclick code written on this sign (Expand All), just copy this code from javascript onclick and put it on page javascript event.

    Thank you
    Abdou Bosamiya
    + 91 76000 23053
    http://jbosamiya.blogspot.com

  • Apex 4.2.2 tabular form display using LOV works not

    Hello

    I created a tabular layout with 3 columns (that one is be a checkbox but I think it's irrelevant)

    If I update a row with the other 2 columns as standard columns or selection lists, and then the page updates correctly and my data are engaged.

    However if I change the 2 columns to "display text (LOV, light does not save state)" and then I can not update these lines?

    I get the error "1 error. " Column must have a value. (Row 2) »

    I use the same LOV I was for the select list and no other changes have been made.

    Is there a solution to this?


    Thank you very much

    Richard

    I worked around this by creating another column of the same type as the broken and leaving that as hidden, requires that this hidden column to be the default and I renamed my base as the column 'column2' LOV and show this, and everything works now.

  • APEX in the form of table 4.2 question

    Hi all

    I tried the new version of 4.2 APEX on apex.oracle.com and I have a problem with the tabular forms.

    When I create a new table (for example on demo_customers) form that everything works fine, but when I changed the customer_first_name in a pop-up key Lov (based on request), and then I saw the error for each line: list of values query execution error.

    The query I used is:

    Select cust_first_name, cust_first_name
    of demo_customers

    Why I got this error Message?

    Hi Stephen,

    the reason for the error that is in your query LOV you use the same column for the display column and the column to return. I don't know if it makes much sense to use the same search for a column of type "Popup LOV key" column, because it will show the same value that you already have query and the opening LOV will do the same...

    Anyway, if you modify your query to use unique alias names it will work fine. I will file a bug that the generator checks the column names for uniqueness.

    select product_name as d, product_name as rfrom    demo_product_info
    

    Concerning
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

    Published by: Patrick Wolf, Sep 5, 2012 13:28

  • Columns of form tabular Mark with 'Required' indicator

    Hello
    I use 4 ApEx, theme 17 (Sapphire).

    If I create a form on a table I can use models of "Optional" or "Required" field (with or without assistance). If I select 'compulsory' the name of the field is prefixed with a red ' *' to show that it is a required field. If I select "Optional" the domain name is diaplayed without the ' *'.

    I would like to reproduce this on a tabular presentation. If the column is necessary I want the name in the column heading to display the same red ' *', if the column is optional, I want to show the header of column as usual.
    Among the models of field for the I know the image is
    <img src="#IMAGE_PREFIX#themes/theme_17/images/required.gif">
    but where do I put to change the header of column in table form?

    Thanks for your help,
    Martin

    Hello

    Go change your columns in a table.
    And fair and necessary to end of name

    <img src="#IMAGE_PREFIX#themes/theme_17/images/required.gif" />
    

    Kind regards
    Jari

  • APEX development question form

    Running Oracle 12 c, APEX 4.2.

    I need help building a page APEX, I call it APEXLoad.  I want to make a form with three items from the list, the second of which depends on the user's selection in the first and the third is based on the user's selection in the second.  that is, a selection process list cascading

    The tables of V_ are seen in the tablespace APEX pointing to tables in another local

    tablespace.

    Step 0

    Page APEXLoad erase objects from the three previous information of the list list.

    Step 1

    Have APEXLoad do this query:

    Select V_PROJECTS.NAME, V_PROJECTS. Project of V_PROJECTS;

    and fill the object first in the list on the page APEXLoad with the names obtained by instruction select

    The user selects a name and page APEXLoad gives the corresponding project for step 2 id1

    Step 2

    Have APEXLoad do this query:

    Select V_PROJECTITEMS.NAME, V_PROJECTITEM_ID in V_PROJECTITEMS

    where V_PROJECTITEMS. Project = id1;

    and fill the second list on the APEXLoad page with the names obtained by instruction select

    The user selects a ProjectItem.name and APEXLoad page sets corresponding to step 3 PROJECTITEM_ID id2

    Step 3

    Made page APEXLoad this query:

    Select V_DATASETS.NAME, V_DATASET_ID in V_DATASETS

    where V_DATASETS. PROJECTITEM_ID = id2;

    and fill out the third list on the APEXLoad page with the names obtained by instruction select

    The user selects a Datasets.name and the APEXLoad Page sets corresponding id3

    dataset_ID and starts the script:

    SEGYLOAD. LOADDATASET (P_DATASET_ID = > 'id3',)

    P_MODE = > 'INIT')

    So, I know not how implement selections cascade or how to start the script at the end.  Does anyone have a solution for this?

    Now, it seems to work. The key point is that Javascript triggers generated cascading LOV tampered with, Action of Page handling when the value changed: submit/redirect. (sory when I suggested above, I do not see in waterfall lov handling by APEX)

    I changed the following (I hope that I forgot something):

    P38_PROJ: waterfall lov parent element: no (as it is the select toplevel)

    P38_PROJ, P38_ITEM, P38_DSET:

    Action of the page when the modified value: no

    P38_ITEM

    Read only condition type: none, or the value of point IS ZERO (instead of is not null)

    P38_DSET:

    Source: P38_ITEM no sense. Should always be null, when the current session state is null. Or some significant failure.

  • Understand the hidden on Oracle APEX page and form variables

    Hi all

    I got to know < form > < / form > apex when Paul said my glitch here:

    {message: id = 10072264}

    Now when I checked out one of the forms on the page of the APEX, I was following markup:
    <form id="wwvFlowForm" name="wwv_flow" method="post" action="wwv_flow.accept">
    <input id="pFlowId" type="hidden" value="122" name="p_flow_id">
    <input id="pFlowStepId" type="hidden" value="42" name="p_flow_step_id">
    <input id="pInstance" type="hidden" value="643064511551379" name="p_instance">
    <input id="pPageSubmissionId" type="hidden" value="3482959593030363" name="p_page_submission_id">
    <input id="pRequest" type="hidden" value="" name="p_request">
    Now, these things hidden?
    < ul >
    pFlowId < li > < /li >
    pFlowStepId < li > < /li >
    pInstance < li > < /li >
    pPageSubmissionId < li > < /li >
    pRequest < li > < /li >
    < /ul >

    On digging the question, I found four of them:
    < ul >
    < li > pFlowId: identifies the ID of the currently running application. Substitution of PL/SQL string - APP_ID (used as *: APP_PAGE_ID, NV('APP_PAGE_ID'), & APP_PAGE_ID.*) < /li >
    < li > pFlowStepId: identifies the ID of the currently running application page. Substitution of PL/SQL string - APP_PAGE_ID < /li >
    < li > pInstance: identifies the session ID for the user of the application running. Substitution of PL/SQL string - APP_SESSION < /li >
    < li > pRequest: identifies the query passed to the page of the currently running application. Substitution of PL/SQL string - REQUEST < /li >
    < /ul >
    Now my questions are:
    < ul >
    < li > what is pPageSubmissionId ? Is there any alternative of PL/SQL string for her? This is one of them:
    http://docs.Oracle.com/CD/E23903_01/doc/ doc.41 /e21674/concept_sub.htm#BEIIBAJD
    < /li >
    < li > I inspected an other forms and find the same code snippet:
    <form id="wwvFlowForm" name="wwv_flow" method="post" action="wwv_flow.accept">
    What is the wwv_flow.accept in the form action attribute? (I guess the procedure submission form) How does it work?
    < /li >
    can < li > I change the attributes id, name and method of form element? For example we have method get or a different form name or id? < /li >
    < /ul >

    Kind regards
    Kiran

    Kiran says:

    What is pPageSubmissionId ?

    See + {: identifier of the thread = 720469} +.

    Is there any alternative of PL/SQL string for her? This is one of them:
    http://docs.Oracle.com/CD/E23903_01/doc/doc.41/e21674/concept_sub.htm#BEIIBAJD

    N °

    I inspected an other forms and find the same code snippet:

    What is the wwv_flow.accept in the form action attribute? (I guess the procedure submission form)

    Guess correct. It is the process of wwv_flow.accept in the package of the diagram of the APEX_xxxxxx wwv_flow , which is commented "+ this procedure accepts virtually every page flow +".

    How does it work?

    See apex_xxxxxx.wwv_flow to Developer SQL package specification (or whatever IDE you use). Notice how the first parameters of the procedure to accept corresponding to the attributes name HTML elements entry that you have identified? Others include some that match the name of the page elements attributes (name = "p_t01" etc. - There are 100 of those: the source of the page/article in the APEX 100 limit) and 50 f01-f50 parameters in a table /apex_item- generated controls.

    Overly simplified: the browser - HTML and HTTP - specification generates an HTTP request for the form that includes all the names of form controls and the values; It is passed to the web server, which recognizes the URL and its configuration which demand must be managed by the apex_xxxxxx.wwv_flow.accept procedure and call it, match the settings in the HTTP request with those of the package procedure.

    Running an application in a browser that includes development tools that allow you to inspect HTTP requests (I use the network view in Safari Web Inspector). After sending a page, display the generated queries and you will be able to see the form data in the request payload.

    Can we change the attributes id, name and method of form element? For example we have method get or a different form name or id?

    Not in such a way that you would still use APEX.

    Essentially, this is why you use APEX: he manages all aspects of low level, leaving to focus you on the real needs of your applications.

  • APEX Ajax cascading select tabular list

    Hello world

    We are developing in APEX 4.X.

    I went to your blog 'Denes Kubicek - ApEx Solutions', it's very interesting

    http://Apex.Oracle.com/pls/OTN/f?p=31517:176:384744492803038:

    I tried to create something as did Mr. Kubicek for an Ajax cascading select tabular list.

    In step 5, he said the rest of the code if you are applying for an account. Do we need to add a lot of code to get success?

    Is there anyone who tries to do as did Mr. Kubicek?

    Thanks in advance. Good bye.

    Eric.

    According to me, that simply send an e-mail with your name.

    To access my workspace in the future

    you will need to send me an email with your name and surname
    to the following address:

    [email protected]

    I create an account for you and you send the connection details. >

    Is this not the same as your existing question? {message: id = 10031811}

  • conditional display of form tabular on item1 item2

    Hi all

    I have a form of a table with two columns.
    The first column is a list of selection with the values 'Yes' and 'No' and 'Salaried worker' of the column header.
    The second column is also a select list employee names rehired with the heading 'name '.

    What I want to achieve is the following:
    When I click on the button Add a line and click 'Yes' from the first select list, and then my second column must be a list of selection of employees.
    But if I choose 'No' from the first select list, then my second column must be a text field, so that I can fill the name employees myself.

    Is this possible, if so, can I please instructions on how to do this?
    Or are there better methods to do so, because I couldn't think of another method.

    Thank you
    Diana

    Edited by: dianap February 21, 2011 06:45

    Interesting idea. But you don't want to support this code. In this case, it is easier to do with an AutoComplete text field.

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    http://www.Amazon.de/Oracle-Apex-XE-Praxis/DP/3826655494
    -------------------------------------------------------------------

  • Save the information to textfield form section that can be hidden

    I have a table wrapped in a subform that can be hidden by clearing a check box. Each of the table cells have a textfield added with no caption and you have the possibility of Rich Text turned on. I want the end user to be able to add text in these textfields table, hide the table and save the form without losing the text that they added to the textfields. Currently hiding table erases everything that was added. This is the script that created what I added.

    + PRODUCT - CHANGE (ID:A1B267A9 - DA1B-4024-9 C 78-A7F93B3AE7D6 CRC:3540598859)

    + Type: Action

    + Result1: RemoveInstance("$Node2","currentindex","")

    + Node2: FRM-FRE-06Rev [0]. Subform2_MiddleSection [0]. TDM-Listbox [0]

    + Node1: FRM-FRE-06Rev [0]. Subform2_MiddleSection [0]. Box [0]. CheckBox3 [0]

    + Condition1: CheckBox ("$Node1", "unchecked")

    + ActionName: CheckBox3.change

    If

    (this.rawValue == '0') { }

    this.resolveNode('Subform2_MiddleSection._GDT-Listbox').removeInstance (this.parent.index);

    if (xfa.host.version < 8) { }

    XFA. Form.Recalculate (1);

    }

    }

    //-

    + PRODUCT - CHANGE NOT (ID:9174C15E-EB9E-4ABA-AF9A-937900C5C071 CRC:3118237327)

    + Type: Action

    + Result1: AddInstance ("$Node2")

    + Or: 1

    + Node2: FRM-FRE-06Rev [0]. Subform2_MiddleSection [0]. TDM-Listbox [0]

    + Node1: FRM-FRE-06Rev [0]. Subform2_MiddleSection [0]. Box [0]. CheckBox3 [0]

    + Condition1: CheckBox ("$Node1", "checked")

    + ActionName: CheckBox3.change

    If

    (this.rawValue == '1') { }

    this.resolveNode('Subform2_MiddleSection._GDT-Listbox').addInstance (1);

    if (xfa.host.version < 8) { }

    XFA. Form.Recalculate (1);

    }

    }

    //-

    It worked. Thank you very much for your help with this!

    -Don

  • Create the form for enrty of data such as oracle forms tabular block by ADF Table!

    Hi guru and Experts

    I need some solutions for Oracle JDeveloper11g which is very essential for me.

    + Q1. Is it possible to create a form master detail which block detailed will be a tabular as like oracle forms . If possible I such example? +

    Q2. How can I create a preview to the point like oracle forms overview at the point of tables?

    Q3. How can I add LOV/list items / check for a table/table column?

    Q4. If it is possible to insert a new record in the table of the ADF, so I need to save all your data by pressing a key SAVE event


    I wish you all already taken I want developed. Please give me a better solution.



    Thank you.
    Zed
    ====

    A correction to the above – if you want the table to be modified/inserted you cannot drag and drop as a master-detail, because the detail will be in read only mode.
    Instead first drag the captain and drop as a form of ADF
    Then, drag the details below and drop it as Table of ADF.

    You can drag since the operations node in the data control the operation createInsert to add a button that will add a new empty row to the table.

  • APEX: Dynamic Action with tabular column

    I'm trying to 'turn off' couple of tabular columns using Javascript and dynamic Action.

    Some fields are text, although some are LOVs type

    I have no boy of Java, so a lot of my scripts are copied and modified based on examples I see, Plse forgive me.

    If the field is a text type

    With the help of Dynamic Type of Action such as disable, use the JScript

    $('_input[name="f20"]').attr ('disable', true);

    I managed to get the disabled column...

    But I don't seem to be able to apply to the Type "select list".

    Please notify

    Hi JAS-Oracle,

    But I don't seem to be able to apply to the Type "select list".

    Step 1:

    Go to report attributes-> edit your selection list column

    under column attributes - > add class attributes of the element, i.e.

    Attributes of the element: class = "select_list.

    Step 2: Create a dynamic Action

    Event: Page load

    Action: disable

    Selection type: Jquery selector

    JQuery Selector: //dont .select_list forget to put the point before the name of the class

    Hope this helps you,

    Kind regards

    Jitendra

  • apex_item only not corrent value picking...

    Hi all..

    I have a strange issue with the apex_item.
    Don't know what I'm doing wrong.

    Please check the following example.

    http://Apex.Oracle.com/pls/Apex/f?p=64999:1

    In my case the "no column" can be null or not null, but the name"" column.
    always have the value.

    My top report has the following code...
    select APEX_ITEM.CHECKBOX(1,test_name,'UNCHECKED')||
     APEX_ITEM.hidden(2,test_NAME_NO)||APEX_ITEM.hidden(3,test_NAME) test_name_no_check,
     test_name_no,test_name
      from test_src
    The problem is...

    Please select "' 2nd or 3rd registration (only 1)'" with a null value in the "no column" and click on submit.

    surpriseingly... It becomes the bad no value to the target. Whenever this is by default the "'no value' ' to 1.

    He is picking up ""no incorrect value ""...

    This is the process code I have...
    please consider this..
    I cannot change my table structure and i cannot use rowid
    these are the limitations that i have
    begin
    delete from test_tgt;
    commit;
    FOR i IN 1..APEX_APPLICATION.G_F01.COUNT
      LOOP
        
        INSERT
        INTO test_tgt
             (
            test_name_no,
            test_name
          )
          VALUES
          (
            APEX_APPLICATION.G_F02(i),
            APEX_APPLICATION.G_F03(i)
          );
      END LOOP;
    commit;
    end;
    Please check the code with the following credentials...

    Application name: apex_item Test
    Workspace: kumar2003
    username:test_user
    password: jari

    Please help with this question...

    Kumar, Excsue me. I'm not close enough.

    I would say that the code I posted is correct, but you'd also a change of the checkbox item in your query

    FROM
    select APEX_ITEM.CHECKBOX(1,test_name,'UNCHECKED')||
     APEX_ITEM.hidden(2,test_NAME_NO)||APEX_ITEM.hidden(3,test_NAME) test_name_no_check,
     test_name_no,test_name
      from test_src
    
    TO
    
    select APEX_ITEM.CHECKBOX(1,rownum,'UNCHECKED')||
     APEX_ITEM.hidden(2,test_NAME_NO)||APEX_ITEM.hidden(3,test_NAME) test_name_no_check,
     test_name_no,test_name
      from test_src
    
    Note the change from test_name to rownum in the 2nd query.
    

    It is only verified because lines manual tabular form will be in the order of dense as you treat but actually checked lines wiil not.

    Example 3 lines, check row 2 and 3

    APEX_APPLICATION. G_F01. NUMBER will be equal to 2, however the values that you want for your insert are found in rows 2 and 3. I use G_F02 and G_F03 index, you get 1 and 2, not 2 and 3, you need. By configuring rownum in your creation of the checkbox, you now have the possibility of obtaining 2 and 3 by referring to APEX_APPLICATION. G_F02 (apex_application_g_f01 (i))

    apex_application_g_f01 (i) = 2 in this example when I = 1.

    Here is another simple example reference.
    http://www.DBA-Oracle.com/HTMLDB/t_htmldb_check_boxes_reports_regions.htm

    Also in this manual in the form of table example, you cannot sort the records using the column header sort. If you need to sort, you would in the query with the Order By statement. This is from my experience using manual tabular to the point 3.2. In 4.1, I always use tabular shapes Apex.

    Forms tabular apex 4.1 removes this restriction.

    Published by: Bob37 on March 29, 2012 12:19

  • Added new line at the top of tabular form in APEX 5.0 and universal theme (topic 42)

    Hello Apex Experts,

    When the user clicks on the button 'Add Row' a tabular presentation, I would like the new line to be at the top of the report rather than the bottom.


    I followed the instructions from Added new line at the top of table in APEX 4.0 form and Denes Kubicek demo application. But it does nothing, always create new bottom line.


    Anyone have an idea or an idea?


    Your help would be appreciated.


    Kind regards

    Blabla

    Hi all

    This problem is now solved by following the new blogpost of Dene:

    http://www.deneskubicek.blogspot.de/2015/05/tabular-form-add-rows-top-universal.html

    Kind regards

    Blabla

Maybe you are looking for