Need help, of a text field automatically updated when you select menu drop-down.

I have difficulties to do something not work for me. First off the coast, I'm a newbie at the APEX and I am teaching with APEX 4.0. I am developing a project management application for my Department. On my page, I have a list drop-down project number and the project name text field. I want the name of project to be completed when I select the project number in the drop down box text. someone knows how to do this?

OK, you will need to use an alias for the display value and the return value as you can see in my code, this is still once using your code:

select PROJ_NUM||'--'||PROJ_NAME d, PROJ_NUM return_value
from PROJ_TASKS
order by 1

-I just added the alias d because you already have an alias of the value returned

Tags: Database

Similar Questions

  • I think it would be helpful if when you open the drop-down list for a 3D object keyframe controls have the same color as the 3D arrows in the project window.

    3D colors.jpgI think it would be helpful if when you open the drop-down list for a 3D object keyframe controls have the same color as the 3D arrows in the project window.

    You can suggest that here:

    Feature request/Bug Report Form

  • Can not get a text field to atuo fill based on a drop-down list selection

    I have a drop down box with 3 values that can be selected:

    Dropdown2 is 101-3 subd. A

    101-3 subd. B

    101-3 subd. C

    I'm trying to get a field of text automatically fill based on selection:

    If Dropdown2 = 101-3 subd. A Text4 then = 'a. '.

    If Dropdown2 = 101-3 subd. B then Text4 = 'b. '.

    If Dropdown2 = 101-3 subd. C then Text4 = 'ValueC.

    I tried to create a custom for Text4 calculation script:

    var v = getfiled("Dropdown2").value;

    If (v = "subd 101-3. A") event.value ="A."

    ElseIf (v = "subd 101-3. B") event.value ="B."

    ElseIf (v = "subd 101-3. C') event.value = "ValueC."

    else event.value = "";

    I walked into this script and syntax seems to be OK. (At least for Acrobat XI.  I'm not know programmer and have just enough knowledge to be dangerous).  When I select a value in Dropdown2 nothing happens.  No value appears in Text4.  I checked the "selected value immediately commit" in the Dropdown2 option by google'ing.  I don't understand why the values do not appear.  Any help would be appreciated.

    Thank you

    You made a mistake... The comparison operator is "is" (or ' = '), not of '=', which is used to assign a value.

    So replace all these:

    If (v = "subd 101-3. A")

    To do this:

    If (v is "subd 101-3. A")

  • Change the border color of text field based on a value from the drop-down list

    I have a dropdown menu with 4 choices of priority for maintenance.  With a javascript script, I need to be able to select a 'priority' in a list box and a text box border then color with an appropriate color.

    'High priority' with an export value of 0

    "Medium priority" with a value of exports of 1

    'Low priority' of an export value of 2

    "When the time allowed" with a value of exports of 3

    When one of these selections has been filed, a text box becomes available in order to write the gap. My goal is as follows.

    When "High priority" is selected, the border of the text box where you write the gap would blush.

    When "Moderately urgent" is checked, the border around the text box where you write the gap would turn yellow.

    When "Low Priority" is checked, the border of the text box where you write the gap would become green.

    When "when she allows" is checked, the border around the text box where you write the gap would have turned blue.

    Otherwise, the border would be white.

    This form will be used ultimately on an iPad using Expert PDF under the player.     I use Acrobat X to create the form.

    Any help would be appreciated.

    Yes, I accidentally left a hug. I can fix it so it won't be a problem if someone tries to use it. Happy that you guessed it work.

    To handle resetting, you can use a script to validate drop-down list:

    Script to Validate drop-down list

    If (event.value = "" "") {}

    getField("discrepancy_1").strokeColor = color.white;

    }

  • How to make a text field is empty when you click on to.

    I have an input text box, if the user clicks "submit" and the box is empty, it returns "Please enter here response" in the input box. Is there a way to make sure when the user clicks in the box, it will turn back to white and be ready to type rather than having to select existing text, to delete?

    Thanks :)

    Yep, use the onSetFocus method.

    my_text_field_instance_name.OnSetFocus = function() {}
    my_text_field_instance_name. Text = "";
    }

    but be careful here, because if the user fills in that information, then click on the text field and then on again, the text will disappear, you will need to use a combo with onKillFocus or if increased... play with him. its real simple

    Corey

  • Drop-down lists of the fill of the text fields on a different page from the drop-down list.

    Hi all

    I have a form with multiple pages. The first page contains a number of drop-down lists. These lists, drop-down list when the option is chosen, must complete a field text on another page. I can get the drop down menu to populate the text field when it is on the same page, but as soon as I move the text field to another page, the script does not work. Can anyone offer a solution? I used javascript on the changes to the scripts.

    Every time reference you the other object... so I guess in the code located on the DDlist.

    Paul

  • Need help to stop my Zoom to change when you use the integrated mouse

    I would like to know if anyone has a solution to my zoom change randomly when I use the built-in mouse. Is it possible to block the zoom so it does not change.

    Control the Touchpad settings in Control Panel.  My ASUS Netbook has a 'two fingers' feature that performs the zoom in things like IE and Word and it's pretty easy to operate inadvertently (another feature is two-finger scrolling, which I use frequently).  If your touchpad driver has such a feature, you may need off "awareness", it or turn it off.  Most modern/current notebook computer touchpad drivers have these characteristics, and many are turned on in different, often easy to do unintentionally, average.

    HAL
    --
    HAL Hostetler, TCE
    Engineer senior/UPDATED--MS MVP-Print/Imaging - WA7BGX
    www.kvoa.com - KVOA television, Tucson, AZ.
    Live Hot Licks - www.badnewsbluesband.com
  • Need help to try to "include vector data" when you save an EPS? Anyone?

    Although I've done several times before, I just can't understand why the checkbox "include vector data" is grayed out.  I work in CMYK mode - I placed my business as a smart object as usual - logo and none of my layers have applied effects.  Scratching my head right now.  It is a format large poster so I will certainly need to fix this somehow.  Any guidance would be greatly appreciated.

    You must have a layer with a vector mask applied to the function is displayed.

  • Help! I have a white line around my spry menu drop-down links!

    http://committed.netai.NET/

    Either in IE or Fx I see a white line around all my links drop-down list in my the spry menu bar. What I am doing wrong?

    Hover over the 'products' or 'videos' to see the problem.

    In your sections the document in the current folder Spry search:

    ul.MenuBarHorizontal ul
    {
         border: 1px solid #CCC;
         background-image: none;
         background-repeat: repeat-x;
    }
    

    Simply change the ' 1px solid #CCC; ' to '0' or 'none' and your problem will be solved.

  • Hide a text field, unless a certain option is selected in a menu drop-down

    Hello

    I am working on a form and need to hide a text field, unless an option is selected in a drop-down list box. There are nearly 30 options in the dropdown menu, but only to trigger the text field.

    I tried this script on the field of text under "calculate":

    Event.Target.Display = (this.getField("Dropdown1").value == "Other")? display.visible:display.hidden;

    but it doesn't seem to work. I have looked for alternatives, but impossible to find exactly what I'm looking for. Any help is greatly appreciated.

    The first two characters (backslash) make this line of code one comment, so if you remove it should work.

  • filler text field automatically when a certain selection of radiobutton is made (and no is selected)

    Hello world

    Forgive my ignorance, as I am a noob on javascript. I need help on the creation of automation on the text field, and I hope you can give me a hand.

    This is the scenario

    a radiobutton is created with the following options:

    1-10

    11-20

    21-30

    31-40

    41-50

    51-60

    I need auto-fill, a text field when:

    '1-10' is selected with 'too low '.

    "11-20" is selected with 'so so '.

    '41-50' is selected with "awsome".

    '51-60' is selected with 'to high '.

    and when

    "31-40" is selected with nothing

    and no is selected with "select one please".

    Thanks in advance

    That's ok. In this case, you can use something like that than the calculation script custom of your text field:

    var v = this.getField("Radio1").value;

    If (v is 'Off') event.value = "SΘlectionner one if you please."

    else if (v == '1-10') event.value = "too weak."

    else if (v == "11-20") event.value = "So so";

    continue with the rest of the possible values in this way...

  • Dynamic text field not updated to actionscript in the 2nd Frame

    I have a clip with two frames. In the 2nd frame there is a clip that has a text field.

    My goal is to some events that I will be proposing to the frame that has the clip with the text field.

    I'm trying to update the text field with a code something like: -.

    public void updateTxtFld(e:Event)

    {

    My goal is to certain events show the clip with the text field

    questBG.gotoAndStop ("glow");

    arrowText.text = "of the text." arrowTextt has been awarded with the correct text field

    }

    After some time I again back to the framework that has no movie clip masking so the clip

    public void masquer()

    {

    questBG.gotoAndStop ("idle");

    }

    The text field not updated since the actionscript code even if trace (arrowText.text) shows the updated value.

    Now, if I remove the clip of frames & change the updateTxtFld() as

    public void updateTxtFld(e:Event)

    {

    (questBG.getChildByName ('arrowBG') as Sprite) .visible = true;

    arrowText.text = "of the text." arrowTextt has been awarded with the correct text field

    }

    Then it works very well with the updated text in the text field. It seems that there seems to be a problem in dynamic text field update in frames.

    I also checked that the incorporation of text is fine in both cases

    I created the FLAS using CS Professional 5.5 & I am trying to change the text field using actionscript running in Flex Builder 4.7.   Let me know if I need to send the fla (working and non-working version).

    you are the assignment of text to arrowText before the timeline then moves to "shine".

    Use the render event to assign the text:

    public void updateTxtFld(e:Event)

    {

    My goal is to certain events show the clip with the text field

    questBG.gotoAndStop ("glow");

    internship. Invalidate();

    this.addEventListener (Event.RENDER, assignTextF);

    }

    function assignTextF(e:Event):void {}
    arrowText.text = "of the text." arrowTextt has been awarded with the correct text field
    }

  • Show alert window when the selection is made in menu drop-down (or when the text field is filled)

    I'm a JavaScript novice writer and need help a warning window that meets the programming user selection form a menu drop-down.

    If the user selects any option except the default choice (which is just an empty space), I want an alert is displayed.  If the user is moving through this area without changing the default value, nothing should happen.

    I have a script attached to the "blur" event for the dropdown menu, but it appears each time you tab in this area, of course.  I don't know how to tell him to display the alert if and only if the user has changed the selection.

    Similarly, I have another field which is a simple text field.  If the user types anything in this area, I would like another alert window pops up.  The thing from the drop-down list seems a little more difficult, so if anyone can help me get that squared away, I can probably understand how to program the alert text field.

    In fact, it's the same code for both types of fields:

    If (event.target.value! = event.target.defaultValue) app.alert ("your message");

  • create the single text field to display in the select list

    Hello, I will through in circles with what I have to achieve. I have this on a previous post, but do not know if what I was asking, it was OK

    what I need to do, is to have a list of selection of size for the end user, BUT in the backend, I need to have a text field or text fields which can be manually changed. the db has a prod table with

    ID

    / / DESC

    Price

    Size

    fields, so I thought that if it was a field of single line text that could store all sizes in the db, a field and can be edited in the backend

    OR

    paypal buttons how it where the backend has a function of size to add you can add one set

    Mount of sizes and can manually change them is necessarily, because I have the backend show if a product has sold out and I wanted to be able to type "sold out" so that in the selection list

    Thanks in advance for any help

    Not much needs to change.

    You can always display the same result as you would if a product is available.

    The only difference would be the item would show "sold out". In this case, add a conditional event listener to listen to 'Sold Out' in the status of product on your front-end server. A hyperlink to 'request form' echo here.

    Basically, a 'form' link would appear if the product is "sold out".

  • Flash Player update is linked to the default browser?  -Flash not automatically updated when Chrome is the default

    Hello

    I managed machines for an organization where the majority of users have no administrator rights.  I put the Flash drive to automatically install updates.  In accordance with article (old)

    How the auto update feature does not work in Flash Player?

    "Normal Flash Player installations require an administrator account. However, automatic updates are executed even if the user is logged on with a standard account. »


    So I think my clients should be updated automatically to version 18.  However when I check, I see that they have not updated.  After watching cela some more I realize that when I use the control panel to check the updates that he launched Chrome, which is our default browser.  Of course, Chrome is up-to-date, because Google takes care of this.  However if I run IE and paste the URL of the version check in IE I see that flash is not up-to-date.  So, I try to run the update of IE, and when he is finished he launched a Chrome page again.  So it seems to me that Flash player uses whatever the browser is configured as default browser to search for updates with Adobe.  However this will not work if a user has Chrome as their default browser, and also has flash player installed separately for IE.


    Do you understand my point?  How can I get Flash player automatically updated when a new version is available, even if my default browser is set on Chrome?


    Thank you


    Scott

    Hey Piyush

    Thank you very much for this information.  So basically the feature to 'Allow Adobe to update Flash Player' does not work in all changes of the version.  I find it incredibly misleading.  Rather that engage in a cumbersome process to allow each year the opportunity to distribute flash and then create group policies to deploy, and then test the results to have these policies in place when flash tries to update itself, pay attention to the current versions of flash in order to deploy new .msi files and update our policies...

    I think I'll just remove the flash of all our systems.  It is clear that after installing flash is a continuous security risk and it is regrettable that we cannot rely on Adobe to help keep their own software update in a simple and effective way.  It's amazing to me that Google can do a better job of keeping flash updated in their browser at adobe.

    Thank you

    Scott

Maybe you are looking for