Editing a text depending on the value of another field to text field

Hi guys,.

I am facing problem with the update of a field of dependent text in another text field.

I have 2 text fields. Both are date format. In the 1st text field enter a date, and in the following text field I need the value in the form date_in_previous_text + 30 days.

I used a query at the time to validate the point but it does not work. It is as follows.

If: txt_field1 is not null then

: txt_field2: =: txt_field1 + 30;

end if;

Please help me with the same.

Hello

u has not clarify what the problem, u just said the scenario but without any anomaly. Try to use the KEY-NEXT-ITEM trigger on the second level of the item.

Or POST-TEXT-ELEMENT trigger of the 2nd element.

Amatu Allah.

Tags: Oracle Development

Similar Questions

  • How do I delete an article based on the value of another field


    I have a pdf form that I added to the text fields. My challenge is that of the financial section of the form, if the value of a specific field is empty or null, I blank block of signature financial review.  I've been trying to find a way to cover the area of signature with a white box or have a text box with signature block text appear or disappear depending on whether the value is zero or empty.

    If seen many answers on how to make the field itself disappear based on value, but I did find something that causes another field or shape appear or disappear depending on the value of another field.

    Please try the following script,

    var signid = true;

    If (this.getField("finan").value! = 0) signid = true;

    of another signid = false;

    If (SignID) this.getField("signaturefield").display = display.visible;

    else this.getField("signaturefield").display = display.hidden;

    Please let me know if it solves the problem.

  • How to enable and disable a button depending on the value of a field

    Hello experts,

    I enable and disable a button depending on the value of a field.

    I did the following:

    in a trigger of on_new_form_instrance I put the following
    begin
         
    go_block('OE_HEADER');
    execute_query;
    IF :oe_header.status = 'BOOKED' THEN        
          SET_ITEM_PROPERTY('CONTROL.ACTION',ENABLED,PROPERTY_FALSE);
    else
         SET_ITEM_PROPERTY('CONTROL.ACTION',ENABLED,PROPERTY_TRUE);
    end if;
    
    
    end;
    the problem is that it works but does not change when my header_status value is changed.

    You have to put the same code in when-validate-item trigger of: oe_header.status...

    and I think that this code should be trigger after query

    IF: oe_header.status = 'RESERVED' THEN
    SET_ITEM_PROPERTY('CONTROL.) ACTION', ENABLED, PROPERTY_FALSE);
    on the other
    SET_ITEM_PROPERTY('CONTROL.) ACTION', ENABLED, PROPERTY_TRUE);
    end if;

  • Fill a field value based on the value of another field

    Hello
    Could someone tell me what is the problem with the following select statement. For a group of records, trying to fill a field with a value based on the value in another field (problem of status), but the Group of records appears empty just when I put this code in the field.
    Any help would be appreciated
    Thank you


    <? choose:? >
    <? When: IssueStatus = "Open"? >
    <? 1? >
    <? end when? >
    <? otherwise:? >
    <? When: IssueStatus = "closed"? >
    <? 2? >
    <? end when? >
    <? otherwise:? >
    <? When: IssueStatus = "Unresolveable? >
    <? 3? >
    <? end when? >
    <? end otherwise? >
    <? end to choose? >

    Use the following syntax.

    
    
    Display 1
    
    
    Display 2
    
    
    Display 3
    
    
    
  • PDF form: fill in the field with the value of another field

    Hello

    I have a PDF form that one of our employees has to be completed on a regular basis.

    There is a 'product' - text field, which is present on the form several times, which will contain the same information.

    From now on, my colleague has fill all these these one by one manually. But with the copy - paste, it doesn't take more than a few seconds.

    However, to facilitate work a little, I want to it to be able to simply fill out one of the fields (can be a specific, must not be dynamic) and all the other 'product' - fields automatically takes the value of the field of this first.

    How can I accomplish this?

    I noted the possibility of JavaScript controls.

    I am familiar with basic JavaScript, however never used it for PDF files.

    Any help and pointers would be appreciated.

    Thank you very much.

    This isn't a problem with script. Just give each field of the same name. Once the field names are the same, a change in one will be to another. For some reason that it does not work with standard HTML forms, probably the reason why you ask.

  • return the value in another field

    Hi all. first I don't want anyone to laugh this is my 1st week with the 10g xe with application express 3.2
    in any case, I have a question
    I have 2 fields in a form that gets information from an another table (customers table) the first field is the name of the customer. which is easy I make a list of selection and display the value of the customer name and return the ID of the customer
    now I have another field in the form which is the region of the customer. I would like to be automatically generated from the table to the customer based on its ID, we chose earlier and I don't want it to be editable manually by the user.

    Please wait more stupid questions in the next 24 hours: D

    Mr. brainwash.

    Change your selection list to select using submit. This way when the value changes the page submit and information will be updated. Second, go to the properties of the item to your customer area and change the Source used to always substitute, the Source of the element of SQL query and finally in the value of the Source element, use a query that looks like this:

    SELECT region             -- region field
      FROM customers          -- your customers table
     WHERE id = :P150_CUST_ID -- this would be the bind variable for your select list.
    

    See you soon,.

    Janet Tyson

  • Change the value of a field when the value of another field changes.

    I have a level of order form with a number of areas where the quantity (number) is typed in they are labeled qty1, 2 and so on.

    Some of the items on the order form attract additional fixed a load which is shown in a separate field call it addcharge.

    If qty1 has a number entered it attracts an additional cost and the addcharge field changes the value of zero to say 1

    If 2 has a number entered without extra charge applies

    If 3 is a number entered without supplement applies

    If qty4 has a number it attracts an additional cost and the addcharge field changes the value of zero to say 1 or if the previous qty1 has already changed the addcharge to 1 field, remains at 1.

    If qty5 has a number entered it attracts an additional cost and the addcharge field changes the value of zero to say 1 or if the previous qty1 and qty4 has already changed the addcharge to 1 field, it remains 1


    It seems to me that some "if else" enabling javascript is necessary in the sense of "If qty1 field is greater at 0 addcharge field is 1"and I guess the script must be placed in each field which attracts addcharge.»»»


    Can anyone help with the script please.


    Thanks Eric

    Please sign the right answer. Thank you.

  • How to fill out a field value based on the value of another field

    I developed a page. It has two fields 'Qualification' and ' Points' (these two values are stored in a table of rear end).»

    The requirement is, if I select "Qualification" "Points" should be auto Norway.

    This can be achieved using LOV. But I don't want to use LOV here.

    I tried this using the partial Action of fire, but I m not getting the details of "Qualification" in CO, instead getting the value zero.

    How to get there?

    Thank you
    Srinivas

    Hello

    Pls change the code this way

    OAMessageTextInputBean omtb = (OAMessageTextInputBean) webean.findIndexedChildRecursive ("the field id");

    String QName = (String) omtb.getValue (pageContext);

    If ("PopulatePoints".equals (pagecontext.getParameter (EVENT_PARAM)))
    {

    OAMessageTextInputBean otbpnts = (OAMessageTextInputBean) webean.findIndexedChildRecursive ("points field id");

    otbpnts.setValue (pagecontext, Points);
    }

    Thnax
    Pratap

  • How can I display more fields based on the value of another field in conjunction with the visibility of the others?

    I have 17 text fields 'questions' and have hidden buttons for each I would appear once the administrator puts in a "password" at the bottom of the page.

    For the "password", I created a text field to enter this password and a "Log In" button.

    I want to be able to do is for the user to put in the 'password' and the 'Log In' button contains the script necessary to display these fields. 17 text fields show only one at a time, so I want the action of the 'Log In' button to show only the hidden buttons corresponding to the current visible areas.

    Here is my code. What happens is little matter what I do, it says the password is incorrect and mask "publient1" which has never been specified in the code in a variable.

    Initially, I had the first "else if" statement as the first "If" statement, but the results are the same in any event.

    var res = this.getField("resolution");
    var password = this.getField("password");
    var res1 = this.getField("add-res1");
    var res2 = this.getField("add-res2");
    var res3 = this.getField("add-res3");
    var res4 = this.getField("add-res4");
    var res5 = this.getField("add-res5");
    var res6 = this.getField("add-res6");
    var res7 = this.getField("add-res7");
    var res8 = this.getField("add-res8");
    var res9 = this.getField("add-res9");
    var res10 = this.getField("add-res10");
    var res11 = this.getField("add-res11");
    var res12 = this.getField("add-res12");
    var res13 = this.getField("add-res13");
    var res14 = this.getField("add-res14");
    var res15 = this.getField("add-res15");
    var res16 = this.getField("add-res16");
    var res17 = this.getField("add-res17");
    var issue1 = this.getField("issue1");
    var issue2 = this.getField("issue2");
    var issue3 = this.getField("issue3");
    var issue4 = this.getField("issue4");
    var issue5 = this.getField("issue5");
    var issue6 = this.getField("issue6");
    var issue7 = this.getField("issue7");
    var issue8 = this.getField("issue8");
    var issue9 = this.getField("issue9");
    var issue10 = this.getField("issue10");
    var issue11 = this.getField("issue11");
    var issue12 = this.getField("issue12");
    var issue13 = this.getField("issue13");
    var issue14 = this.getField("issue14");
    var issue15 = this.getField("issue15");
    var issue16 = this.getField("issue16");
    var issue17 = this.getField("issue17");
    var iv1 = issue1.display = display.visible;
    var iv2 = issue2.display = display.visible;
    var iv3 = issue3.display = display.visible;
    var iv4 = issue4.display = display.visible;
    var iv5 = issue5.display = display.visible;
    var iv6 = issue6.display = display.visible;
    var iv7 = issue7.display = display.visible;
    var iv8 = issue8.display = display.visible;
    var iv9 = issue9.display = display.visible;
    var iv10 = issue10.display = display.visible;
    var iv11 = issue11.display = display.visible;
    var iv12 = issue12.display = display.visible;
    var iv13 = issue13.display = display.visible;
    var iv14 = issue14.display = display.visible;
    var iv15 = issue15.display = display.visible;
    var iv16 = issue16.display = display.visible;
    var iv17 = issue17.display = display.visible;
    var ih1 = issue1.display = display.hidden;
    var ih2 = issue2.display = display.hidden;
    var ih3 = issue3.display = display.hidden;
    var ih4 = issue4.display = display.hidden;
    var ih5 = issue5.display = display.hidden;
    var ih6 = issue6.display = display.hidden;
    var ih7 = issue7.display = display.hidden;
    var ih8 = issue8.display = display.hidden;
    var ih9 = issue9.display = display.hidden;
    var ih10 = issue10.display = display.hidden;
    var ih11 = issue11.display = display.hidden;
    var ih12 = issue12.display = display.hidden;
    var ih13 = issue13.display = display.hidden;
    var ih14 = issue14.display = display.hidden;
    var ih15 = issue15.display = display.hidden;
    var ih16 = issue16.display = display.hidden;
    var ih17 = issue17.display = display.hidden;
    if(password.value == "") {
        res.display = display.hidden;
        res1.display = display.hidden;
     res2.display = display.hidden;
     res3.display = display.hidden;
     res4.display = display.hidden;
     res5.display = display.hidden;
     res6.display = display.hidden;
     res7.display = display.hidden;
     res8.display = display.hidden;
     res9.display = display.hidden;
     res10.display = display.hidden;
     res11.display = display.hidden;
     res12.display = display.hidden;
     res13.display = display.hidden;
     res14.display = display.hidden;
     res15.display = display.hidden;
     res16.display = display.hidden;
     res17.display = display.hidden; 
    }
    else if(password.value == "firefly" && iv1 && ih2 && ih3 && ih4 && ih5 && ih6 && ih7 && ih8 && ih9 && ih10 && ih11 && ih12 && ih13 && ih14 && ih15 && ih16 && ih17) {
        res.display = display.visible;
        res1.display = display.noPrint;
     res2.display = display.hidden;
     res3.display = display.hidden;
     res4.display = display.hidden;
     res5.display = display.hidden;
     res6.display = display.hidden;
     res7.display = display.hidden;
     res8.display = display.hidden;
     res9.display = display.hidden;
     res10.display = display.hidden;
     res11.display = display.hidden;
     res12.display = display.hidden;
     res13.display = display.hidden;
     res14.display = display.hidden;
     res15.display = display.hidden;
     res16.display = display.hidden;
     res17.display = display.hidden;
    }
    else if(password.value == "firefly" && iv1 && iv2 && ih3 && ih4 && ih5 && ih6 && ih7 && ih8 && ih9 && ih10 && ih11 && ih12 && ih13 && ih14 && ih15 && ih16 && ih17) {
        res.display = display.visible;
        res1.display = display.noPrint;
     res2.display = display.noPrint;
     res3.display = display.hidden;
     res4.display = display.hidden;
     res5.display = display.hidden;
     res6.display = display.hidden;
     res7.display = display.hidden;
     res8.display = display.hidden;
     res9.display = display.hidden;
     res10.display = display.hidden;
     res11.display = display.hidden;
     res12.display = display.hidden;
     res13.display = display.hidden;
     res14.display = display.hidden;
     res15.display = display.hidden;
     res16.display = display.hidden;
     res17.display = display.hidden;
    }
    else if(password.value == "firefly" && iv1 && iv2 && iv3 && ih4 && ih5 && ih6 && ih7 && ih8 && ih9 && ih10 && ih11 && ih12 && ih13 && ih14 && ih15 && ih16 && ih17) {
        res.display = display.visible;
        res1.display = display.noPrint;
     res2.display = display.noPrint;
     res3.display = display.noPrint;
     res4.display = display.hidden;
     res5.display = display.hidden;
     res6.display = display.hidden;
     res7.display = display.hidden;
     res8.display = display.hidden;
     res9.display = display.hidden;
     res10.display = display.hidden;
     res11.display = display.hidden;
     res12.display = display.hidden;
     res13.display = display.hidden;
     res14.display = display.hidden;
     res15.display = display.hidden;
     res16.display = display.hidden;
     res17.display = display.hidden;
    }
    else if(password.value == "firefly" && iv1 && iv2 && iv3 && iv4 && ih5 && ih6 && ih7 && ih8 && ih9 && ih10 && ih11 && ih12 && ih13 && ih14 && ih15 && ih16 && ih17) {
        res.display = display.visible;
        res1.display = display.noPrint;
     res2.display = display.noPrint;
     res3.display = display.noPrint;
     res4.display = display.noPrint;
     res5.display = display.hidden;
     res6.display = display.hidden;
     res7.display = display.hidden;
     res8.display = display.hidden;
     res9.display = display.hidden;
     res10.display = display.hidden;
     res11.display = display.hidden;
     res12.display = display.hidden;
     res13.display = display.hidden;
     res14.display = display.hidden;
     res15.display = display.hidden;
     res16.display = display.hidden;
     res17.display = display.hidden;
    }
    else if(password.value == "firefly" && iv1 && iv2 && iv3 && iv4 && iv5 && ih6 && ih7 && ih8 && ih9 && ih10 && ih11 && ih12 && ih13 && ih14 && ih15 && ih16 && ih17) {
        res.display = display.visible;
        res1.display = display.noPrint;
     res2.display = display.noPrint;
     res3.display = display.noPrint;
     res4.display = display.noPrint;
     res5.display = display.noPrint;
     res6.display = display.hidden;
     res7.display = display.hidden;
     res8.display = display.hidden;
     res9.display = display.hidden;
     res10.display = display.hidden;
     res11.display = display.hidden;
     res12.display = display.hidden;
     res13.display = display.hidden;
     res14.display = display.hidden;
     res15.display = display.hidden;
     res16.display = display.hidden;
     res17.display = display.hidden;
    }
    else if(password.value == "firefly" && iv1 && iv2 && iv3 && iv4 && iv5 && iv6 && ih7 && ih8 && ih9 && ih10 && ih11 && ih12 && ih13 && ih14 && ih15 && ih16 && ih17) {
        res.display = display.visible;
        res1.display = display.noPrint;
     res2.display = display.noPrint;
     res3.display = display.noPrint;
     res4.display = display.noPrint;
     res5.display = display.noPrint;
     res6.display = display.noPrint;
     res7.display = display.hidden;
     res8.display = display.hidden;
     res9.display = display.hidden;
     res10.display = display.hidden;
     res11.display = display.hidden;
     res12.display = display.hidden;
     res13.display = display.hidden;
     res14.display = display.hidden;
     res15.display = display.hidden;
     res16.display = display.hidden;
     res17.display = display.hidden;
    }
    else if(password.value == "firefly" && iv1 && iv2 && iv3 && iv4 && iv5 && iv6 && iv7 && ih8 && ih9 && ih10 && ih11 && ih12 && ih13 && ih14 && ih15 && ih16 && ih17) {
        res.display = display.visible;
        res1.display = display.noPrint;
     res2.display = display.noPrint;
     res3.display = display.noPrint;
     res4.display = display.noPrint;
     res5.display = display.noPrint;
     res6.display = display.noPrint;
     res7.display = display.noPrint;
     res8.display = display.hidden;
     res9.display = display.hidden;
     res10.display = display.hidden;
     res11.display = display.hidden;
     res12.display = display.hidden;
     res13.display = display.hidden;
     res14.display = display.hidden;
     res15.display = display.hidden;
     res16.display = display.hidden;
     res17.display = display.hidden;
    }
    else if(password.value == "firefly" && iv1 && iv2 && iv3 && iv4 && iv5 && iv6 && iv7 && iv8 && ih9 && ih10 && ih11 && ih12 && ih13 && ih14 && ih15 && ih16 && ih17) {
        res.display = display.visible;
        res1.display = display.noPrint;
     res2.display = display.noPrint;
     res3.display = display.noPrint;
     res4.display = display.noPrint;
     res5.display = display.noPrint;
     res6.display = display.noPrint;
     res7.display = display.noPrint;
     res8.display = display.noPrint;
     res9.display = display.hidden;
     res10.display = display.hidden;
     res11.display = display.hidden;
     res12.display = display.hidden;
     res13.display = display.hidden;
     res14.display = display.hidden;
     res15.display = display.hidden;
     res16.display = display.hidden;
     res17.display = display.hidden;
    }
    else if(password.value == "firefly" && iv1 && iv2 && iv3 && iv4 && iv5 && iv6 && iv7 && iv8 && iv9 && ih10 && ih11 && ih12 && ih13 && ih14 && ih15 && ih16 && ih17) {
        res.display = display.visible;
        res1.display = display.noPrint;
     res2.display = display.noPrint;
     res3.display = display.noPrint;
     res4.display = display.noPrint;
     res5.display = display.noPrint;
     res6.display = display.noPrint;
     res7.display = display.noPrint;
     res8.display = display.noPrint;
     res9.display = display.noPrint;
     res10.display = display.hidden;
     res11.display = display.hidden;
     res12.display = display.hidden;
     res13.display = display.hidden;
     res14.display = display.hidden;
     res15.display = display.hidden;
     res16.display = display.hidden;
     res17.display = display.hidden;
    }
    else if(password.value == "firefly" && iv1 && iv2 && iv3 && iv4 && iv5 && iv6 && iv7 && iv8 && iv9 && iv10 && ih11 && ih12 && ih13 && ih14 && ih15 && ih16 && ih17) {
        res.display = display.visible;
        res1.display = display.noPrint;
     res2.display = display.noPrint;
     res3.display = display.noPrint;
     res4.display = display.noPrint;
     res5.display = display.noPrint;
     res6.display = display.noPrint;
     res7.display = display.noPrint;
     res8.display = display.noPrint;
     res9.display = display.noPrint;
     res10.display = display.noPrint;
     res11.display = display.hidden;
     res12.display = display.hidden;
     res13.display = display.hidden;
     res14.display = display.hidden;
     res15.display = display.hidden;
     res16.display = display.hidden;
     res17.display = display.hidden;
    }
    else if(password.value == "firefly" && iv1 && iv2 && iv3 && iv4 && iv5 && iv6 && iv7 && iv8 && iv9 && iv10 && iv11 && ih12 && ih13 && ih14 && ih15 && ih16 && ih17) {
        res.display = display.visible;
        res1.display = display.noPrint;
     res2.display = display.noPrint;
     res3.display = display.noPrint;
     res4.display = display.noPrint;
     res5.display = display.noPrint;
     res6.display = display.noPrint;
     res7.display = display.noPrint;
     res8.display = display.noPrint;
     res9.display = display.noPrint;
     res10.display = display.noPrint;
     res11.display = display.noPrint;
     res12.display = display.hidden;
     res13.display = display.hidden;
     res14.display = display.hidden;
     res15.display = display.hidden;
     res16.display = display.hidden;
     res17.display = display.hidden;
    }
    else if(password.value == "firefly" && iv1 && iv2 && iv3 && iv4 && iv5 && iv6 && iv7 && iv8 && iv9 && iv10 && iv11 && iv12 && ih13 && ih14 && ih15 && ih16 && ih17) {
        res.display = display.visible;
        res1.display = display.noPrint;
     res2.display = display.noPrint;
     res3.display = display.noPrint;
     res4.display = display.noPrint;
     res5.display = display.noPrint;
     res6.display = display.noPrint;
     res7.display = display.noPrint;
     res8.display = display.noPrint;
     res9.display = display.noPrint;
     res10.display = display.noPrint;
     res11.display = display.noPrint;
     res12.display = display.noPrint;
     res13.display = display.hidden;
     res14.display = display.hidden;
     res15.display = display.hidden;
     res16.display = display.hidden;
     res17.display = display.hidden;
    }
    else if(password.value == "firefly" && iv1 && iv2 && iv3 && iv4 && iv5 && iv6 && iv7 && iv8 && iv9 && iv10 && iv11 && iv12 && iv13 && ih14 && ih15 && ih16 && ih17) {
        res.display = display.visible;
        res1.display = display.noPrint;
     res2.display = display.noPrint;
     res3.display = display.noPrint;
     res4.display = display.noPrint;
     res5.display = display.noPrint;
     res6.display = display.noPrint;
     res7.display = display.noPrint;
     res8.display = display.noPrint;
     res9.display = display.noPrint;
     res10.display = display.noPrint;
     res11.display = display.noPrint;
     res12.display = display.noPrint;
     res13.display = display.noPrint;
     res14.display = display.hidden;
     res15.display = display.hidden;
     res16.display = display.hidden;
     res17.display = display.hidden;
    }
    else if(password.value == "firefly" && iv1 && iv2 && iv3 && iv4 && iv5 && iv6 && iv7 && iv8 && iv9 && iv10 && iv11 && iv12 && iv13 && iv14 && ih15 && ih16 && ih17) {
        res.display = display.visible;
        res1.display = display.noPrint;
     res2.display = display.noPrint;
     res3.display = display.noPrint;
     res4.display = display.noPrint;
     res5.display = display.noPrint;
     res6.display = display.noPrint;
     res7.display = display.noPrint;
     res8.display = display.noPrint;
     res9.display = display.noPrint;
     res10.display = display.noPrint;
     res11.display = display.noPrint;
     res12.display = display.noPrint;
     res13.display = display.noPrint;
     res14.display = display.noPrint;
     res15.display = display.hidden;
     res16.display = display.hidden;
     res17.display = display.hidden;
    }
    else if(password.value == "firefly" && iv1 && iv2 && iv3 && iv4 && iv5 && iv6 && iv7 && iv8 && iv9 && iv10 && iv11 && iv12 && iv13 && iv14 && iv15 && ih16 && ih17) {
        res.display = display.visible;
        res1.display = display.noPrint;
     res2.display = display.noPrint;
     res3.display = display.noPrint;
     res4.display = display.noPrint;
     res5.display = display.noPrint;
     res6.display = display.noPrint;
     res7.display = display.noPrint;
     res8.display = display.noPrint;
     res9.display = display.noPrint;
     res10.display = display.noPrint;
     res11.display = display.noPrint;
     res12.display = display.noPrint;
     res13.display = display.noPrint;
     res14.display = display.noPrint;
     res15.display = display.noPrint;
     res16.display = display.hidden;
     res17.display = display.hidden;
    }
    else if(password.value == "firefly" && iv1 && iv2 && iv3 && iv4 && iv5 && iv6 && iv7 && iv8 && iv9 && iv10 && iv11 && iv12 && iv13 && iv14 && iv15 && iv16 && ih17) {
        res1.display = display.noPrint;
     res2.display = display.noPrint;
     res3.display = display.noPrint;
     res4.display = display.noPrint;
     res5.display = display.noPrint;
     res6.display = display.noPrint;
     res7.display = display.noPrint;
     res8.display = display.noPrint;
     res9.display = display.noPrint;
     res10.display = display.noPrint;
     res11.display = display.noPrint;
     res12.display = display.noPrint;
     res13.display = display.noPrint;
     res14.display = display.noPrint;
     res15.display = display.noPrint;
     res16.display = display.noPrint;
     res17.display = display.hidden;
    }
    else if(password.value == "firefly" && iv1 && iv2 && iv3 && iv4 && iv5 && iv6 && iv7 && iv8 && iv9 && iv10 && iv11 && iv12 && iv13 && iv14 && iv15 && iv16 && iv17) {
        res1.display = display.noPrint;
     res2.display = display.noPrint;
     res3.display = display.noPrint;
     res4.display = display.noPrint;
     res5.display = display.noPrint;
     res6.display = display.noPrint;
     res7.display = display.noPrint;
     res8.display = display.noPrint;
     res9.display = display.noPrint;
     res10.display = display.noPrint;
     res11.display = display.noPrint;
     res12.display = display.noPrint;
     res13.display = display.noPrint;
     res14.display = display.noPrint;
     res15.display = display.noPrint;
     res16.display = display.noPrint;
     res17.display = display.noPrint;
    }
    else {
        app.alert("The wrong password was entered. Please enter the correct password.")
        iv1;
        res1.display = display.hidden;
     res2.display = display.hidden;
     res3.display = display.hidden;
     res4.display = display.hidden;
     res5.display = display.hidden;
     res6.display = display.hidden;
     res7.display = display.hidden;
     res8.display = display.hidden;
     res9.display = display.hidden;
     res10.display = display.hidden;
     res11.display = display.hidden;
     res12.display = display.hidden;
     res13.display = display.hidden;
     res14.display = display.hidden;
     res15.display = display.hidden;
     res16.display = display.hidden;
     res17.display = display.hidden;
    }
    

    These lines in your code does not make sense (and the rest of the code is dependent on them):

    iv1 var = issue1.display = display.visible;

    I think what you mean probably to do is the following:

    iv1 var = (issue1.display == display.visible);

    This sentence of yours shows a lack of understanding of the JS operators:

    I also tried several operators equal sign for password.value, including a single equal sign, through three equal signs.

    You should do some research and find out what the differences are between '=', 'is' and ' ='. '. They are essential to your code.

  • The value of another field using the multiple-selection list

    Hello

    I have a multi select list as USER name name...
    In these cases, I select several users as For example JOHN AND JACK
    Database that should get both their email ID then fill in textarea (separated by commas)

    As I am new to apex, pls help.

    Welcome to this forum... :))

    What is your version of the database?

    If you use database 11g then you can use the following query for your condition,

    select LISTAGG(user_email, ':') WITHIN GROUP (ORDER BY user_email) from table_name
    where INSTR(':'||NVL(:PX_USERNAME,user_name)||':',':'||user_name||':')>0
    

    instead of PX_USERNAME use the name of your multi selection list.

    Use this query in your textfield.

    Thank you
    Lacombe

  • Creating an external link in a field based on the value of another field

    Have 2 fields in a table: CR_Number and CR_Link (two varchar2s). If a CR_Number is filled in the data form, the CR_Link will be filled with a link to an enterprise application manager to open this application from Apex.

    This is my original formula of SharePoint: = IF ([VC #] = "","","< a href =" http://intranet.att.com/oneattcr/crsummary.cfm?crid= "& [CR_Number] &" "target = '_blank' >" & [CR_Number] & "< /a >" "). I tried to reflect the HTML but does not work. It's my current to DECODE syntax:

    DECODE (CR_NUMBER, NULL, Null,'|) CR_NUMBER:')

    Where I'm going wrong? Appreciate any help. Thank you!

    Not connected to the test currently but should be something like;

    DECODE(CR_NUMBER,NULL,Null,''||CR_NUMBER||'')
    

    Published by: Craig C March 22, 2013 21:18

  • How to set the value of a field from the LOV of another field.

    I'm trying to figure out how to set the value of a field (P_PROGRAM) to the value of another field of based lov (P_STATE).

    The P_PROGRAM field is a hidden field. The P_STATE field is a required field and is based on a list of values for the State Codes.

    When a user selects the State to P_STATE, the field of the P_PROGRAM should be set to this value, as well.

    I tried different ways to get there via a function call on the post for the calculation of the field P_STATE, defining the source P_PROGRAM to the value of the page item P_STATE put varialbles, creating a process before SENDING, and they all still come back as having a NULL value for P_PROGRAM, therefore impossible to create the file in the db as the PROGRAM is a mandatory field in the table.

    Can you please help? Thank you, Laura

    Laura,

    It is always helpful if you provide information about the Apex version you are using. The Apex 4 you can use Dynamic Actions to achieve this. In earlier versions is possible using processes to submit or javacsripts, as well.

    Heres how you do in 3.x with treatment to submit, to make it work in 4.0 as well.

    1 do the P_STATE ' select list submits the Page.
    2. Add a calculation on the point P_PROGRAM, or write to him assign a value based on a process. The treatment should be OnLoad after the header
    3. If the page does not have an unconditional branch that loops on itself, add a. NOTE: The direction must be the last branch (larger sequence number) and should have checked "Save Session State".

    This is what will happen
    a. when the State is selected Page will be submitted
    (b) it will take the unconditional branch to himself and save the value of P_STATE
    c. the calculation process / fills the value of the P_PROGRAM element when the page reloads

    Kind regards

  • Toggle button depends on the value of the selected row

    Hello.

    My problem is:

    I have a Table "singleSelect" and a button Delete.

    I´d want to toggle the button depends on the value of the selected row.

    I mean:

    C1: DepartmentId
    C2: Yes/No

    For each line: If c2 = "" then disable the rest button activates the button.

    I hope you can help me.

    I'm from Venezuela my English is not very good. :)

    Disabled = "#{row." C2 eq 'No'} '.

  • Derivative of a cell based on the value of another cell's true/false

    Hello

    I try to create a list of digital control and would have put cells highlight according to a corresponding value in another cell.

    For example, I would like cell D2 to white if the cell H2 is FALSE, or if the values of H2 is TRUE, I would D2 to be green. I want this for about 20 lines.

    Any suggestions?

    Hi JCR.

    Conditional highlighting rules depend on comparing the value contained in the cell to be highlighted (D2) with a second value. The second value may be fixed (recorded in the rule) or may be contained in a cell of the second.

    In your scenario, the highlight would be independent of the value in D2.

    There are two ways to accomplish what you want using conditional highlighting, highlighting a third cell whose value depends on the value in H2 and whose pointing out will be seen as highlighting of the D2, OR by providing a third cell whose value can match or does not match the value in D2 , the value of H2.

    Since you want to highlight only a single cell, and not a group of cells, the second method is probably more simple here.

    Each cell in the column I contains the following formula, entered in I2, and filled then down on the rest of the column:

    I2: = IF (H, D, "xxx")

    English: If the cell in this row of column H is set to TRUE (enabled), copy the value in this row of column D to this cell. If not, put "xxx" in this cell.

    'xxx' can be any value that will be ever present in the cells in column D.

    The below table conditional formatting rule is placed in cells D2 - D10. The cell reference is to the cell "this rank" in column I and is different for each cell.

    Kind regards

    Barry

  • [JDev12c, ADF] How to get the value of a field from the selected line in af:table and...

    Hallo,

    I want to double click on a line of an af:table to call a page that displays a form (based on a View object) with the details of the selected line.

    I need to go to the second page the value of a field on the line that is selected on the first page.

    How can I do this? In particular, how can I get the value of a field from the selected line? How can I call the second page on double-click on the af line: table?

    Thank you

    F.

    Why would user, you need to pass a value of the line to the shape?

    The framework selects the line you want to display in the form. All you have to do is to show the form with the selected line. It is the framework automatically as long as you use e vo even the same data control.

    Timo

    Post edited by: Timo Hahn
    And the handling double-clicks is described here http://www.oracle.com/technetwork/developer-tools/adf/learnmore/56-handle-doubleclick-in-table-170924.pdf

Maybe you are looking for

  • Satellite A210-199 - how to replace the fan?

    A Satellite A210-199 of the fan does not work, where to replace in Donetsk (Ukraine)?

  • How do I copy movies from iTunes to a USB port so I can watch them on my TV

    I just downloaded a movie on iTunes. How do I copy movies from iTunes to a USB port so I can watch them on my TV? Is there another way I can do this?

  • XP runtime errors in by reinstalling

    I had to reinstall Windows XP and am having problems setting up again. When I try to install microsoft fix Center, he said cannot do, runtime error... When I try to start my Winword.exe or msaccess.exe (2007), he says "operating system is not current

  • WAP54G and new modem

    I had wireless access WAP54G for about two years, connected to a D-Link router which is connected to a SpeedStream 5260 DSL modem, he supported a desk and four laptops without any problem. The modem is old and starting to have problems of hosting an

  • Themes are screwed up.

    Windows 7 HP (Home Premium not the brand HP) x 64. If I click on a topic, for example, Windows 7, it gives me a high contrast theme. Click based on Win7, I bring the Canada, and Architecture hit gives me the theme 7 regular. What's wrong? My computer