How to capture the value of text form field?

Version 4.1.0

Hello

I have two tables, a database table where the data is stored, and a correspondence table that has all the account information.
I have a simple form (not in a table) on the base table. It has 4 fields,

1. an account id,
2 there are country
3 there are region
4 account manager.

All this is stored in a lookup table

When the user has entered the account number and create hits, the account id should be picked up and looked up against the table and the data that result must be returned to the form. When the user then presses the button send, the data must be committed in the table on which the form is created.

To do this I tried to enter the account number, the user enters into the form, I tried to capture using

apex_application.g_f01 (1)

But does not work. Any help with the way in which we can enter this value, validate it against the table, and then bring in the lookup table details in the form and then when the user submits, she should get engaged in the base table?

Thank you
Sun

ryansun wrote:
In addition, another question. In this case for the empno data has been extracted from the same table where the insert will be made. What happens if I need to get data from another table. So let's say that the Empno and details are also stored in the table "EMP_MASTER". in this form, can reference another table and complete the empno and empname?

Also, the recording doesn't seem to work in this case!

Thank you!

Published by: ryansun on October 16, 2012 02:21

If you want to fill in all items, then it is easier to send the page...

You mean, you want to have your page depends on more than one table? Then the source you would be static not database column... you must use collections, please install the packaged Collection sample application to learn more...

Kind regards
Fateh

Tags: Database

Similar Questions

  • How to capture the values

    Hi friends,

    I came across one of the scenarios, i.e.

    In my application, I have a report page and a form page, the report and the form are based on the unique table...

    If a record is inserted medium, means it will be inserted in the report...

    in the region of report I have an button called then if I clicked the next button means a form page must open to capture all values which is inserted in the report of each field of the form...

    How to capture the values of the ratio to form shortly after clicking on the button NEXT in the region of report...

    Help me solve this question friends,

    Thank you
    Saro...

    Hello

    For the Next button , which is located in the region of report,

    change the Action: to redirect to the page and give the respective page number: (i.e.) the target...

    And specify the value of these items: what are all the elements of the target.

    with these values: describe the elements of the source where you will take the values of the corresponding points...

    Izz all wells
    GTA...

  • How to capture the value of type column report

    It would be a great help that you might suggest the following

    (i) Java script that I wrote on the standard status column (in a tabular report) fails.
    This happens because of the standard status column, if I use the text field then called Javascript function and showing correct results.

    Now, here, I want to know how to capture the value of the column standard report, since javascript fails due to
    the column values of standard report unrecognized.

    Example:

    Columns of the report as a table:
    ```````````````````
    Standard report column: salary
    TextField report column: new treatment
    Report column standards: difference

    I've written the javascript on column New_salary function which returns the value of the salary column to calculate the difference.

    For this column of report types, the javascript function does not work, that is to say, it does not show the difference., since it is not read
    the value of the column Salary (which is the Standard type of report column)
    Once I have change the Salary column to text (display as saved state) javascript field works fine.

    All entries on how to capture the standard value of the column, so that I can access the value of the javascript function.

    Thanks in advance
    Vijay

    Hi Vijay - I had problems with the forum as well (and my workspace OTN so)!

    You have two questions, I think.

    First of all, that the old wage is not an input element, you can not get to it by referring to an ENTRY tag. you will need to change that to something like:

    var s1 = d[k-1].firstChild.nodeValue;
    

    This means that there is nothing else in the cell apart from the text - as in < td > < table > 123. If there is something else there that stops you getting the value using the above, you can go through these nested tags referring to objects further firstChild-

    var s1 = d[k-1].firstChild.firstChild.nodeValue;
    

    As I don't see your page, you need to check yourself to see firstChild how much you need. This example assumes that you had something like: < td > < b > 123 < /b > < table >

    Second, the values of s and s1 are strings. You must convert these numbers to be able to perform calculations. You have two javascript functions to do this: ('string') parseFloat and parseInt ('string'). One contains decimals, the other is not - but know that one is not very accurate (it can change "123.456' in ' 123.455999999995' or something similar - not very good! '").

    So, your calculation should be:

    var diff = parseInt(s) - parseInt(s1);
    

    Andy

  • How to capture the value of profile in AM

    Hello

    How to capture the value of profile in AM.

    Krishna

    Here is the code that you can use

      String profileValue=  getOADBTransaction().getProfile("profile Name");
    

    Thank you
    -Anil

  • Treatment options for form (use the value of a form field to select a shared list or a web redirect page)

    Hello

    I tried something with the processing of the forms which doesn't seem to work. I wonder if the function really works or if I'm doing something wrong.

    Here is an example of what I do: I have a form that I want to use. I add "Web Page redirection" processing step to my form. When I click on the processing step to set up, under "General settings" there is an option that says "Choose how the launch of destination page is selected." In this drop-down menu, there are three options: always redirect to the same landing page, use a drop-down list to select the landing page and the value of a form field allows you to select the destination page. I have a hidden field on the form that contains the URL of the web page to which I would like to redirect. When I select 'Use the value of a form field to select the landing page', I select the hidden field to the field that contains the URL of the web page to which I want to redirect. It's my setup. However, when I submit the form, nothing happens, I do not redirect to the URL contained in the hidden field... This function still works? I'm doing something wrong? I can't seem to get the function "Use a drop-down list to select the destination page" to work either. The same thing happens when I try to use the "Add Contact to shared the list" processing step. I add the name of the list that is shared in the field hidden, but the contact does not appear in the shared list... These functions still work? If yes how do I configure them?

    Thank you!

    Well, I understood the problem of the shared list... You must add the ID of the list shared in the hidden field. I had to use Firebug to see the real ID of the shared list. Once you have the ID, use you it as a static value in the field. If the HTML code of the form will look something like this:

    If you do not use the lookup data ID. You use the ID real asset on the shared list. You must use something like Firebug to find.

    I'm glad everything is working.

  • How to capture the value of the profile controller option in the OPS?

    Hello

    I have a requirement to capture the value of the value of the profile controller option in the OPS?
    How to write the code for this?

    Thank you

    Hello

    I have a requirement to capture the value of the value of the profile controller option in the OPS?

    Pagecontext class we getProfile method using this you can get the value of profile:

    pageContext.getProfile ("profilename");

    Concerning
    Meher Irk

  • How to capture the value of the element in the success of the process message

    Hi friends,

    I need to capture two of the content of the element in the success of the process message.

    These are the elements

    *) course_name
    date *)

    To do this, what I did is,

    I created two timely hidden

    *) dis_course_name and *) dis_date

    For these hidden point two, I give: sql returns a single value and I gave the following query

    For dis_course_name
    select course_name from training_attendance_table
    where course_name=:P1_COURSE_NAME
    For dis_date
    select on_date from training_attendance_table
    where on_date=:P1_ON_DATE
    After I wrote a process to capture the hidden question contained in the message, and that's what follows
     begin
    apex_application.g_print_success_message := 'Your Attendance for the' ||'<span style="color:orange;font-weight:bold">&P1_DIS_COURSE_NAME.</span>'||' '|| 'Training session on'||'<span style="color:orange;font-weight:bold">&P1_DIS_DATE.</span>'||' '|| 'is Confirmed';
    exception when others then
    apex_application.g_print_success_message := 'Your Attendance for the' ||'<span style="color:orange;font-weight:bold">&P1_DIS_COURSE_NAME.</span>'||' '|| 'Training session on'||'<span style="color:orange;font-weight:bold">&P1_DIS_DATE.</span>'||' '|| 'is failed to Confirm';
    end;
    But the above seemed to work, as it was not capturing the content of the element in the success message, shortly after pressing the submit"" button.

    element content in the sense what he calls means, it refers to what im going for this element into the form

    I need to get the following in the success message
    Your Attendance for the *<course name>* training session on *<date>* is confirmed 
    Waiting for the solution.

    Kind regards
    Mini

    Try this.

    Your presence to the & P1_COURSE_NAME. training session on & P1_ON_DATE. is confirmed

  • using the value of a form field in another form field

    I hope that I can describe my problem. Please bear with me

    I have a worksheet with a lot of form fields. For most of the text boxes and a few drop-down list boxes.

    I use a lot of custom calculation scripts to determine what information auto fills in most of the fields.

    But I have problems with a last form named ORTHOPLANID field.

    The value that it auto fills depends on two other fields. A field is called MEDOOP. The other field is SUPPDENPLANID. I tried to use an if/then/else statement for ORTHOPLANID but it does not work. I'm guessing it doesn't b/c, the value of the MEDOOP field is generated from an if / then statement so I don't know whether or not the script recognizes its value as a real value.

    Is there another way to get around this? I don't know if I have clearly explained the problem, but I hope someone can help

    Thank you

    Brandy

    I think I know what the problem... You did not drop-down fields

    commit their selected values immediately (under Properties - Options). As one

    result, the calculations take place when you exit the field (i.e. click)

    outside), and not when you do a

    selection.

  • How to retrieve the value of a custom field

    Hello @all.

    In my vCenter, I created a custom field 'email '. The value of this field is set to the e-mail address of the operator of that belongs to a virtual machine.

    I would like to retrieve these values in a perl script. But I have found a method to set the values of the custom fields. For example:

    $CustomFieldsManager -> SetField(entity => $_, key=> $emailKey, value => "[email protected]");
    

    What should I do to retrieve the value of the $emailKey key? Could someone provide a quick and dirty-snippet, please?

    Best regards

    Trondesson

    of course, in this discussion https://communities.vmware.com/message/1512863#1512863 you can see how it's done

  • How to pass a value of a form field to another?

    Hello
    Posted this yesterday, still no joy.
    Let me make a drawing.
    I have two forms.

    Form of connection of formula 1.
    ---------------------------------------------------------------------------------------------------------

    Field - username (P48_USERNAME)

    -The button register. This creates a user on the user table. (This works)
    Login - button. It does not work.
    No password required.

    ---------------------------------------------------------------------------------------------------------

    Formula 2 main Menu

    Field - user (P4_USER).

    ----------------------------------------------------------------------------------------------------------

    Everything I type in the formula 1 (P48_USERNAME) I want it to appear in the main menu form (P4_USER).

    It should be very easy.
    Probably something wrong.
    Yesterday tried: APP_USER and Branches.
    Impossible to run.
    I have very detailed some instuctions please.
    My first application.

    SORRY!

    Zac.

    There are a bunch of ways to do it. It's the way I am using:
    You have a form that collects things and it passes to the following form:
    collection form:
    creating a branch
    (probably attached to a button. (so the field "when button pressed" contains the button you)
    intention of invoking this branch).

    branch to page (page updated for example number 4)
    request (this is something that you can use on the home page to distinguish what branch sent it your way)
    example of defined these elements. Here, I have ryear and restid of 2 parts in stock

    set these items  P4_RESTID,P4_RYEAR
    
    with these values: &P3_RESTID.,&P3_RYEAR.
    

    BTW the url from stuff in a branch uses the colon you may not use the colon between the constituents, so the amperdot
    form is the only thing that flies here. As I said, the note "with these values", each begins with ampersand and
    ends with a point.
    I hope this helps.

  • Change the label of text form field using javascript.

    Hi all, need your help.

    I have a field that will provide different information depending on the type of document.

    I would like to change the label of the field of javascript in da

    Thank you very much

    Andrei

    You can always set the page element and follow the following to refresh a specific region

    APEX Oracle report update the easy way & laquo; Warp11. ::. Group knowledge Oracle Apex

    Check the following for an option in jquery

    change the text on the label based on toggle? -jQuery Forum

    jQuery - label text change based on radio click - Stack Overflow

    Kind regards

    Vishal

    Oracle APEX 4.2 reports | Packt Publishing

    Vishal blog

  • How to get the value of the TextField on Buton FieldChangeListener

    friends I am new on the development of blackberry applications could you please help me how to get the value of text I typed in the textField when I click the button?

    constructor

    public Dialogs()
    {
      
    using design in the same screen
      
    Display display = new MainScreen();
      
    ButtonField btnPress = new ButtonField();
    btnPress.setLabel ("press me");
    btnPress.setChangeListener (ButtonPressListener);
      
    TxtValue TextField = new TextField();
    txtvalue.setLabel ("enter something :");
      
    HFM VerticalFieldManager = new VerticalFieldManager (VerticalFieldManager.FIELD_VCENTER);
    HFM. Add (txtValue);
    HFM. Add (btnPress);
      
    mainScreen.add (hfm);
    pushScreen (mainScreen);
      
      
    }

    FieldChangeListener ButtonPressListener = new FieldChangeListener() {}
    ' Public Sub fieldChanged (field field, int context) {}
        
           
    Dialog.Alert (t.GetText ());
         
         
         
    }
    };

    any help would be appreciated.

    You must ensure that your FieldChangeListener has access to the object of txtvalue, while it can make a

    String inputString = txtvalue.getText ();

  • Text form field properties: access with Javascript?

    Hello

    I wonder if it is possible to access all of the properties of text form field with Javascript.

    The basic game is available under the domain object, but I'm looking for the other stuff that does not specifically exist for the fields of rich text, such as the properties of next paragraph:

    Dashes (left and right, withdrawal, first to the first line indent), the vertical alignment (top, bottom, middle), space above and below and attack (line spacing).

    All this is available if you place your cursor in a rich text field and press Ctrl-E to open text form field properties, then click on "More".

    So I wonder if it is also accessible via JS, because I can't find anything in the documentation on the subject.

    Thanks much for any help!

    Ariel

    Some properties of rich text are available, but not those you mentioned.

    I'm afraid.

    Study of the Span object to find out which ones are.

  • How to pass the value of the element from one form to another form?

    Hi all

    I need your help to complete this task.
    I have a form page named reserve form.i have some five fields selection list in the form of reserve, after I chose the first value from the selection list, I create a button in the form of reserve, when I click on the button create, it will open another form page named set form in this form page , I have a field selected, the list of values in configure the form depends on the values selected as a reserve, it means that I have to change the value of page of a form to another form.

    Please suggest a solution, how to pass the value?

    Thank you
    Robette.

    Check out the button create on Page 8.

    In the Action when the button is clicked, the configuration is

    The value of these P35_IT_PRODUCT
    With these values & P8_IT_PRODUCT.

    Kind regards

  • How to get the values of the shape of the object in the form of process field?

    Hello

    I created the resource object and it has the shape of the object that are associated with him. When the user self praying for this user RO add information in the form object field ho can I get these values as a process?

    How to get the values of the shape of the object in the form of process field?

    Hello

    If you want to map the form field Number in the form of process field go process definition - Data Flow Mapping tab you can add the field map.

    Thank you
    Patricia

Maybe you are looking for

  • The music does not download

    Hi, I have recently subscribed to music from Apple. I am able to record the music in my library and listen to it all being connected to the Internet. The problem is when I try to download music to listen to offline. The circle starts to turn but stil

  • Number of the icon of 'People '.

    I'm fairly new to Skype on iOS, but not Skype. I just noticed that the 'Contacts' icon to the left of all of the icons at the bottom of the screen has the number '1' in a circle orange on it. I hit the icon and looked at each item on the list, sought

  • Satellite P750/02, t - Win7 upgrade - drivers required

    Recently, I bought a P750/02 t with Windows7 home edition.I managed on the basis of the upgrade to windows 7 Professional. I noticed that my network card was not available, also my NVIDIA graphics card has not been installed, a bunch of other institu

  • DV7: HP BIOS password

    Hi my little boy has set a BIOS password on and I can't start windows. The disabled system code is 94635535 Can anyone help I need an important print job!

  • BSOD on the login screen: DRIVER_IRQL_NOT_LESS_OR_EQUAL (Windows 7)

    I got hurt on and off with BSOD over the past months, but I didn't pay it any mind, because they were few and far between. Today, however, I found that my computer will reach the login page of Windows 7, then glitch, going the BSOD. I managed to brea