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.

Tags: Acrobat

Similar Questions

  • 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
    
    
    
  • 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 to format a single cell based on the value in another cell?

    IM using JDEV 11.1.2.4 and had the following use cases.

    based on a threshold value in a column of my line, I want to show a different value in the color red.

    How to get there?

    Hello

    This could be a possible solution using inlineStyle and a simple logic of EL

    inlineStyle = ' #{rank. " TRESHOLD > 10? "{" color: #990000 ': "color: #000000 '} '.

    ID = "ot1" / >

    Marc

  • 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.

  • 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 disable a page based on the value of another element on the Page element?

    Hello

    How can I turn a page element using javascript based on the value of another element on the page?

    Eg: P1_TEXT want to be disabled if the value in P1_LCOK = "LOCK".

    How can I do this using javascript. I want this implemt on loading the page.

    Kind regards
    Benz

    Put this function in the page header:

    
    

    and call it in the footer:

    f_disable_item;
    

    Denes Kubicek
    ------------------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    ------------------------------------------------------------------------------

  • Change the Label element based on the value of another element

    Hi guys,.

    I need to put a label of point (A) based on the value of another article (B). I did the following:
    I created a dynamic action.
    When B changes:
    1. present the value of B
    Article 2-updated
    Is element A label: myitem & b.

    Any ideas?

    Best regards
    Fateh

    His work! Check it out now

    Just do it

    $('#mylabel').children('label').children('span').text($v('P1_A'));
    

    Published by: VC on June 9, 2012 11:21

  • How ItemRenderer change for DataGrid column based on the value of this column?

    Hello! I am trying to create a DataGrid that has a component Button to register when the value of this column is 'Open', then a label saying full when the value of this column is "Full". But Im having a hell of a time he find.

    Here's my MXML with 2 different inline installation of components for different rendering engines point 2:

    <? XML version = "1.0" encoding = "utf-8"? >
    "" < mx:Application xmlns:mx = ' http://www.adobe.com/2006/mxml ' layout = "absolute" >

    < mx:Component id = "RegFull" >
    < mx:VBox horizontalAlign = "center" verticalAlign = "middle" >
    < mx:Label id = 'Full text' text = "Full" / >
    < / mx:VBox >
    < / mx:Component >

    < mx:Component id = "RegButton" >
    < mx:VBox horizontalAlign = "center" verticalAlign = "middle" >
    < mx:Button label = "Save" / >
    < / mx:VBox >
    < / mx:Component >

    < mx:DataGrid id = "scGrid" width = "100%" height = "100%" number of lines = "4" >

    < mx:dataProvider >
    < mx:Object label = "Status" data = 'Open' / >
    < mx:Object label = "Status" data = "Full" / >
    < mx:Object label = "Status" data = 'Open' / >
    < mx:Object label = "Status" data = "Full" / >
    < mx:Object label = "Status" data = 'Open' / >
    < mx:Object label = "Status" data = "Full" / >
    < / mx:dataProvider >

    < mx:columns >
    < mx:DataGridColumn id = "RegCol" headerText = "Reg" dataField = "data" / >
    < / mx:columns >

    < / mx:DataGrid >
    < / mx:Application >

    How can I dynamically use the right of itemrenderer based on the value of the field? THANKS FOR ANY HELP PROVIDED!

    The best
    Stephen

    You can have more than 1 column renderer engine. There are two ways to do this. One way would be to use States. A State for each possible value in the data. Since you either want a button (data == 'open') or a label (data == 'Full') by using the States wouldn't be a bad choice.

    Alternatively, you can use a canvas instead of a VBox. Make a label and a button with horizontalCenter = "0" "0" = red to make them each other. Make it visible according to the data value:






    where dataField is the value of the property dataField on this converter DataGridColumn.

  • Is there an easy way to filter a 2D table based on the values in two fields?

    Y at - it an easy way to filter a 2D table based on the values of one of the fields. In my attached VI the output array has the following format:

    Ident Frame Type bytes TimeStamp data

    10:57:07.621 3AD00016 POUVEZ 8 0000000000000000 data frame

    10:57:07.622 3AD00017 CAN data frame 8 000005E000000000

    10:57:07.624 3AD00018 POUVEZ 8 0000000003300000 data frame

    10:57:07.625 2DC00000 POUVEZ 8 0000000000000000 data frame

    10:57:07.626 3AD00019 POUVEZ 4 0000030000000000 data frame

    I would like to delete all lines that do not have an "Ident" between the values of 3AD00000 and 3AD0001E. So for the data above the fourth row would be removed. The only way I can see to do this is to form a 1 d table. Is there a better approach?

    Thank you.

    Hi chuck72352,

    After you've sorted your data, you can use the function InRange. Combined with a "search in 1 table D", you get the range you really want.

    Mike

  • Apex 5 schedule: different color based on the value of data field

    Dear Experts,

    I need to have a different color for each record on the calendar based on the value of the data field (eg. category).

    How can I achieve this?

    Thank you!

    See: -.

    You don't have to wait for APEX 5 integration FullCalendar ~ Blog of Doug Gault...

  • ADF Table cell color based on the value of this field

    Dear all,
    I want to create a table for our new application that contains a table that is used to represent the data in a table or matrix format.
    and each cell of the table should be filled with a color of three colors, based on the value belongs to who will for example: (1-8-> green, 9-20 - yellow etc.).
    I don't know how to implement this. Help, please...

    Rognard

    Please post in the subforum that is appropriate for your question.

    http://forums.Oracle.com/forums/Ann.jspa?annID=599

    This blocking thread

  • Deactivating a page element based on the value of another element on the page

    Hello
    I have a page element I want to turn off if the value of another article (drop-down list item) is set to a specific value. I followed the example in the book 'Pro Oracle APEX"(p.320) in this regard. He ordered me to do this in the HTML form element attributes for the element section:
    OnChange = "htmldb_item_change (this); html_DisableOnValue (This, 'Closed', 'P3_PRIORITY', 'P3_ASSIGNED_TO'); »

    It works very well. It disables the element I want to disable. HOWEVER, it does not neutralize the article unless the element with the onchange attribute is changed.

    How can I add features to disable the second element, even if the first element does not change, but contains the value 'Closed' when the user of the first load of the page?

    Thanks for your help and your insight!
    -Reid

    Hello Reid,

    The easiest way would be to (also) a Condition only read the item that you want to disable.

    Greetings,
    Roel

    http://roelhartman.blogspot.com/

  • Show/hide subform based on the value of digital field

    Hi all


    I created my first form in LiveCycle Designer, but jammed with coding. Any help would be greatly appreciated.

    In the attached form, based on the value of field digital "number Total points" (calculated from the user of entry), I want two things to happen.

    The 'field' text should display different text depending on the points,

    • Less than 10 points is "beginner."
    • 10-14 is "intermediate."

    and just like that...

    If the total number of points is less than 10, 'Course for beginners' and 'Language' DropDownList must appear.

    Is there a way to do this? I tried posting 'If' 'else' statement, but it does not work. I looked in the previous discussions, but cannot find that anything will be based on the numeric value.

    You are looking for assistance.
    R

    The joint responds to your needs. The JavaScript on the TextField1 calculate event anime.

    Form1. #subform [0]. TextField1::calculate - (JavaScript, client)

    If (NumericField1.rawValue! = 0) {}
    If (NumericField1.rawValue< 10)="">
    DropDownList1.presence = "visible";
    DropDownList2.presence = "visible";
    this.rawValue = "beginner."
    }
    else {}
    DropDownList1.presence = 'hidden ';
    DropDownList2.presence = 'hidden ';
    If (NumericField1.rawValue< 15)="">
    this.rawValue = "middle";
    }
    else {}
    this.rawValue = "";
    }
    }
    }

    Steve

  • How to create a Top 10 based on the values in a database?

    I have a database table that stores scores for events, like a rating system.

    Users choose an event they want to score, enter their score/side and insert it into the database table.

    It gives me in my table:

    User - rating - event

    Football - 5 - Joe Public

    Football - 4.5 - Jane Public

    Tennis - 3 - Joe Public

    .. and so on.

    I want to do two things.  First of all, I need to calculate the average in each event, which is fairly easy, even if I don't quite have my head around the GROUP BY clause, which, as I understand it, only allows me to use a database field?

    Secondly, I would like to display dynamically from the database, the list of top 10 events based on the results of the average rating.

    How easy is it for reach?  I use the ASP/VBScript and MSSQL database.

    Appreciate all advice offered.  Thank you.
    Concerning
    Nath.

    > the GROUP BY clause that, if I understand correctly,

    > only allows me to use a database field?

    Lol you can include as many values in the group by clause as you want. The output will be a line for each combination of group.

    > Then, I want to display dynamically from the database, a list

    > the top 10 of the events based on the results of the average rating.

    In MSSQL, you use the rating feature:

    thin-SQL-Server http://www.databasejournal.com/features/MSSQL/article.php/3661461/new-ranking-functions-Wi - 2005.htm

Maybe you are looking for