WHT miss me in this logic of condition 'IF '?

Hello

Pls help me,

var myObject = /TextField11/

var greyFieldsList = "TextFieldAA TextFieldBB TextFieldCC"

var ReqFieldsList = "TextField11 TextField22 TextField33"

var returnValue = greyFieldsList.search (myObject);

var returnValueReq = ReqFieldsList.search (myObject);

If (returnValue! = - 1) {}
this.fillColor = "192,192,192." GRAY
This.Access = "readOnly";
}
ElseIf (returnValueReq! = - 1).
{
this.fillColor = "255,255,191";  YELLOW
}
on the other
{
do nothing
}

Yellow does not at all!

Gray works sometimes, sometimes not.

Pls. correct my if condition in a way he shoud work.

At the given time, any field have only a single color

Thank you

Hello

Please debug your code by putting alerts between the lines for me coz code works very well.

App.Alert (returnValue);

App.Alert (returnValueReq);

I hope this helps.

Tags: Adobe LiveCycle

Similar Questions

  • I get this error message when I try to install "the resources required are missing" what is this all?

    I get this error message when I try to install "the resources required are missing" what is this all?

    I've had photoshop for years, it has stopped working last week - I think he suggested I have try to reinstall so I uninstalled and when I try to reinstall is give me this error message!

    "Required resources" that is that all?

    The product is not tested on the operating system you are using, so it may or may not work on it.

    I suggest you to upgrade to creative cloud and use the latest Adobe Photoshop CC 2015. See, Lightroom and Photoshop | Plan of creative photography of cloud of Adobe

  • Missing ProX Instrument slot logic.

    One of my students met something logical that I've never seen before. The 'Instrument' of the Inspector slot wasn't there. If anyone has encountered this before? I had him rescan Plugins and restore default in the Plugin Manager. I'm at a loss as to what else to try. Am I missing something obvious?

    Right click on the channel strip

    Select Configure channel strip

    and entry/Instrument is checked...

  • How to achieve this logic?

    I have 3 tables with structure as below.

    create table T1

    (ColA VARCHAR2 (50 CHAR) NOT NULL,)

    ColB VARCHAR2 (50 CHAR) NOT NULL,

    Teachers VARCHAR2 (50 CHAR) NOT NULL,

    date of startdt

    float (126) of t1_price 0 not null by default)

    create table T2

    (ColA VARCHAR2 (50 CHAR) NOT NULL,)

    ColB VARCHAR2 (50 CHAR) NOT NULL,

    Teachers VARCHAR2 (50 CHAR) NOT NULL,

    date of startdt

    float (126) of t2_price 0 not null by default)

    create table T3

    (ColA VARCHAR2 (50 CHAR) NOT NULL,)

    ColB VARCHAR2 (50 CHAR) NOT NULL,

    Teachers VARCHAR2 (50 CHAR) NOT NULL,

    date of startdt

    float (126) of t3_price 0 not null by default)

    Requirement is to fill the T3_price in the table T3 provided that if there is an entry in T1 for same startdate, T1_price should be used elsewhere last entry of T2 must be used. Some examples of data.

    Registrations in Q1

    ColA

    ColB

    Teachers

    Startdt

    T1_Price

    VAL1

    VAL2

    VAL3

    14/09/2014

    100

    VAL1

    VAL2

    VAL3

    21/09/2014

    100

    VAL1

    VAL2

    VAL3

    10/12/2014

    200

    Registrations in Q2

    ColA

    ColB

    Teachers

    Startdt

    T2_Price

    VAL1

    VAL2

    VAL3

    09/07/2014

    200

    VAL1

    VAL2

    VAL3

    10/05/2014

    300

    09/07/2014

    14/09/2014

    21/09/2014

    28/09/2014

    10/05/2014

    10/12/14

    19/10/14

    T1_Price

    100

    100

    200

    T2_Price

    200

    200

    300

    T3_Price should be

    200

    100

    100

    200

    300

    200

    300

    Can you get it someone please let me know if the above requirement can be achieved in a single update statement? I tried with the statement below.

    UPDATE r T3

    SET T3_price =

    (NVL)

    (SELECT T1_Price

    T1 d

    WHERE r.colA = d.ColA

    AND r.ColB = d.ColB

    AND r.ColC = d.ColC

    AND r.startdt = d.startdt),

    (SELECT T2_Price

    B T2

    WHERE r.colA = b.ColA

    AND r.ColB = b.ColB

    AND r.ColC = b.ColC

    AND r.startdt > = b.startdt))) < < < < I don't know that I'm missing my logic in that statement.

    WHERE THERE ARE

    (SELECT T1_Price

    T1 d

    WHERE r.colA = d.ColA

    AND r.ColB = d.ColB

    AND r.ColC = d.ColC

    AND r.startdt = d.startdt

    UNION

    SELECT T2_Price

    B T2

    WHERE r.colA = b.ColA

    AND r.ColB = b.ColB

    AND r.ColC = b.ColC

    AND r.startdt > = b.startdt);

    Hello

    That's what you asked for:

    MERGE INTO dst of t3

    WITH THE HELP OF)

    SELECT t3.cola, t3.colb, t3.colc, t3.startdt

    MAX (t1.t1_price) AS t1_price

    MAX (t2.t2_price) DUNGEON (DENSE_RANK LAST ORDER BY t2.startdt)

    AS last_t2_price

    T3

    LEFT OUTER JOIN t1 ON t1.cola = t3.cola

    AND t1.colb = t3.colb

    AND t1.colc = t3.colc

    AND t1.startdt = t3.startdt

    LEFT OUTER JOIN t2 ON t2.cola = t3.cola

    AND t2.colb = t3.colb

    AND t2.colc = t3.colc

    AND t2.startdt<=>

    GROUP OF t3.cola, t3.colb, t3.colc, t3.startdt

    ) CBC

    WE (dst.cola = src.cola

    AND dst.colb = src.colb

    AND dst.colc = src.colc

    AND dst.startdt = src.startdt

    )

    WHEN MATCHED THEN UPDATE

    SET dst.t3_price = NVL (src.t1_price, src.last_t2_price)

    ;

    Here's what Q3 looks after execution of this MERGER:

    COLA, COLB TEACHERS STARTDT T3_PRICE

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

    VAL1 VAL2, VAL3 200 14 - SEP - 07

    VAL1 VAL2, VAL3 14-SEPT-14 100

    VAL1 VAL2, VAL3 21-SEP-14 100

    VAL1 VAL2, VAL3 28-SEPT-14 200

    VAL1 VAL2, VAL3 5 OCTOBER 14 300

    VAL1 VAL2, VAL3 12 OCTOBER 14 200

    VAL1 VAL2, VAL3 19 OCTOBER 14 300

  • This logic is on legal amazon?

    Is - this https://www.amazon.com/gp/product/B01GUPRBNW/ref=ox_sc_act_title_1?ie=UTF8 & psc = 1 & smid = A1ZPBSQNU3MB9C a copy legal/valid Logic Pro X?

    Good bye.

    Seems it's good that not sold by Apple, but a third. Seems to be legitimate.

  • Why captcha box is missing in Add - this app?

    It started today (22/10/12 about 1: 00 a.m. et.) I used the Add - this app and now the captcha box is absent from the sending of Add page - this. This has happened with a duration of at least 5. I changed nothing.

    Reload Web pages and ignore the cache to refresh potentially stale or corrupt.

    • Hold SHIFT and click reload.
    • Press 'Ctrl + F5' or 'Ctrl + Shift + R' (Windows, Linux)
    • Press 'Command + shift + R' (MAC)

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox/tools > Modules > appearance).

    • Do not click on the reset button on the start safe mode window or make changes.

    Is he missing pictures then make sure you are not block images from certain domains.

    • Check the permissions for the domain in the active tab in "tools > Page Info > Permissions.
    • Check that the images are enabled: Tools > Options > content: [X] loading images automatically
    • Check exceptions in "tools > Options > content: Load Images > Exceptions.
    • See the tab "tools > Page Info > media ' for blocked images (scroll all the images with the cursor key).

    If an image in the list is grayed out and there is a check mark in the box "block Images of..." and remove this mark to unlock the images from this area.

    Make sure that you do not block the images of third parties, the pref permissions.default.image must be 1.

    There are also extensions (Tools > Modules > Extensions) and security software (firewall, antivirus) that can block images.

    See also:

  • I had several times where images were missing, why is this?

    I am a professional photographer and make more than 60 weddings a year.  This year, I had so many frustrating meetings with Lightroom, where I would like to import the photos in my camera and make a collection with the name of couples.  Come back days later to change and open the application again and the photos have disappeared.  I don't understand how this is even possible.  I spend hours looking for my computer and they are not where.  I and beyond frustrated by this professional application.  It is said that it is data backup.  Then why every time find that some pictures will be missed?  Someone else has experienced this same problem?  Is there a secret place that they could hide that I do not know?

    There are a few ways that can become of the missing images:

    1. you move images on your hard drive, but don't use Lightroom to do. If Lightroom loses track of their location.

    2. you rename images, but don't use Lightroom to make the name change.

    3. the images are on an external hard drive that is disconnected or the drive letter or name has changed.

    4. that happened to me. I replaced my main hard drive with an SSD. A few times after I installed the new SSD, the computer seems to get confused about the names of drive letter. After a day or two, however, the problem has stopped.

  • Has anyone seen this error of conditional text: show/hide is incompatible?

    When I generate my book file, I get the following error in the log:

    Show/hide hidden is incompatible.

    Does anyone have any suggestions on how to troubleshoot and resolve this problem?

    Thank you

    Janie Gulley

    FrameMaker assumes that when you export a book, you would like conditional text to shown the same way across all documents in the book. It warns you if it is not so.

    "Show/hide hidden is incompatible" means that the hidden state is not configured the same throughout your book. For example, it can be displayed in some documents but hidden in others, or an indicator of Condition red in some texts, but blue in others.

    To resolve this problem:

    1. Select a document in your book where the conditional text settings are correct and open.
    2. Click on the book and type Ctrl + A to select all the documents in it.
    3. Choose file > import > Formats. Import the Formats dialog box appears:
      1. Click deselect all.
      2. Check the conditional text settings .
      3. Click import.

    All the documents in your book have now the same conditional text as your chosen document settings.

  • Iomega Dx HD scenario is a 1 TB USB hard drive is not detected. USBSTOR.inf_bb2778a0 is Windows Xp SP3.can some a guide miss me on this

    IOmega screenplay reader Dx-1 TB hard disk HD media detects not in Windows Xp with Sp3.

    On the group network appliance is seen with the IP address.
    need USB mass storage device driver USBSTOR.inf_bb2778a0.
    can anyone guide me on this driver download?

    XP should come with the standard drivers for mass storage devices.
    One of the best sites I've seen for USB problems is the following:

    "Troubleshooting for USB Drives.
      <>http://www.Uwe-Sieber.de/usbtrouble_e.html >

    I think that your problem is covered by the paragraph about 1/2 at the bottom of the page titled «Asking XP drivers»

    HTH,
    JW

  • on my laptop I have a sign of bluetooth previou day luminous sign is turned on and the next day, he does not appear and also nat open bluetooth change the seting wht can do for this

    Please answer me soom me wory very

    Hello

    · What is the number and the model of the computer?

    · What is the Bluetooth device built into the computer?

    You can check the link below and try the steps listed and check to see if this helps: how to solve the problems of connectivity and Bluetooth detection in Windows XP Service Pack 2: http://support.microsoft.com/kb/883258

  • How to build a formula for this logic.

    Hello

    I have a requirement like, I need to derive a column with a calculation.

    Here is the psedocode,

    number of occurrence (deptno = 10) / count (deptno = 10)

    Expected result:

    If the deptno = 10 occurs 3 times in the table, then at the time of fist should be the calcuation

    second 1/3, 2/3 of the time, the third time 3/3 and so on.

    How can I build this in a form/report/RPD design. Help, please.

    Any help will be appreciated with points.

    Thank you.

    The overall operation will help you do this, i.e. RCOMPTE, C.V.

    This should work:

    C.V. (CASE WHEN deptno = 10 THEN 1 ELSE END 0)

    to give you the current account lines where deptno = 10

    Then you can divide ths by

    SUM (CASE WHEN deptno = 10 THEN 1 ELSE END 0)

    don't know if that will be 100% or not, but try the first statement so you can see the overall work running, then try the Division in order to see if it works:

    C.V. (CASE WHEN deptno = 10 THEN 1 ELSE END 0) / SUM (CASE WHEN deptno = 10 THEN 1 ELSE END 0)

  • How to build a SQL for this logic.

    Hello

    I have a requirement like, I need to derive a column with a calculation.

    Here is the psedocode,

    number of occurrence (deptno = 10) / count (deptno = 10)

    Expected result:

    If the deptno = 10 occurs 3 times in the table, then at the time of fist should be the calcuation

    second 1/3, 2/3 of the time, the third time 3/3 and so on.

    How can I build in a sql query. Help, please.

    Any help will be appreciated with points.

    Thank you.

    Try this.

        SELECT LEVEL / CNT CALC
          FROM (SELECT COUNT (*) CNT
                  FROM EMP
                 WHERE DEPTNO = 10)
    CONNECT BY LEVEL <= CNT
    

    G.

  • How to convert this logic in the report?

    Hi Experts,

    I have a requirement as below,

    Column B = count (column A = "YES") / total count (column A)

    So if you see here, column B is the number of column where column = 'YES' A divided by the total number of column a.

    I would like to know how to implement it's report.

    Please help me.

    PS: Change in the DPR MDB is not suggested by customer.

    Any help will be appreciated with points.

    Thank you.

    Hi user
    Try this query
    Count (case where column = 'Yes' then column one end otherwise null) / count (column A)

  • Can someone explain to me please this logic?

    table = [1,2,3,4,5,6,7];

    newArray = array;
    trace ("array:" + table);

    newArray = newArray.splice (0, 5);
    trace ("array:" + table);

    Output:

    Table: 1,2,3,4,5,6,7
    Table: 6.7

    As you can see, I put a variable equal to the other (newArray = array), then he splice. But the problem is, it affects the old variable too!

    How can this be?

    I need to use the full original 'picture', but little matter how many variables, I create equal, when I Splice, it affects all the!

    I could find a solution by turning the variable string, and then back to the table or something like that. But what I would like is to understand what is happening in this code. If someone could explain to me, I would appreciate it a lot.

    because they both point to the same object.  (if you do not understand how pointers, search using google until I understand).

    to copy a table, edit copy and have NOT hit edit original, use slice():

    var may: Array = oldA.slice ();

    now, any changes made to the may leave unchanged oldA.

  • Please run this logic of the string conversion

    One please implement the logic below

    I have an input string to be converted by adding "0" when necessary.

    Case 1

    If the entry is like "3,8,13,18,23,28,33,38,43,48,53,58" and I want the output as '03,08,13,18,23,28,33,38,43,48,53,58'

    Case 2

    If the entry is like '03,08,13,18,23,28,33,38,43,48,53,58' put it out should be like "03,08,13,18,23,28,33,38,43,48,53,58"


    Would be greate if someone could implement.

    Thank you-

    An option is to add a '0' to each number and remove all numbers 0 to 3 digits in the result:

    with t as (
    select '3,8,9,18,23,28,33,38,43,48,53,58' as s from dual union all
    select '03,08,13,18,23,28,33,38,43,48,53,58' from dual
    )
    select regexp_replace(
              regexp_replace(s,'(\d+)'  -- one or more digits
                                      ||'(,|$)' -- followed by a comma or end-of-string
                                      ,'0\1\2'  -- pad a 0 in front
                                   ),
                                  '0(\d\d)'     -- a 0 followed by 2 digits
                                  ,'\1')        -- remove the 0
              as s from t
    ;
    

    I guess you will never have 3 digits in your channel.

    Kind regards
    Bob

Maybe you are looking for