Hide a form

Is it possible to hide a form in a jsp page in jdeveloper 10.1.3?

Javaneh -
Not to steal anyone's thunder, but check out the article "Switcher - It's just like a forms stacked canvas (but better!)." on Grant Ronald's blog http://www.groundside.com/blog/content/GrantRonald/
Good luck

Similar Messages

  • Is it possible to hide a forms user parameter in the wrapper HTML page?

    Is it possible to hide a forms user parameter in the wrapper HTML page? I.E I want to start my form with MODULE=myForm userid=scott/tiger@db myParameter=SECRET.
    The http://myserver/servlet/f60servlet?config=myconfig successfully starts the application (after update of the basejini.htm and adding this section to the formsweb.cfg
    [myconfig]
    userid=scot/tiger@db
    myParameter=SECRET)
    However, when looking at the source of the wrapper html page one can see MODULE=myForm userid= myParameter=SECRET.
    As you can see the userid is nicely hidden by my secret parameter is not.
    Thanks in advance for ideas for solving this…

    We logged a similar issue through Oracle support recently (hiding the password) and we did get a very unsatisfactory response :
    ====
    View source is the functionality for browser . So that can't be done.
    You have two possible workaround for your problem.
    1.
    Invoke Registry & move to HKEY_LOCAL_MACHINES >> SOFTWARE >> ORACLE. Here create a new string value with the name LOCAL & value as the connect string you want. Now when you run the form on web, just give user name & password, the form picks the connect string from Registry.
    Note : You need to make registry entry in a machine where Forms Server is running.
    2.
    You can hardcode the username, password & connect string in the form's ON-LOGON trigger. To do this use LOGON built-in.
    ====
    Should you receive a better response : we are also interested.

  • Hide System Forms

    Hi,
    I want to know if is possible to hide system forms in business one. I use Application.ActivateMenuItem("2310") for to load form Landed Costs. But what I need is it hide while some actions occurs in background this form.
    It is possible?
    Thanks.

    Hi
    Try
    Dim strFormUID As String = SBO_Application.Forms.ActiveForm.UniqueID.ToString
    oForm  = SBO_Application.Forms.Item(strFormUID)
    oForm.Visible = False
    and then later
    oForm.Visible = True
    Message was edited by:
            Neftali Figueroa

  • How to show/hide a form field?

    Hi all,
    Is it possible to programaticlly show/hide a from input field at runtime?
    best

    You can use javascript to achieve this and following is the code I'm using in one of the forms to hide a field when this form is being opened.
    ..after displaying page...
    declare
    v_id number(10);
    begin
    v_id:=p_session.get_value_as_NUMBER(
    p_block_name => 'DEFAULT',
    p_attribute_name => 'A_ID',
    p_index => 1
    If v_id is null then
    htp.p('<SCRIPT LANGUAGE="JavaScript">
    function get_index(p_name) {
    var i;
    for (i=1; i<document.forms[0].length; i++){
    if ( document.forms[0].elements.name == p_name) {
    return i;
    var j = get_index("FORM_NAME.DEFAULT.FIELD_NAME.01");
    document.forms[0].elements[j].style.visibility="hidden";
    </SCRIPT>');
    End If;
    -Krishnamurthy

  • How to conditionally hide/show form item for multiple requests?

    Ver 4.1.0
    Hi There,
    I have a database form where in one of the fields I need to hide /show based on if the user selects a copy row option or create a new row.
    To explain in details,
    1. I have a report and form application created. When the user edits a record, in that page I have added a copy button also, so when the user hits the copy button, the page is reloaded where the user can create a new record with the save button disable and the create button visible. when the user submits the form using Copy the request is set to "COPY' and in the form, one of the fields has conditional display "REQUEST =Expression1" with value "COPY" This works fine.
    2. However, on the reports page, there is a "CREATE" button also, where the user can directly create a new record and the request value is "CREATE"
    I wanted to add both COPY and CREATE to the conditional display something like
    "REQUEST=Expression1" with value "COPY, CREATE" (without quotes)
    however, the item does not display. I guess it only accepts one value since its =.
    Any suggestions on how the conditional display for an item can be done based on multiple request types?
    Thanks!
    Sun
    Edited by: ryansun on Oct 18, 2012 3:08 AM

    Hi Sun,
    Try changing your condition to a PL/SQL Expression and in expression 1 field add something similar to below and see if it works:
      :REQUEST like 'CREATE' or :REQUEST like 'COPY'This is straight off the top of my head and untested.
    Hope this helps
    Paul

  • Show/Hide Sub Forms in LiveCycle ES 8.2

    Hello All,
    I am using Livecycle to create a form and want following functionality:
    If a particular value is selected from drop-down box, it should hide/show a sub-form.
    However, I am not able to do it. I looked at adobe livecycle docs, Adobe user forums, and GOOGLE...but fail to run the code.
    I have used following PDF as example:
    http://partners.adobe.com/public/developer/en/livecycle/designer/pdfs/ChangingObjectPresen ce.pdf
    The code below is written on drop-down box and I have BMD_Form as subform
    ----- form1.POS.Emphasis_info.subformOptions::change - (JavaScript, client) ------------------------
    switch (xfa.event.newText) {
    case "Invisible":
    form1.POS.BMD_Form.presence = "invisible"; or
    break;
    case 'Hidden':
    form1.POS.BMD_Form.presence = "hidden";
    break;
    default:
    form1.POS.BMD_Form.presence = "visible";
    break;
    Thanks
    Viral

    I found it after banging my head....

  • Hide the form field

    hai...
    i have a form which has
    three fileds,in that one fields set as
    as a combo box,in that combobox i have two
    values internal and external,if i click
    internal means it hidden the thrid field
    how can i hide the field
    thanks in advance
    bijesh

    Hi,
    Seems that the images in your post are broken, it would be better if you could edit your post and upload the correct images again, others who with the similar questions would get something helpful from it.
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • Password-protect and hide one form field

    Hi there,
    I have been browsing through old forum discussions in search of an answer to my question.  A code George Johnson posted was really helpful, but there's  one more function I need to add to it and am struggling to figure it out on my own.
    I am creating a PDF with form fields.  Different depts within the organization will review this PDF and pass it back and forth.  The Admin dept needs one text field called "internal comments" that they can password protect.  They'd like to be able to add text, then password-protect that one field so it's hidden for other depts who review this PDF.  Admin will need the copy to be visible to them when they enter their password. 
    The script I found works really well (see below).  I set up a button to house the script, and when you click it, it locks and unlocks the "internal comments" text field with the password.  However, I can't figure out how to HIDE the "internal comments" text field after someone in Admin inputs their information.   I tried setting up a Show/Hide Field action, but I can't get it to work.  And I'm just not savvy enough to know how to alter the Javascript.
    How can I specify that the "internal comments" text field be HIDDEN when a user enters their password for "deactivate this field", and VISIBLE when they enter a password for "activate this field"?
    Any help would be greatly appreciated!
    (function () {
        // Get one of the fields in the group
        var f = getField("private.name");
        // Determine new readonly state, which
        // is the opposite of the current state
        var readonly = !f.readonly;
        var readonly_desc = readonly ? "deactivate" : "activate";
        // Ask user for password
        var resp = app.response({
            cQuestion: "To " + readonly_desc + " the fields, enter the password:",
            cTitle: "Enter password",
            bPassword: true,
            cLabel: "Password"
        switch (resp) {
        case "your_password": // Your password goes here
            getField("private").readonly = readonly;
            app.alert("The fields are now " + readonly_desc + "d.", 3);
            break;
        case null : // User pressed Cancel button
            break;
        default : // Incorrect password
            app.alert("Incorrect password.", 1);
            break;

    You could modify the section of code to something like:
            case "your_password": // Your password goes here
            getField("private").readonly = readonly;
            getField("private").display = readonly ? display.hidden : display.visible;
            app.alert("The fields are now " + readonly_desc + ".", 3);
            break;
    So it toggles both the readonly property and the display property.
    Edit: corrected typo.

  • How to hide a form view field dynamically based on condition?

    Actually I have two dropdowns. First dropdown has two entries( Yes and No). If I select YES in the first dropdown then second dropdown will get hide as well as if I select NO in first dropdown then the second dropdown will be show as mandatory(*) and populate with some entries.
    Kindly help me out with the code.
    Regards
    Munna.

    Hi Munna,
    You can control the dynamic field hiding by using the form iterator class.
    Please follow the below step to hide the field,
    First create custom class with interface IF_CHTMLB_FORM_ITERATOR, then add the code in RENDER_CELL_START and constructor methods.
    You need to add the below code in your .htm page
    lr_form_iterator type ref to "new class name.
    create object lr_form_iterator
      exporting iv_context_node = BTCUSTOMERH iv_opport_h = BTOPPORTH.( these are context nodes you need to pass which are having your fields, so that you can access the fields inside the render_cell_start method)
      cl_chtmlb_config=>set_iterator( lr_form_iterator ).
    You need to write the code in Render_cell_start method of the new class. You need to access the context nodes to the new class and then use them to get the field1 value. If the field1 value is YES you can set empty instance to the EV_REPLACEMENT_BEE for the field2.
    lv_current = gv_context_node->collection_wrapper->get_current( ). " you can set the gv_context_node in constructure method.
        IF lv_current IS BOUND.
          lv_current->get_property_as_value(
                                  EXPORTING
                                    iv_attr_name = 'Field1'
                                  IMPORTING
                                      ev_result = lv_trailclass ).
        ENDIF.
    data: lv_bee TYPE REF TO cl_bsp_bee_table.
    if field1 = YES.
    Case iv_bidnding_string
    when 'Field2'.
    create object lv_bee.
    EV_REPLACEMENT_BEE = lv_bee.
    endcase.
    You can use the below link for more details
    Change Property of the Label and Input field in UI for Form View - Part 2
    For the second issue, you can achieve it by modifying the get p and Get V method of the second attribute.
    let me know if you need more clarification on this.
    Best Regards,
    kasi.

  • How to hide the Form Feed char in JTextArea

    We have reports (written in C) that are being displayed in a JTextArea.
    In our old app, the Form Feed character (ASCII 12) was invisible naturally without having to code around it. In a JTextArea, it appears as a "[]" character. Does anyone know how to make this character invisible to the JTextArea? Removing it is not an option, as it is needed for it's print routine.
    I've been searching these forums and the web all morning with no luck.

    Not sure how the Form Feed character worksIt lets the printer know that a new page is to be started at that point.
    Does it always appear with the New Line character?Usually but not always.
    Thanks for the reply. It's more involved than just printing standard lines of text, so perhaps I should have been more clear.
    The C report already has pagination built in from when it was run from our legacy GUI. In other words, each report knows how many chars wide and how many lines down each page will be. It is different for each report, but they all hover around 150 chars wide and 60 lines down per page, since they are all presented to the user (and printed) in landscape.
    In the C code: at the end of each report line a "\n" is appended. At the end of each page, an ASCII 12 character is appended. A header is at the top of each page (different for each report, but usually 2 or 3 lines) that shows the page # and other info.
    So, as you are viewing the report, you would see page 1 header, some report content, page 2 header, some more report content, page 3 header, etc. as you scroll down.
    So now if you view it in Java: if the user wishes to print, the report is sent to our ReportPrinter class, who tokenizes the report based on "\f" and makes a ReportPage object (implements Printable) for each token. Each ReportPage is then appened to a java.awt.print.Book object, who in turn is sent to the PrinterJob.
    Given that the report already has his pages figured out and has a form feed char at the end of each page, the report comes in to the JTextArea with [] chars preceding each page header (approximately every 60th line, depending on the report).
    I tried using a JTextPane, but no luck. It was also much slower reading in the report. I just want the textpane to not display the non-printable characters ("\f" in this case).

  • How to hide parameter form

    Hi all,
    using Forms 6i and reports 6i.
    vParamList:=CREATE_PARAMETER_LIST('MyRep');
    ADD_PARAMETER(vParamList, 'DESCHANGE_CODE',TEXT_PARAMETER,:EDCD_CODE);
    ADD_PARAMETER(vParamList, 'EMPLOYEE_CODE',TEXT_PARAMETER,:EDCD_EMP_CODE);
    ADD_PARAMETER(vParamList, 'EMPLOYEE_NAME',TEXT_PARAMETER,:to_whom);
    ADD_PARAMETER(vParamList, 'P_CTRY',TEXT_PARAMETER,:Parameter.P_CTRY);
    ADD_PARAMETER(vParamList, 'P_EFF_DATE',TEXT_PARAMETER,to_char(:desig_date,'DD-MON-YY'));
    ADD_PARAMETER(vParamList, 'P_LOC',TEXT_PARAMETER, :Parameter.P_LOC);
    ADD_PARAMETER(vParamList, 'P_ORGN',TEXT_PARAMETER,:Parameter.P_ORGN);
    ADD_PARAMETER(vParamList, 'P_ORU',TEXT_PARAMETER,:Parameter.P_ORU);
    ADD_PARAMETER(vParamList, 'REPORT_NAME',TEXT_PARAMETER,'EMP_REP_DEF');
    ADD_PARAMETER(vParamList,'PARAMFORM',TEXT_PARAMETER,'NO');
    RUN_PRODUCT(REPORTS,'D:\Reports\Payroll\emp_rep_def',ASYNCHRONOUS,RUNTIME,FILESYSTEM,vParamList,NULL);
    if i give the highlighted parameter down after ADD_PARAMETER(vParamList,'PARAMFORM',TEXT_PARAMETER,'NO');
    no parameter form ,no junk value
    if i run with above shown order of parameter in report along with employee_name's value its coming like
    Elegant P_CTRY='NY' P_EFF_DATE ='27-JUN-2010' P_loc
    please suggest a way
    Thanks
    :8}
    Edited by: elegant on Jul 19, 2010 3:24 PM

    As Forms 6i is no longer supported you don't have too many options:
    -try the latest patch for forms 6i.
    -leave the parameters in the order where they are working.

  • How to hide Interactive form in Web dynpro screen

    Hi all,
    I am working on an application where a user will enter the vendor number and based on that vendor the information of the vendor such as his name, address should get filled in the interactive form that we have created. I am able to get the vendor information at the back end and I have created a print button and hitting on that print button will actually fill the form. But now my problem is when I run the application the form is already displayed on the web dynpro screen (without any vlaues) and when I hit print button the form gets filled with correct values but I don;t want form to be pre displayed until and unless user hits print button. Can you please tell me how can I do this.
    Thanks,
    Rajat

    Hi Thomas,
    Thanks for quick reply.
    Let me explain you what I want... I am very new to webdynpro so my questions may sound very basic or may be weird.
    I have an application where the user will enter the vendor number on the web dynpro screen and then will hit the button PRINT and when he hits print  button the PDF form should be displayed on the web dynpro screen. So far when I run my application the vendor number (input field) is there and a print button is also there but beneath there is the whole interactive form is showing up (a balnk) and when I enter the vendor number and hit print the same form will get filled up with the required data.
    What I want is when I execute my application and on the web dynpro screen only the vendor number field and the print button should be visible and not the PDF form, the PDF form should only be displayed once user hit print button. I tried to change the value of the property from visible to none and what it did was the PDF form was not visible on the web dynpro screen on both the occassion i.e. when I execute the the web dynpro applkication and after when user hits print button.
    Thanks,
    Rajat

  • How to hide XML Form Label with Hyperlink set to Display?

    XML Forms Builder:  Currently I have a label with the Hyperlink set to Display (on the RenderListItem and when clicked it will open the Show form).  -  I want the label (caption is Read More..) to be hidden if there is no text in a HTML editor on the Edit form.  Anyone have any suggestions?

    XML Forms Builder:  Currently I have a label with the Hyperlink set to Display (on the RenderListItem and when clicked it will open the Show form).  -  I want the label (caption is Read More..) to be hidden if there is no text in a HTML editor on the Edit form.  Anyone have any suggestions?

  • How to hide specific form actions

    We have a requirement from our authors to remove unwanted form actions. I assumed that this would be permission specific and went into the content-author group and removed read ability for those actions from under /libs/foundation/form/components/form/actions/
    And yet they still appear.
    Is there another location that I shouldbe setting the permissions or do these just show up regardless?

    Hi,
    It should works like you wrote by set proper permissions for a group of users, but I just chekced in my local repository and it is working like in your case.
    If you want check from where are taken form actions values in the dropdown first of all you need to check configuration for this field which is stored under:
    - /libs/foundation/components/form/start/dialog/items/tabs/items/second/items/actiontype
    As this is a widget with xtype='formactionselection' then please take a look into js file which is implementation for this widget:
    - /libs/cq/ui/widgets/source/widgets/wcm/FormActionSelection.js
    There you find that the values in the dropdown for this filed are populated by calling :
    - /bin/wcm/foundation/forms/actions.json
    and of course setting permissions should solve this problem.
    In my opinion this a bug or I missed something, so only thing which I can suggest at this moment is to customize a little bit this widget.
    For example you can create a sort of actions which are used only by users in the /apps/project_name/form/actions (copy only those which are used from /libs/foundation/form/components/form/actions/) and then customize the widget by changing a path from
    /bin/wcm/foundation/forms/actions.json to /apps/project_name/form/actions.json
    I hope this helps you somehow to understand this issue more deeply.
    Regards,
    kasq

  • Can I hide data forms from users in Smartview?

    I thought the "Allow offline usage" option was what controlled whether or not a form could be accessed in Smartview, but I appear to be wrong. Is there a way to limit the forms that users can see in the Open Forms option in Smartview?
    We have a small set of forms we are thinking of allowing users to use Smartview to enter data in, but do not want to have them all visible. I can't find this topic in the documentation or in any of the other posts.
    11.1.1.3.
    Thanks.

    Go to Display Properties and check the box "Make data form hidden". Before that you could export the form to Excel as a Smart View worksheet and keep that for distribution to your users.

Maybe you are looking for