highlight with development not tabular form

more questions for beginners faq. (Where is it?  :-)
Is it possible to get the apex to highlight the element with focus?
(I'm talking a form of database not value).

Looks like it would be a very popular and he has/is something that a developer forms can be configured to do this, I thought that maybe apex would...

I'm working on the implementation of ye olde secular 'jump' where the data input focus ignores a few items in function
the value just entered the current element. I can get the move focus, but it is very difficult to see where
He went, so the question of how to clear or set and disconnected the current focus point. (And if you have the developer toolbar focus could go to an element in the toolbar :-(

Regardless of skip it or not, in my view, that it would be a great
function that must be frequently requested but I couldn't just falls on any information on how to do it.

Of course, there are other ways to do this "jump" other than to move the focus as disabling following, which must be entered according to the value of the current item? If someone has already tested all methods and wants to give an opinion on the implementation
This the best and most simple way, I'd love to hear it! (I don't think that dynamic actions are a choice for me because it)
There is a limit on the number and I think I have it would easily exceed.)

But anyway, I still want to know how to set the value of the current element in a form that is not a report.
TIA!

Published by: Lake on December 12, 2010 16:01

To highlight the field current, you need to place this code in all areas (the html form element attributes).

onblur="this.style.backgroundColor='white'" onFocus="this.style.backgroundColor='lightyellow';"

Gus

Tags: Database

Similar Questions

  • Not able to compare dates with apex in tabular form point and point

    Hello

    I need some help

    Workspace: REEMATEST

    email ID:- [email protected]

    password:-reematest

    Application No.:-52796

    page 5

    I have a table

    create the table trial_master

    (

    Identification number,

    date of act_st_date,

    date of ac_end_date

    )

    I send you the ac_end_date and the id of page 5 page 4

    in a modal popup window

    all employees associated id is displayed as a table

    whose values are fethcing of

    create table trial

    (

    Identification number,

    date of act_start_date,

    date of act_end_date,

    VARCHAR2 (1) flag.

    number of res_id);

    My problem: -.

    on page 4, please see the plsql process

    Impossible to compare dates

    Hi Reema,

    Control your process,

    you compare with the value of the element to Date with date of beginning not with the end date that is why it is updating an incorrect value.

    changing your date in the code below, columns

    in lieu of f03, f04 replaced by State, check the modified process

    DECLARE
    
    L_ACTL_START_DATE  TRIAL_MASTER.act_st_date%TYPE;
    L_ACTL_END_DATE    TRIAL_MASTER.ac_END_date%TYPE;
    
    begin
    
    FOR i in 1 .. APEX_APPLICATION.G_F01.COUNT LOOP
    
    IF  trim(upper(APEX_APPLICATION.G_F04(i))) != trim(upper(:P4_END_DATE))
    THEN
    UPDATE TRIAL SET
        act_start_date = TO_DATE(APEX_APPLICATION.G_F03(i)),
        act_end_date = TO_DATE(APEX_APPLICATION.G_F04(i)),
        FLAG='Y'
        WHERE RES_ID = APEX_APPLICATION.G_F01(i);
    
        ELSIF  trim(upper(APEX_APPLICATION.G_F04(i))) = trim(upper(:P4_END_DATE)) THEN
    
        UPDATE TRIAL SET
        act_start_date = TO_DATE(APEX_APPLICATION.G_F03(i)),
        act_end_date = TO_DATE(APEX_APPLICATION.G_F04(i)),
      FLAG='N'
        WHERE RES_ID = APEX_APPLICATION.G_F01(i);
    
    end if;
    END LOOP;
    
    end;
    

    Hope this helps you,

    Kind regards

    Jitendra

  • Fill a column with Ajax in tabular form

    Hello

    I have the following problem.

    A tabular presentation, created with the wizard and not with apex_item, has a certain LOV column with different values and attributes of the element the following call:

    1 onChange = "javascript:f_getPV(#ROWNUM#,_this)";

    The column that needs to be filled has ID = f10

    2.
    function f_getPV (pRownum, pInput) {}
    get var = new htmldb_Get (null, & APP_ID., 'APPLICATION_PROCESS is getPV', 0);
    get.addParam ('x 01', pInput.value);
    gReturn = get.get ();
    $("f10_000"+pRownum).text (gReturn); SPAN id
    }


    The application process (On Demand) looks like:

    3.
    declare
    lv_pv_sk number: = apex_application.g_x01;
    number of lv_cost_amt;
    Start
    Start
    Select dc.cost_amt
    in lv_cost_amt
    Since DC default_cost
    where 1 = 1
    and dc.power_value_sk = lv_pv_sk
    and dc.valid_till is null;

    exception
    When NO_DATA_FOUND then
    lv_cost_amt: = 0;
    When TOO_MANY_ROWS then
    lv_cost_amt: = 0;
    end;
    HTP. PRN (lv_cost_amt);
    end;

    Unfortunately, I don't have any population for the f10 ID column.

    Any ideas?

    Hello

    What HTML tag is than f10? If it is a box entry or text you cannot use jQuery text() function.
    Something like this might work then

    $s("f10_000"+pRownum, gReturn);
    

    Kind regards
    Jari

    http://dbswh.webhop.NET/dbswh/f?p=blog:Home:0

  • Get the line item id and the value dinamilly with AJAX in tabular form

    Hello

    I have a table with a Popup Lov presentation, when I select something in the Popup of some elements (in the form of table) must be filled with the value returned from a query that uses the ID of Popup Lov (return value) as a parameter.

    How can I get this value and use only for this line?

    Thank you
    Alan

    Hello

    OK - that message sounds ok to me. You would like to check the javascript code after this line to see what he does - some alert() messages can help.

    To add a blank line to a tabular presentation, you can try:

    SELECT NULL Field1name,
    NULL Fieldsname
    FROM DUAL
    UNION ALL
    SELECT Field1name,
    Field2name
    FROM Tablename
    

    or, if you use 4 Apex, you can add a few::AddRow(); in the parameter "execute when Page Loads ' the page attributes

    Andy

    Published by: ATD February 8, 2011 17:57

  • How to customize the width of fields in tabular form?

    Hi all

    I have the small demo application created on demand 4.1.0.00.23 Express. None of the pages has been created as a table. I want to customize with columns to this page. When I click on edit this page and go to the regions - report, I see a field titled "width of the column. Unfortunately, it seems that everything I put in here is ignored. The width of the column remains constant, regardless of if I put 2 or 200 as column width. How can I customize with columns in tabular form?

    Thank you for your time.

    Daniel

    danield_2 wrote:
    Blue,

    Thanks for your suggestion. This page has tabluar shape, and I do not see here of "the column definition. The content area is "Report" and when I click it, I see: "Alias"; 'Link '; 'Change '. 'Title', 'Coumn Width","The column alignment", etc.
    I tried to 20px in the "column width" and I got an "Invalid number" error when I ran this page. But if I put 2 or 200 - column is always in the same width.

    Daniel

    Hi Daniel,.

    On the page you describe with the Alias, the link, position etc. beside the column in question, there should be a link change (type of pencil icon), to get the column attributes for that particular item, you need to click on this icon. On the resulting page there is (on APEX 3.1 there is) a column formatting section of the column, you will see the scope of the CSS style there.

  • Default values & javascript in tabular form manual

    Hello!
    I have a table that shows a new line in the upper part of the report... my sql statement is in the form of:
      SELECT 
      NULL EMPNO, 
      NULL ENAME, 
      NULL MGR, 
      NULL SAL, 
      NULL COMM, 
      0 SORTITEM, 
      'N' STATUS, 
      '' MD5_VALUE 
    FROM 
      DUAL
    UNION ALL
    SELECT...etc
    I used to have default values defined in the report attributes but those lost when I started using the approach above.
    How to reference the value of an element on the page, a default value for the line empty? For example, if the element: P60_EMPNO contains the employee ID for work, I want the EMPNO field in the empty line is pre populated with this value.

    Also, I used to have a javascript function which ran "onkeypress" for a field in the new row, but now I don't know how to implement with the new tabular form.

    Thank you!
    Tammy
    (currently using APEX 3.1.2)

    Hi Tammy!

    You can replace all NULL values in the SQL statement by your default values. The only condition would be that you should have at least one field that is NULL so that the code in the process knows that the user has not completed registration. In my example, I check:

    IF vSTATUS = 'N' AND vENAME IS NOT NULL THEN
    

    Yes, as long as the status is ' only and the user has not completed the ENAME field, the record will not be created - if, however, I put a default to ENAME, IF this test would be satisfied and, therefore, a new record would be created each time the page has been sent.

    What does javascript code? The APEX_ITEM. Text() function allows the inclusion of additional attributes for the INPUT tag that will be generated. See: http://download.oracle.com/docs/cd/E17556_01/doc/apirefs.40/e15519/apex_item.htm#CHDCDHJI

    In my example, I have:

    APEX_ITEM.TEXT(5, SAL, 7, 7, 'style="text-align:right;"') "Salary"
    

    Which adds the attribute "style" to the issue of the STARTING salary. You could do something like that to add in "onkeypress =" javascript:yourfunction (...); » "

    Andy

  • Protection against XSS attacks with tabular forms

    Hi all

    I read in various items of security Apex if we create a box on a table with a report, we should set columns of type report "" display text (escape special characters, does not save the State) "" instead of "Standard report column" in order to avoid XSS attacks.

    How can I avoid this for tabular forms? Editable for my sub columns form table are defined as "text field. I tried to save the form after you enter a Java script to one of the field in the form, and it worked fine. Apex escaped special characters. But I want to confirm with the experts who are supposed to make something different? Apex automatically escapes the special characters for tabular forms?

    Please advice.

    Thank you

    RN

    Hello

    "Text field" or any other type of column in table form where you can enter data is not affected by XSS, because they always escape the value when it is displayed. Only 'column Standard report' is not secure if you do not have total control of the displayed value. But sometimes, it's intentionally use this type if you want to display values that contain HTML tags. But always be aware of potential security issue if everyone is allowed to enter the HTML code.

    Concerning

    Patrick

    Member of the APEX development team

    My Blog: http://www.inside-oracle-apex.com

    APEX Plug-Ins: http://apex.oracle.com/plugins

    Twitter: http://www.twitter.com/patrickwolf

  • How to stop records in doubles before the Save as tabular form Oracle/Developer

    Dear friends

    I want to stop duplicate records to save in tabular form of oracle developer.

    For example

    I have a tabular form and there are three fields.

    Vendor_id Item_id Qty.

    1                  37630         1

    1                  37630         4

    Above in double item_id should not be saved.

    Help, please

    Concerning

    Why not make a unique constraint on the database?

    Kind regards

    Zlatko

  • problem with adding line in tabular form after that put 4.1.1 to level

    We have recently installed the Update 4.1 .1. We now have a problem with some of our tabular forms created using the wizard. The delete and update feature works fine, but when trying to insert a new record, it will insert only the first record, but after that, it will no longer inserts. It acts as ApplyMRU (updated online Multi) is not at all shooting. No success or error message. I tried to create forms based on the rowid and also on the suites (with and without triggers), and they all behave the same way.

    This happens both in IE and Mozilla. Tabular forms were working fine before the upgrade.

    Everyone knows this?

    We just hit this issue and thanks to this thread and a light bulb above my head, resolved this question today. There is more to the story. Copy the necessary images in place works, but get the full version 4.1.1 images.

    We were already on 4.1.0.00.32, so I applied only Patch 13331096 upgrade to 4.1.1.00.23. Patch 13331096, at least one that I downloaded a few weeks ago IS NOT ALL OF THE NECESSARY IMAGES.

    Fortunately, I thought to download both. When I did a number of files in the directory images between the full version and the patch, the County came up short for the patch.

    If you have this problem, get your hands on the full release 4.1.1.00.23, NOT Patch 13331096and copy these files to image in place. Who sets the we.

  • 'Length' is null or not an object for tabular forms V4 error

    Hi all

    We have recently updated our applications APEX of version 2 to version 4. We use many tabular forms in various applications that worked fine before the upgrade.

    Since the upgrade, when we run the pages in a table we get an error JavaScript 'Length' is null or not an object and the button "Add row" everything hangs and does nothing.

    We tried to remove one of the forms in table form in an application, and then re create it in the same application unsuccessfully.

    We then tried to create a new application from scratch, then creating the same page (which did not work in the previous sentence) and it works well.

    Of course we can just delete applications that contains a tabular form and then begin to recreate them from scratch.

    Someone had a similar problem? I Googled it and a few people have mentioned similar problems with v4. Is this a bug in APEX v4?

    Thank you

    Hi Cashy,

    Unfortunately, you will have to do for each application. Go to shared components

    1) go to themes
    (2) click on create
    3) repository
    (4) choose your new theme
    (5) create the new theme
    6) click on "change the theme.
    (7) check that the mapping is ok
    8) click 'Remove the theme' to remove the old theme

    But to make it easier to change the templates in all your applications in the future I would say the following steps.

    (1) create a new application "Main Theme" and choose the new theme you want to have.
    (2) copy this application and call it "new model of demand."
    3) go to shared Component\Templates
    (4) for each model of defined "Reference Master model of" in the region of "Subscription" for the same model in the application "main Theme".
    (5) I would also say to remove these themes you don't want that developers use in application here (eg. variations of different button model,...)
    6) go to shared Component\Themes
    7) click on "export theme".

    For each application:

    1) go to Components\Themes shared
    2) click on "import theme."
    (3) choose your exported theme
    6) click on "change the theme.
    (7) check that the mapping is ok
    8) click 'Remove the theme' to remove the old theme

    The advantage is that if you change a model in your theme, you just make the change in your 'Main Theme' application and publish it on applications that have subscribed the theme.

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

  • In tabular form button to start the procedure with parameter

    I have a column in my table presentation that calls a procedure.
    I got this works with dynamic action related to a jquery selector.

    Now this procedure (called dynamic action) takes a parameter. I need to pass the value of the column, the ID of the line. (it is the value in the column that appears as a button)

    How to use this value in my procedure?
    I tried to pass this value in the column link attributes to a page element, but this action is performed after the dynamic action is called.

    Thanks for som advice!

    jstephenson wrote:
    You should be able to try something like this: javascript:callMyPopup(#ROWNUM#). I do it on a column derived in tabular form. Inside of my callMyPopup I have also to retrieve a value from one of the other fields on the line. You should be able to check your html code to get the correct f0X id. Here's a piece of the callMyPopup function
    If (bow<>
    {
    psearch = document.getElementById('f05_000'+pRow).value;
    }
    ElseIf (bow<>
    {
    psearch = document.getElementById('f05_00'+pRow).value;

    I hope this helps.

    Thank you

    Jeff

    In fact, instead of these cases the conditions you can use an existing table:

    document.wwv_flow. F05 [Prow], which gives you the item. You can then access any property of this element you want. ID, value, name etc.

    Trent

  • Insert only not updated in tabular form

    Hi friend

    I want to insert the value using tabular form, but I don't want to update the value in a table.
    in fact I create a page with sub form of table and I select to update and insert option but here I want to insert value only in the table.
    Is it posible.

    How can I do that.


    Thank you
    Maury

    Maury:

    You can simply remove the buttons and the process of page corresponding to the Insert actions & update of the definition of the page.

    CITY

  • problem with checkbox on the tabular form

    (All my friends at the time of deperate) Hi,

    I have a tabular form on a page, which I use for adding record only. So it always shows me a blank line, which is ready to be inserted after the user has filled in the data and click on the "submit" button.

    Now, I have a field check box on this form of table. Since all the columns that I show as null, I also shows this check box cleared when page appears. This is the query for the region of origin of this form:

    SELECT "Customer", null
    NULL "currency."
    HTMLDB_ITEM. CheckBox(40,'YES',null) critical_box,
    OF the double

    I used the 'YES' as return value of this checkbox (when the user checked, otherwise I guess that's not equal to 'YES').

    I have my own update process, which gets triggered when clicking on 'submit '.
    It's my insert clause in this update process:
    INSERT INTO table1
    (customer, currency, critical_level)
    values
    (APEX_APPLICATION.g_f01 (i), APEX_APPLICATION.g_f02 (i), decode (APEX_APPLICATION.g_f40 (i), 'YES', 'YES', 'NO')


    Now the problem is that when I click on checkbox and save it, it adds record correctly. But when I click on check box when you insert, I get error message no data available. It must insert 'NO' for the 3rd column when the check box is not clicked.

    Please help here. Not sure why its not giving no data found error when unchecked the checkbox on the form of tables.

    Thank you and best regards,
    Rave.

    Sorry, this one is out of date, try this

    http://HTMLDB.Oracle.com/pls/OTN/f?p=31517:219

    Here are a few related threads you might be interested.

    Re: Boxes to check off and go to the other fields in the table
    Re: Problem in selecting the checkbox values
    Tabular presentation - box

  • Tabular form on a synonym

    Hi all

    I work with Application Express 4.1.1.00.23 on
    Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
    PL/SQL Release 10.2.0.5.0 - Production
    CORE     10.2.0.5.0     Production
    TNS for IBM/AIX RISC System/6000: Version 10.2.0.5.0 - Productio
    NLSRTL Version 10.2.0.5.0 - Production
    I create and successefully test my application in which I use DML on myTable and I have a tabular presentation on myTable.


    Can I move my table on a different database that is
    Oracle Database 10g Release 10.2.0.3.0 - 64bit Production
    PL/SQL Release 10.2.0.3.0 - Production
    CORE     10.2.0.3.0     Production
    TNS for IBM/AIX RISC System/6000: Version 10.2.0.3.0 - Productio
    NLSRTL Version 10.2.0.3.0 - Production
    I create and successefully test a dblink and a sysnonym from myTable.


    When I test the tabular presentation error ORA-00942: table or view does not exist (row 1) is triggered.
    Is it possible to use a tabular form on a synonym?
    I try DMLvia Apex workshop SQL > SQL commands and it works.

    Thank you all for any help or suggestion.
    Alex.

    Hi Alex,

    Means on a Table with data link does not work with APEX. You can work around by the definition of a view on this Table, which will work with the TabForm.

    brgds,
    Peter

    -----

    get syntax highlighting for Application Builder: http://apex.oracle.com/pls/apex/f?p=APEX_DEVELOPER_ADDON: SUBJECT: 0:

    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    BuilderPlugin: http://builderplugin.oracleapex.info
    Work: http://www.click-click.at and http://www.wirsindapex.at

  • Hello! questions asked by a developer of new forms of Apex

    Hi all!
    I am a developer of forms since 1998 and I was looking at the apex since version 3.2
    I am really impressed with version 4 and the next 4.1 news, so tonight I decided to go for it take a look at it!

    My first question is about the design of data base:
    It seems that apex encourages the design of pk id number and not another approach.
    for example, I have a table user_group:
    ug_group varchar2 (5) pk
    ug_description varchar2 (50) not null

    When I create a simple tabular form the pk is retrieved and then in the next step i wonder to 'Set the source for the primary and foreign key columns' Existing sequence etc...
    So I created a custom pl/sql (return null) to go...
    When I start my page I see only available for update or insert description field, what can I do with my pk varchar?
    So, I wonder about my design? Should I need to rework my table and make the id of way? or is there another solution?

    Another question (generally a matter of forms developer):
    What enter and execute query functions? Is it possible to have the same, or is the standard way to have default search results?

    Thanks for your attention
    Concerning
    Jean-Yves


    ---------------------------------------------------------------------------------
    | version: apex 4.0.2 with the latest patch on database 11 g 2 |


    other 2 are post wrong poster...
    ---------------------------------------------------------------------------------

    Published by: Yves Bernier on August 17, 2011 20:55

    Hello

    Default Apex Hides the primary key column and assumes that it will be a numeric field used to create relations only and not for data entry. However if you want to manually enter the primary key you can display the column (which in fact instead of hidden text element).

    So, I wonder about my design? Should I need to rework my table and make road id? or is there another solution?

    It seems to be a better way to have a numeric ID field, but it is not a must.

    What enter and execute query functions? Is it possible to have the same, or is the standard way to have default search results?

    N ° it's different in the Apex and my humble opinion, it is much better than Enter/Execute Query. Whenever you create a form, you get option to create 'A form with the State', so it creates an interactive report with the data entry form. For example, you can search for interactive report and edit link allows you to change the recording.

    Just for you information in a table and not much in the Apex as other (non-tabular) forms are powerful. People including Oracle Forms really want because they make better.

    Lavenu
    MaxApex accommodation
    http://www.maxapex.com

Maybe you are looking for