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

Tags: Database

Similar Questions

  • Tabular presentation - column to turn it off (with picture) based on another value of the column

    Hi all

    I haven't worked much on tabular forms and JS. I'm looking for help in this regard.

    I'm working on a tabular presentation. with several editable fields... I need to disable a column (just for this single line), which contains an image, based on a field of LOV (static) list) (Y/N). The image column must be disabled if the value is N.

    My SQL for the report is something like this: (will keep things simple)

    Select

    emp_id,

    emp_name,

    static_list,

    (case when STATIC_LIST = "Y" THEN ' < a title = "Edit SAMPLE TBL" href = "f?) p = & APP_ID.:10: & APP_SESSION.:NO:P10_EMP_ID, P10_EMP_NAME :'|| EMP_ID | «, » || EMP_NAME | "" "> < img src =" "#IMAGE_PREFIX #SAMPLE.gif" border = '0' (> < /a > ' other ' ' end) as disable_col, "

    dept_name

    of sample_table

    I scoured the topics in this forum. Most of them were made using the table ID f_001, f_002.

    I tried to follow the same path by inspecting the item but the disable_col does not have any ID.  Let's say, f_003 is for the static list and f_004 is assigned to dept_name.

    I tried dynamic actions, but it did not work. Read in a topic that dynamic action does not work on tables. So I chose this approach. Is there a simpler way to solve this?

    need your help on how to proceed with this scenario. Thank you in advance.

    Versions: Apex: 4.2, DB: 11 g

    Thank you

    Daniel

    Hi Daniel_A,

    Daniel_A wrote:

    I did my job in Page 4.

    If the IS_VALID column is select as 'Yes' then the column hyper must be enabled, allowing the user to click on it. If she chose the 'no', then the column Hyper must be disabled for this line.

    The initial question about toggle the hyperlink is resolved. Check your App-> Page 4 35160.

    This is done with the help of two dynamic actions:

    • DA first loading of the Page / after updating of region "tabular":

    Event: After refresh

    Selection type: region

    Region: The other 'tabular '.

    Condition: No strings attached

    Action: Run the JavaScript Code

    Fire on loading the Page: Yes

    Code:

    $( 'select[name="f08"]' ).each(function() {
      if ( $(this).val() === "N" ) {
        $(this).closest("tr").find('td[headers="HYPER"]').find("a").addClass("apex_disabled").unbind("click");
      }
    });
    

    Items concerned: no item affected

    • Second DA on the evolution of the selection list:

    Event: change

    Selection type: jQuery Selector

    jQuery Selector: select [name = "f08"]

    Condition: No strings attached

    Action: Run the JavaScript Code

    Fire on loading the Page: No.

    Code:

    var el = this.triggeringElement;
    if ( el.value === "N" ) {
        $(el).closest("tr").find('td[headers="HYPER"]').find("a").addClass("apex_disabled").unbind("click");
    } else {
        $(el).closest("tr").find('td[headers="HYPER"]').find("a").removeClass("apex_disabled").bind("click");
    }
    

    Items concerned: no item affected

    NOTE: as the original question/topic related to toggle the image link in the column, for the problem with the Page 5, please create a new thread with the details.

    Kind regards

    Kiran

  • Update column as a popup LOV with dynamic action

    I'm trying to update a column in a tabular form, based on a change in column LOV in this tabular form. It is not just id/description, I need another column.

    I can get the change event is triggered, it is the javascript code to change the value of the field, that I can't go to work. I tried a number of solutions forum, but could not get to work. The LOV field is F07, the update field based on a query if F05.

    I tried this technique but could not go beyond "closer", which did not work.

    var line, priceelement, testelement, getpriceajax, price;

    TestElement = apex.jquery('#'+this.triggeringElement.id);

    line = testelement.closest ('tr');

    priceelement = row.find ('[name = 'PRICE']');

    getpriceajax = new htmldb_Get (null, $v ('pFlowId'), 'APPLICATION_PROCESS is get_price', $v ('pFlowStepId'));

    getpriceajax.addParam ('x 01', $V (this.triggeringElement.id));

    price = getpriceajax.get ();

    priceelement. Text (Price);

    I tried this kind of reference that did not work:

    $("td [headers = 'SAL'] input: visible: eq (2)")

    var line

    bliId

    bliNbr

    getBliNbr;

    bliId = apex.jQuery (this.triggeringElement);

    Console.log (bliId);

    line = bliId.closest ('tr');

    Console.log (Row);

    bliNbr = row.find ('input [name = f05]');

    getBliNbr = new htmldb_Get (null, $v ('pFlowId'), 'APPLICATION_PROCESS is GET_BLI_NBR', $v ('pFlowStepId'));

    getBliNbr.addParam ('x 01', $v (this.triggeringElement.id));

    var ajaxResult = getBliNbr.get ();

    Alert (ajaxResult);

    bliNbr.val (ajaxResult);

    1 / testelement = apex.jquery('#'+this.triggeringElement.id);

    There is no need that you already have a reference to this point with this.triggeringElement. Effectively, you take the ID of it and re - get.

    2 / bliNbr = row.find('input[name=f05]');

    In your code example, the element is f05 and not 6

    3 / var ajaxResult = getBliNbr.get ();

    do it once only, the get() method. If you call it several times, then the call also will be several times. Because the get() method is synchronous means also that it locks the browser to the top, and so several calls cause longer periods of absence of response.

    I also did an example of apex.server.process, who is currently in your demo application. You can find documentation about it here: The JavaScript API

    var line

    bliId

    bliNbr

    getBliNbr;

    bliId = apex.jQuery (this.triggeringElement);

    Console.log (bliId);

    line = bliId.closest ('tr');

    Console.log (Row);

    bliNbr = row.find ('input [name = f05]');

    /*

    getBliNbr = new htmldb_Get (null, $v ('pFlowId'), 'APPLICATION_PROCESS is GET_BLI_NBR', $v ('pFlowStepId'));

    getBliNbr.addParam ('x 01', $v (this.triggeringElement.id));

    var ajaxResult = getBliNbr.get ();

    Alert (ajaxResult);

    bliNbr.val (ajaxResult);

    */

    Apex. Server.Process ("GET_BLI_NBR",

    {' x 01 ": $v (this.triggeringElement.id) '},

    {the data type: 'text', success: {function (pData)}}

    Alert ("complete:" + pData);

    bliNbr.val (pData);

    }});

  • How to use a Select list on a second primary key column in a tabular presentation?

    Hello

    I created a tabular presentation located on the details page of the user (form), that allows to manage roles for this user.

    The shape of table contains 3 elements:
    -> a checkbox
    -> user (PK) column is hidden, and its default value is generated by a function pl/sql (to submit the time), which refers to the element to username.
    -> the role of the column is displayed as a named select list LOV: add you a line, choose a role, submit, etc..

    But my ROLES table (not created by me...) contains 2 columns: USER and GRANTED_ROLE.
    The USER is the primary key, but a user can have multiple roles (= one line per role).
    GRANTED_ROLE is the second primary key, so that we can differentiate between one line of another.

    At the moment my tabular form has only one primary key (USER), so the GRANTED_ROLE can display as a list select.
    But, for this reason, in my opinion, remove the button do not work: all the lines of the user have the same key, so when I select a few lines to remove these, all lines in the form of tables are deleted.

    I don't know how my button Delete could recognize the subkey to remove only selected rows...
    Or maybe I should use a different type of region?

    Thanks for your help!
    Fanny

    In the process of ApplyMRD, try to specify the 'secondary key' column in the section "Source: Multi line Update and Delete"to the second column key in tabular form.»

    I have not tested this with your situation, but worth it.

  • Changing data in a tabular view with Oracle MAF

    Hello.

    I need to change data in the table view, which component you would recommend me?

    I use the "TABLE LAYOUT" component, but it is very uncomfortable when I try to change data on each row because it has lost focus on the selection.

    Hello

    There is no component entry in table form in the CRG at this stage. The disadvantage - as you mentioned - the use of tabular layout with an iterator is that you must follow and set the current line in the link layer

    Frank

  • Forms 6i - trouble with builtin COPY

    Hello together.

    I have trouble of som with the COPY of builtin-procedure but to explain it, I have to say more about the entire form.

    The form has a non-base of data block called nodb_ckc.
    In this block, there are 5 Textitems with the names: item_1, item_2,... item_5.
    On this article, I created a when_validate_item trigger that starts the procedure with the problem.
    There are also 5 elements whose names: show_1, show_2,... show_5.
    These are view-only-elements.

    The procedure itself has the following task:
    * Check if it is contained in the item_x areas.
    * If there is a content get through selection of a string and write it in the field of show_x with the same number.
    * If there is no null entry in the field of show_x with the same number.
    To shorten the code I use a loop from 1 to 5 and the copy procedure instead of the variable: =: block.item syntax.

    The code is:

    procedure get_show is
    number of v_item;
    Start
    for x in 1.5
    loop
    -remove the variables
    v_item: = null;
    -padding variable
    copy ('nodb_ckc.item_' | x, v_item); -code leave here
    -get data
    If v_item is not null
    -If the field is not null then restart get_data (external service)
    copy (get_data (v_item), 'nodb_ckc.show_' | x);
    end if;
    end loop;
    END;

    When I have a good entry in the first field item_x the trigger is activated correctly but abort on the part marked with this error:
    FRM-40738: builtin COPY 2 Argument cannot be null.


    I hope someone can help me or tell me another way to solve this problem.
    Oh - and sorry for my bad English. ;)

    Stefan

    I guess you want to get the value of this element in the variable v_item here

    copy ('nodb_ckc.item_' | x, v_item); -code leaving

    If so, you must use NAME_IN, as

    v_item:= NAME_IN('nodb_ckc.item_'||x);
    

    Published by: Andreas Weiden on 08.08.2012 19:51

  • Spry form validation Date with default value error

    The spry form validation below was created with DW CS6

    I created an HTML form and displayed with PHP to a MySQL database.  One of the lines of form is to enter a date.  This line uses a 'out of the box' sprytextfield data validation without changes to its CSS or JS:

    HTML

    < span id = "sprytextfield1" >

    < label for = "servComDate" > Date beginning? < / label >

    < input type = "text" name = "servComDate" id = "servComDate" >

    < span class = "textfieldRequiredMsg" > a value is required. </span >

    < span class = "textfieldInvalidFormatMsg" > Invalid format. </span >

    </span >

    < script type = "text/javascript" >

    var sprytextfield1 = new Spry.Widget.ValidationTextField ("sprytextfield1", "date", {index: "00/00/0000", format: "mm/dd/yyyy"});

    < /script >

    On request, the form value is captured via PHP and date format is converted to a format of MySQL before entering in the database.

    PHP

    $servComDate = date ("Y-m-d", strtotime($_POST['servComDate']));

    It all works perfectly.

    Now, I created another page with a HTML form to change information.  First, PHP takes the field in the database and converts it to MySQL format to the format used in the sprytextfield above, in which it was created.

    PHP

    $servComDate = strftime ("% m/%d/%Y", strtotime ($row ["servComDate"]));

    Then the HTML form is filled with existing value

    HTML

    < span id = "sprytextfield1" >

    < label for = "servComDate" > if the Service is coming soon, do you know when the service will begin offered? < / label >

    < input type = "text" name = "servComDate" id = "servComDate" value = "<?" PHP echo $servComDate;? > ">"

    < span class = "textfieldRequiredMsg" > a value is required. </span >

    < span class = "textfieldInvalidFormatMsg" > Invalid format. </span >

    </span >

    By filling in the form with existing value appears with the right in the box format, it shows these 'mistakes ':

    value is required. Format invalid.

    As I said above, I have not changed the CSS or JS that is loaded with the Spry textfield, so I don't get that here.

    I'm obviously something wrong with pre-filling a Spry textfield with a default value.

    What is the real need have a default value on a Textfield of Date Validation Spry?

    Thanks in advance!

    Make sure that, in the page change the constructor looks like

    var sprytextfield1 = new Spry.Widget.ValidationTextField ("sprytextfield1", "date", {index: "00/00/0000", format: "mm/dd/yyyy"});

    The following works fine for me

    ">

    A value is required. Format invalid.

    GRAMPS

  • Tabular report with more than one line by line

    Hello

    I designed a sort of Gallery page, a tabular report with only two small columns per line: a thumbnail from a BLOB column and link textual branching to a page showing the full size image with a bunch of textual information on this subject.

    As you can guess I look at the title of the topic, my concern is to display more than one (say 3 or 4) this line by line, in order to avoid a very long 'portrait' page with a lot of white space on the left and right.

    Is there a (not too complicated) way to do it? I might design a special model (?), but I'm not very used to style sheets and stuff.

    Thanks in advance.

    André

    Re: report columns of the SQL query for a couple of ways to do this.

    As your main concern is to maximize the use of horizontal space, custom report template/CSS approach would seem more appropriate, as the number of columns is not resolved.

    It is also possible to do using CSS inline-block property and given that it is now feasible cross-browser and less side effects and potential problems that the use of floats is probably the way to go.

  • How can I find the music marked with an exclamation point in my itunes library?

    How can I find the music marked with an exclamation point in my itunes library?

    Hello there rdgernnr!

    I certainly don't want to find the songs that show the "!" and get them to play correctly. If you have not yet done it, read this article: If you see an exclamation point next to your items in iTunes - Apple Support

    More precisely:

    Correct the path of the media file

    Follow these steps to help find the correct location of the file iTunes media:

    1. In iTunes on your Mac or PC, select the song, album, movie, or television show that has the exclamation next to him.
    2. In the MenuBar at the top of your screen, computer or at the top of the iTunes window choose Edition > read the information.
      If you are using Windows and you don't see the menu bar, Learn how to turn it on.
    3. When you see a message asking if you want to locate the file, click search.
      • If you know the location of the file, point to it iTunes and try to read your content.
      • If you do not know the location of the file, search for it:
        Mac: Press ⌘ and space control your keyboard, and then type the name of the movie title, app, song, album or artist.
        Windows: Press the Windows on your keyboard, and then type the name of the movie title, app, song, album or artist. If your keyboard does not have a Windows key, press the Escape (Esc) and control (Ctrl) on your keyboard.
      • If the file is on a network drive or external, plug on the volume of disk or external network.
      • If you find your objects in the trash or recycle bin, restore them to their previous location:
        Mac: Control-click or right-click on the item and choose put back.
        Windows: Right-click on the item and choose restore.
    4. Once you retrieve the file, use Get new Info to locate the file, and then point iTunes to the correct location.

    See you soon!

  • How can I clean registrations recently marked with a bookmark without removing the bookmarks in the folder in the library?

    When I click on the star to mark a site, it goes into the area recently marked with a bookmark in the library. I do then drag or cut or copy and past in a folder that I already have in the signet library, but it does not disappear of the recently marked with a bookmark. If I remove it from the recent, it also gets deleted from the folder in the library.
    What can I do to keep them in the folder but remove it from the bookmark recently?

    'Recently signet' is what we call Smart Bookmark that shows the result of a query in a list and place is not a real existing folder.

    • "Most Visited" and "Recently set bookmark" and "Recent Tags" are examples of what is called Smart Bookmarks folders and are not the real existing folders.
    • Smart folders show a list created by a query of the places.sqlite database that stores the bookmarks and history in Firefox.
    • Smart folder lists show a maximum of 10 entries by default.
    • Bookmarks and history items that appear in a list of smart folder are also stored in another file, and any changes are applied to the element of bookmark or true story.
    • If you delete an entry then the list is shifted upward and an entry that was not previously identified is added to show the 10 entries.
    • If you add a new bookmark or visit a Web site, then a new element is added at the top and disappears from the entrance at the bottom of this list.
    • Objects but that disappear from the list have not disappeared, just not more appear in this list.
    • Actions such as copy & paste, or delete that you perform on bookmarks in such a list is made on the original bookmark.
    • If you do not want a specific list and then extract this query (right click: delete), but do not delete the content that is displayed in a list.
  • Problem compiling forms in weblogic with oracle database 10 g 2

    Hi all,

    I have weblogic 10.3.6 with Forms services under redhat5, I compiled a form with a user under a database11g and the .fmx file is generated, oe n I a database 10 g 2, when I tried to compile the same form with a user in the context of this DB it give me "has not created the form" nd when I checked the problem I found that it gives me the problem in each statement that connect to the database (select call procedure...) have you ideas, thank you for your answers

    Hamid yes I am able to connect to the database 10g, I did some research and I found that weblogic Forms services work with DB 10.2.0.4 or we have to DB11g, so we will know our customer is.

  • Can the files marked with colors, flag, grouped

    DreamWeaver CS6

    The root folder becomes bigger and bigger with *.html and *.php files. and sometimes I lose ccontrol of which files go hand in hand.

    In Photoshop, you can give layers unique colors, place in a group.  Other programs can files marked with flags of different colors, What are the possibilities of Dreamweaver?

    To know which files belong together I would like to stay , mark them, as they delay of other files.

    When I need to edit some files unique, I can quickly see what files go hand in hand.

    I cannot use of subfolders and file names I can not change because he downloaded models

    Photoshop is nothing like Dreamweaver.  If not, there is no way to group files other than putting them in the well named subfolders.   A typical web site might look like this:

    SiteName (C:\SiteName)

    index.php

    about.php

    contact.php

    Includes

    Header.php

    footer.php

    menu.php

    Images

    Image1.jpg

    Image2.jpg

    Styles

    Layout.CSS

    Typography.CSS

    Print.CSS

    Scripts

    contact_script.php

    slideshow.js

    Templates

    layout1 - col.dwt

    Layout2 - col.dwt

    layout4 - col.dwt

    Nancy O.

  • I need to rename a column for a tabular presentation

    How to rename a column, I created for a tabular presentation?

    I added a new column to a tabular presentation (using 'add a new link in the column') and he gave me a name of column, called "link column. I tried to change, but it does not - note: I can't change a sql column does not exist outside Apex - I created it for the display of a calculation.

    I don't know that it can be done as I did before.

    change the column name photo columnnamechange.png

    Does not change the name of  photo colunnamechange.png so cannot reference in my calculation

    Well, I found a way to do it anyway. This should be changed in the definition of region > source.

  • When I use my clipping on an image mask, fills the form I use the whole layer instead of just being a small shape Panel and then I put my picture on the shape layer, a clipping mask, but the form becomes clear with just a slight edge. The photo behind

    When I use my clipping on an image mask, fills the form I use the whole layer instead of just being a small shape Panel and then I put my picture on the shape layer, a clipping mask, but the form becomes clear with just a slight edge. The photo behind it does not move. I did this project of class before and it worked fine so I'm not sure if I have something started or... Any thoughts?

    I thought about it. That's all just stupid on my part and a bit of frustration because photoshop is my sworn enemy of then adobe added in. Thanks tho!

  • Photoshop CS3 does not start with popup indicating that "licensing for this product has stopped working" I tried uninstalling and reinstalling 3 times, including after you run CCCleaner tool.  Any help would be appreciated?

    Photoshop CS3 does not start with popup indicating that "licensing for this product has stopped working" I tried uninstalling and reinstalling 3 times, including after you run CCCleaner tool.  Any help would be appreciated?

    Same fixed.  At executed license repair tool, Adobe - Adobe licensing repair tool, and it fixed the problem.

Maybe you are looking for

  • Y at - it a shortcut to the address bar?

    Not likeCTRL + K for the search bar then SHIFT + Tab.orF6 then tab (and in some cases another tab) If there are shortcuts in the address bar, then why isn't it listed here: https://support.Mozilla.com/en-us/KB/keyboard%20shortcuts?as=AAQ If there is

  • Subject: Driver issues in Satellite A105-S4064

    I recently had to wipe a laptop Toshiba Satellite A105-S4064 of my fiance because of many viruses and spyware. I did the reinstall with XP pro. She had none of its original CD that came with the laptop, so I had to try to download all my drivers on T

  • MacBook pro not recognizing the correct password when connecting

    When I try to login, it rejects the password - if I change username, then return that he recognizes her!

  • munmap network drive on ICB

    Hi all Inside a CVI 8.1.1 program, I needed to find out if a logical drive letter, hides a network drive mapped or not. For example, I would like to know if f:\mydir is really a directory of my drive hard f: or if it is \\server\mydir (where \\server

  • Too long and too big display settings, can not reset!

    I tried to do the CIO more then my husband could better see the screen, but now everything is elongated and too big! When I go to display settings, I can't reset because the 'Apply' button is off the screen and I can't click on it! Help!