Text hidden/visible during the click field on

Hello

I create to make a field hidden to visible founded when clicking on a button using javascript. I watched this: http://htmldb.oracle.com/pls/otn/f?p=31517:129:1617669608355761
But do not understand and cannot operate. First of all, I had a hidden text field. The user clicks on the 'New' button that calls the function foo() of js (without submit page). Here, I have tried various things, based on another thread that had value of $x (P11_NEWFIELD)... I tried:
.visible $x (P11_NEWFIELD)...
visibility of $x (P11_NEWFIELD)...
.hidden $x (P11_NEWFIELD)...
None worked. I then tried the reverse (what makes a text field and try to hide it... didn't work.) I tried to put some html_HideElement (this); in the attributes of text fields to see if it does anything, but still visible to me unsurue what that's supposed to do. Help: x

Button
URL = javascript:myFunc();

Eager P11_NEWFIELD to go from hidden to visible text field after you press the button.

Edit: It doesn't seem to work at all actually... I tried window.open ("Hi"); in the service and he do not seem...

Thanks for help
Mike

Published by: Gerd on October 20, 2009 11:24

Hello

If you upgrade button URL only

javascript:$x_Hide('P11_NEWFIELD');

BR, Jari

Tags: Database

Similar Questions

  • TextInput changes to the text during the click on

    Hi all.

    I have a text entry that contains the text 'name '.  What I want to do, is when it is clicked it gets rid of this text.  I can do it this way

    < s:TextInput x = "10" y = "291" width = "265" textDecoration = "none" text = "Name" id = "txt_name" click = "" txt_name.text = "" fontStyle = "italic" / > "

    Simply change the text value to "" on the click attribute.

    However, this causes problems because if you click it once that he get rid of 'Name' and you type in something, if you clicked on it again, it would be to get rid of what you typed in.

    If I'm on this simple function

    protected function commentnametext (): void
    {
    If (txt_name2.text is "Name")
    {
    txt_name2. Text == ";
    }
    on the other
    { }
    }

    < s:TextInput x = "10" y = "321" width = "265" textDecoration = "none" text = "Name" id = "txt_name2" click = "commentnametext ()" fontStyle = "italic" / > "

    However, when I click on the textarea component it dosent seem to run the function, changing text dosent.  No idea why its not working?

    Your function is false

    protected function commentnametext (): void
    {
    If (txt_name2.text is "Name")
    {
                      txt_name2.text == ";  -You must write here txt_name2.text = "; instead of 2 == writing only 1 =
    }
    on the other
    { }
    }

    If this post answers your question or assistance, please mark it as such.

  • The text is visible on the computer screen, but NOT print

    The text is visible on the computer screen, but NOT print

    When I print the document (the header and the footer together can print).

    My printer is Lexmark X 5470.

    Please tell me how to solve this problem.

    Thank you

    Longpo

    Hi Longpo,

    1. what happens when you try to print?

    2. you receive an error message/code?

    Printing problems can be caused by cables that are not properly connected, corrupt, drivers, incompatible drivers, the printer settings, missing updates and problems with your printer. Refer to the help article and check if that helps.

    Solve printer problems

    http://Windows.Microsoft.com/en-in/Windows/printer-problems-in-Windows-help#fix-printer-problems=Windows-Vista&V1H=win8tab1&V2H=win7tab1&V3H=winvistatab1&v4h=winxptab1

     

    Solve printer problems

    http://Windows.Microsoft.com/en-in/Windows-Vista/troubleshoot-printer-problems

    Let us know the status of the issue. If you need help, please after return. We will be happy to help you.

  • on change of value event I'm shooting adf Faces error message but its getting recorded during the click on save

    Hi Experts,

    JDEV 11.1.1.7.0

    On valueChangeEvent I throw adfFacesErrorMessage but its economy during the click on save.

    Because I can't do validation in my OE. So I can use validator instead of valuechange evnt. ? While it will not allow something to save.

    autoSubmit = "true" validator = "#{backingBeanScope.myBean.checkValidation}" >

    On valueChangeEvent I throw adfFacesErrorMessage but its economy during the click on save.

    Message is just to what is expected.

    So can I use instead of evnt valuechange validator.

    Yes, you must use the validator to implement validation

    Dario

  • How to use several adf 12 shape and insert the form data in to table during the click on "submit" button

    How to use several adf 12 shape and insert the form data in to table during the click on "submit" button. Can we use several form from adf or not?

    Make sure that you dragged the VO based EO.

    Also make sure that the VO attributes based EO Updatable property.

    The query according to VO is used only to add LOV to the column of the original VO ModelId.

    See you soon

    AJ

  • Form during the click on delete (text disappears)

    Using ahure Pro 9...

    I am creating reliable form fields and want users to be able to click on a text field.

    I want the form to read something like, for example "500 Applications.

    .. .and when users click on it the 'for example 500 Applications' text disappears and they can achieve their desire/seizure.

    Thank you.

    So, basically, they click on the form that has an example of text and then when they click on the text disappears. Nothing too crazy.

    You must use a custom script to Format for the field:

    Script format for the text field

    If (event.value = "") event.value = "for example 500 Applications;

  • Subform is hid during the click on check &amp; send process SAP HCM

    Hello

    I am posting this here because it is more the problem of form to Adobe.

    Here is my requirement, I've been struggling with.

    I have 3 subforms of the same type (contains 8 fields each) to add the members of the family. Subform 1 is mandatory and is always visible. Subform 2 and 3 are hidden when the form is loaded. I have a JavaScript on the initialize event to hide.

    this.resolveNode("subform_name").presence = 'hidden ';

    When the user decides to add more details, click on the Add button that makes the subform 2and 3 visible, one at a time. Script under the click event for the Add button is:

    If (this.resolveNode("subform2").presence == 'hidden') {}

    this.resolveNode("subform2").presence = "visible";

    this.resolveNode "(PRI_DES2. PRI_FLAG2") .rawValue ="X ";      «I'm too add a flag on a field on the Add button.»

    }

    On the event ready subform2 form: I've got the code for the visible subform2 below.

    If ($record. PRI_FLAG2 == 'X') then

    .its presence $ = 'visible '.

    endif

    Everything works well up to this point.

    When the user fills in the data and click on check and send, the subform2 disappears; Note that the values in the fields are still there, I can see it when I click on the Add button. I am sure that the initialize event fires again on the cheque and send, taking the form of the initial phase.

    I tried different ways to restrict it. I use not responsible for instance, just make subforms hidden / visible. I have FORMCALC and Javascript on the form.

    Please help with any suggestions / ask me for more details.

    Many thanks - Raj

    Hi reda,.

    I don't know if I understand you right...

    1. Subform 2 and 3 do not need a script in initialization - go to object. Subform. Presence | Hidden (Exclude..)
    2. If the user click on the Add button you need not the If Condition
    3. I would write
      1. this.resolveNode("subform2").presence = "visible";  OR xfa.resolveNode("subform2").presence = 'visible '; OR subform2.presence = 'visible ';
      2. this.resolveNode "(PRI_DES2. PRI_FLAG2") .rawValue ="X ";   OR xfa.resolveNode ("PRI_DES2. PRI_FLAG2") .rawValue ="X "; OR PRI_DES2. PRI_FLAG2. RawValue = "X";
    4. The last script I would not write in the form ready event. Why use this event?
    5. If you make the subform 2 a 3 hidden, you must reset the entries in my opinion. You can use the following script: xfa.host.resetData ("xfa.form.fomr1.subform2");

    Sorry, my English isn't the best. I hope I could help a little,

    Mandy

  • How to show or hide the region of the shuttle during the click on the radio buttons?

    Hello

    I'm new to JDeveloper. Here is my requirement.

    1. create 2 radio buttons: Yes and no and default displays "" selected radio button.

    2. create a region of shuttle with select query in VO.

    Query is:

    Select 'No group' for_user, for_pkg double null

    Union

    Select "Company" for_user, for_pkg "SEGMENT1" double

    Union

    Select 'Rental' for_user, for_pkg 'SEGMENT2"double

    Union

    Select 'Cost center' for_user, 'SEGMENT4' double for_pkg

    Union

    Select 'Project' for_user, 'SEGMENT5' double for_pkg

    Union

    Select "Intercompany" for_user, "SEGMENT8" for_pkg of the double

    order by nulls first for_pkg

    3. initially hide the region of the shuttle during the loading of the page.

    4. click on the radio button 'yes', display area of the shuttle with values at the head of list of query VO and empty list leak.

    5. new click on the 'no' radio button, he must hide region and so screen shuttle shuttle dynamically according to the selected option button.

    But my problem is I am able to hide area shuttle when the page loads at the beginning and after that, when I'm clicking 'Yes' radio button, is just to display area shuttle empty without value in the main list and once when I'm clicking 'No' radio button, it should hide area shuttle but he's not hiding. I used the RPP to show or hide the area Shuttle under certain conditions. I use JDev 10.1.3.3.0 version as we Oracle EBS version 12.1.2 in our society.

    Please find the attached draft and suggest me proper with examples of sample approach.

    Monika,

    I tried to get this working in the lower version of Jdeveloper and looks like it works.

    Can you make the change below and see what happens.

    1. modify your query to VO as below: (I replaced null with SEGMENT0)

    select 'No Grouping' for_user, 'SEGMENT0' for_pkg from dual
    union
    select 'Company' for_user, 'SEGMENT1' for_pkg from dual
    union
    select 'Location' for_user, 'SEGMENT2' for_pkg from dual
    union
    select 'Cost Center' for_user, 'SEGMENT4' for_pkg from dual
    union
    select 'Project' for_user, 'SEGMENT5' for_pkg from dual
    union
    select 'Intercompany' for_user,'SEGMENT8' for_pkg from dual
    order by for_pkg
    

    2. place VO execution to the processFormRequest:

        public void processFormRequest(OAPageContext pageContext,
                                       OAWebBean webBean) {
            System.out.println("In process Form Request");
            super.processFormRequest(pageContext, webBean);
            OAApplicationModuleImpl appModule =
                (OAApplicationModuleImpl)pageContext.getApplicationModule(webBean);
            String eventParam = pageContext.getParameter(EVENT_PARAM);
            System.out.println("eventParam: " + eventParam);
            if ("showHideShuttle".equals(eventParam)) {
                //  appModule.invokeMethod("deletetrailing");
                System.out.println("Inside If");
                OAMessageCheckBoxBean messageCheckBoxBean = (OAMessageCheckBoxBean)webBean.findChildRecursive("checkBoxBean");
                System.out.println("messageCheckBoxBean : " + messageCheckBoxBean);
                String messageCheckBoxBeanVal = (String)messageCheckBoxBean.getValue(pageContext);
                System.out.println("messageCheckBoxBeanVal: " + messageCheckBoxBeanVal);
    
                if ("Y".equals(messageCheckBoxBeanVal)) {
                    OAViewObjectImpl shuttleVO1 =
                        (OAViewObjectImpl)appModule.findViewObject("ShuttleVO1");
                    if (shuttleVO1 != null) {
                        shuttleVO1.setWhereClause(null);
                        shuttleVO1.setWhereClauseParams(null);
                        shuttleVO1.executeQuery();
                        System.out.println("Executed Query : " + shuttleVO1.getQuery());
                    }
                    OAViewObjectImpl shuttleVO2 =
                        (OAViewObjectImpl)appModule.findViewObject("ShuttleVO2");
                    if (shuttleVO2 != null) {
                        shuttleVO2.setWhereClause("1=2");
                        shuttleVO2.setWhereClauseParams(null);
                        shuttleVO2.executeQuery();
                        System.out.println("Executed Query1 : " + shuttleVO2.getQuery());
                    }
                }
                String[] name = { "RenderAttr1" };
                String[] val = { messageCheckBoxBeanVal };
    
                Serializable[] params = { name, val };
                Class[] paramTypes = { String[].class, String[].class };
                appModule.invokeMethod("setXXCustomPVOValues", params, paramTypes);
    
            }
    
        }
    

    3. move Spel link shuttle Bean for the region of header above.

    Some useful links for the shuttle Bean:

    Technology blog based in Java of Sushant: 13. Area of application OFA shuttle

    Framework OA Blog: control of the shuttle as part of OSTEOARTHRITIS

    See you soon

    AJ

  • password not received during the distribution field

    Hello world

    I created an evaluation form that has a password field (a field where the evaluator can enter a password without appearing on the screen). However, when I distribute the form (via my own server) information entered in the password field are collected in the _responses.pdf file. I need to be able to see what password has been entered to ensure that the evaluator is indeed one that has filled the form. (they will use public workstations, digitalID seems too much hassle for the evaluators).

    research online I found that there is a parameter "bExcludePasswd" if it is true in the custom of passwords get collected. I have no idea how where this parameter, and false.

    Is that what happens? Someone knows how to set this parameter to false? Does anyone have a better/more elegant solution?

    Thank you very much

    Prii

    I didn't read your original post quite closely. When a distributed form is submitted, it is saved, and this causes password fields to be converted. The validation script then causes the hidden field to plow. If you can change the following validation script to avoid this:

    Copy the password to the hidden field, if it is not empty

    If {(event.value)

    getField("password2").value = event.value;

    }

    Anyone who manages to get their hands on one of these forms filled in will be able to access the password in the field, so it cannot be considered secure, but it may be good enough for your application. Do not forget to reset the form using Acrobat before you go through the process to distribute the form, but it should invite you to do so.

  • Text is not in the form field

    I created a form in Acrobat 9 Pro and received this comment from one of the users form:

    «The text in the form field does not show you what you type in until you move to the next field.» If you feel as if nothing is being filled. »

    I am not able to reproduce this behavior. Is there a setting of preference or other setting that would cause this behavior?

    In what application they opened the file? He was seen Apple, by some

    lucky?

  • BB 10 C++ during the click button on

    QML, you can make the click event on. I write my qml in C++, however there is no onclick method.

    How do you get click to work.

    Button * btnSave = newButton();

    btnSave-> setText ('Save');

    contentContainer-> add (btnSave);

    Someone at - it a simple example that they could provide to help me get started?

    Thanks in advance.

    To do this in C++, you must connect a signal (in this case, is clicked() button in a location of your class). Best you have a look here.

    Assuming you have defined a slot called onSaveButtonClicked() in the header, which will be called when the user clicks the button:

    public slots:
    void onSaveButtonClicked();

    in your application, after your create button class, you need to:

    Connect (btnSave, SIGNAL (clicked ()), this, SLOT (onSaveButtonClicked ()));

    When the button is clicked, it will emit the signal that calls the function of slit.

  • Update Bind variable during the click on chart?

    New to ADF, so getting started is a little rough right now.

    I created a couple of display objects, trained in my JSF page and created the graphics bar out of them. I can click on the series in the bar chart and update a table ADF without problem. What I would do, is to take the result of the click (I know how to find the value of the Group since the click) and past this value in another view to display a new table.

    So the question is how can I update a binding for a display object variable and display the results in a table of the ADF?

    I have a query: "select user_name, user_role from users where user_id =: userId" with a variable named liaison: userId. It took the form of the ADF on my page and rendering: false and display: false. What I would do, is updated ": userId" variable with a value of the graph and display of the form.

    Any help?

    Thank you!

    Hello

    I think that the blog post from this Shay can be useful for you:
    http://blogs.Oracle.com/Shay/2009/01/setting_parameter_for_before_p.html

    Kind regards

    Branislav

  • Docking station is half visible during the shutdown process

    Hello

    I did a clean install of El Capitan.

    In general, when you shut down the Mac, the Dock usually slide the screen and after a few seconds the Mac stops.

    However, with El Capitan, when I stopped the Mac Dock only halfway so that the process of closing slide is underway. So this means, usually a few seconds while the Mac stops and during this time where the dock is still visible at halfway.

    I just wanted to know if this is how it works for everyone or there is something funky in this regard?

    Thank you.

    It's funky.

    After an erase and install, everything should work perfectly. What is disk utility > report of first aid?

    Try to boot inSafe Mode and see if the problem persists?

    Restart now ' shift '.

    (Wait to take more time to start in this way because it runs a check of directory first.)

    You can try to install the OS X Combo update.  It replaces all the system files that are missing or damaged. It does not matter if you have previously applied. All your data and settings must be kept, but that said, you should always have a backup.

    Apple - Support - downloads

    https://support.Apple.com/downloads/MacOS

  • How to close the default alert box that will come during the click on "back" button

    Hi all

    I develop an application that I have added basiceditfield four times on a single page, but if I pressed the device back button after having entered this field valuse is coming with an alert box save, Discard, cancel option

    I want to delete this alert message when click on "back" button

    Thank you all

    Replace http://www.blackberry.com/developers/docs/6.0.0api/net/rim/device/api/ui/container/MainScreen.html#o... return false (or true, does not matter).

  • read the audio data during the click on

    Hello

    Thanks for the support.

    We can play audio or sounds on click of a button. I have my audio file in the my project folder, so I use this file I have to use the getResourceasStream() function. I tried with blackberry strom but his does not work.

    can someone help me please?

    Hi Garima,

    Yes you can, implement fieldChanged method of the button like this

    Initialize the front player as ButtonField as:

    A player = Player.getResourceasStream (...);

                            InputStream is getClass().getResourceAsStream("yourFile.wav");            Player player = Manager.createPlayer(is,"audio/x-wav");           player.prefetch();
    
    ButtonField testButton = new ButtonField("Click Me");    testButton.setChangeListener(new FieldChangeListener()     {        public void fieldChanged(Field field, int context)         {             player.start();        }    });
    
    
    

Maybe you are looking for

  • iPod Touch 5th Gen disconnects during synchronization

    I can only assume that it is a question of OS. The problem is that every time that I try to sync my iPod Touch a few seconds in the progression of synchronization all my logout of devices USB (keyboard, mouse, iPod, etc.), then immediately reconnects

  • LabVIEW executable not feasible using the asynchronous call

    Hello my project works very well from the source, but fails to run as an executable file. I was able to follow him to the asynchronous call of a VI. So far, I was able to solve the problem by using a queue dummy and loops in order to start the VI par

  • RT OS timer interrupts problem

    I already posted this in the PXI forum, but someone suggested that I might get more results here. Sorry in advance if I do not abuse the forum. I'm with a RT OS PXI system. It was working fine until I upgraded to 2013 LabWindows/CVI. There seems to b

  • How can I get my computor out of safe mode and go back to my normal mode?

    How can I get my computor out of safe mode and go back to my regular walk mode?

  • Not able to add an event in the personal calendar.

    Original title: calendar shared company I have a public calendar that I have publish permissions editor him and 2 other people. The rest of society has access view.  When I go to add an event on the public calendar it comes up with one the public mai