Check if a string contains "text" in a box, and only if it does not, add it to the chain.

I have some comboboxes. I want a text field to add a channel to itself, that contains the text selected in each combobox. I got it with this:

var a = this.getField ("CoBi_text");

for (i = 1; i < 16; i ++) {}

var t = (this.getField("CoB_"+i).valueAsString);

Si (t ! = « ») {}

a.Value += t + ',';   }   }

But what adds text even though I select the same option in any of the combobox control. How can I include a conditional don't skip the increment if "the text is already in the string?  I tried this:

If ((t! = «») & & (a.value.indexOf ("t") < 0)) {}

a.Value += t + ',' ;}

But it causes the chain add the text first, don't increment not any text more after that.

PS. This text field will be hidden and later used on another condition (if it contains 'a specific text'), some other triggering actions.
So the ',' (comma) is probably not necessary, but I think that it should not be in the way of a proper search indexOf (right?)

Thank you.

eHRM, nevermind. I got it.

the "t" inside indexOf should not "s...".

var a = this.getField ("CoBi_text");

for (i = 1; i<16;i++)>

var t = (this.getField("CoB_"+i).valueAsString);

If ((t! = «») & (a.value.indexOf (t))<0) )="">

a.Value += t + ',' ;}

Now, he adds "text", but not more than once for each different text on each drop-down list.

There is always the question of the modification of a selected item in a combobox control, how do I remove the old text from the text box but I think than any forced recalculation should be enough.

Thank you for taking the time to respond and for the link!

Tags: Acrobat

Similar Questions

  • Epson Aculaser C 1100 printer does not print after that the text of the error 'install C Tnr basket' black and printer doenst photography black and white or grayscale pages

    Epson Aculaser C 1100 printer does not print after that the text of the error 'install C Tnr basket' black and printer doenst photography black and white or grayscale pages

    the printer is not the shades of grey even print cartridge is not yet empty

    y at - it software for hauler color printing?

    Thanks for your comments

    Hello Nilsvolkel,

    Thanks for the reply.

    I'm sorry for the late reply.

    I appreciate your patience and time.

    Do not require any special software.

    However, you can use the steps in the following articles and check.
    Reference:
    http://eSupport.Epson-Europe.com/ViewArticle.aspx?LNG=fi-fi&kbid=328037&data=FCFfEfoyEiGLYDIUqzWyE0QE3127X87y&CL=1

    http://Windows.Microsoft.com/en-us/Windows/choosing-print-options#1TC=Windows-7

    Please keep us informed.

    Thank you

  • Yahoo messinger does not start, he said: "the application failed to start because its side-by-side configuration is incorrect. Check the log of events applications for more details. » __

    Yahoo messinger does not start, he said: "the application failed to start because its side-by-side configuration is incorrect. Check the log of events applications for more details. »

    UM. I have no idea what that means, I never had that in my 20s I was using a computer.  Please help, someone!

    You can get the Chkdsk to run in the General Windows interface by following these instructions?

    Try running ChkDsk to check your drive for errors. Right click on your drive icon / properties / tools / error checking. Try first by checking do not each box (that it will run in read-only mode) to see if it reports any problems file or hard drive. If so, restart it by checking both boxes and restart to allow him to attempt to fix any problems found.

    Your command prompt Mode works without failure or a boot?

    Startup options (including safe mode)
    http://Windows.Microsoft.com/en-us/Windows7/advanced-startup-options-including-safe-mode

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
    http://support.Microsoft.com/default.aspx/KB/929135

    It works if you test with another user, you will need to create one to test with?

    System Restore and the System File Checker is able to fix anything?

    How to repair the operating system and how to restore the configuration of the operating system to an earlier point in time in Windows Vista (or 7)
    http://support.Microsoft.com/kb/936212/#appliesTo

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7
    http://support.Microsoft.com/kb/929833

    How to analyze the entries in the log file generating the program Checker (SFC.exe) resources of Microsoft Windows in Windows Vista
    http://support.Microsoft.com/kb/928228#appliesTo

    Have you tested malware?  I see a lot of recommendations here for programs such as -

    Malwarebytes' Anti-Malware
    http://www.Malwarebytes.org/products/malwarebytes_free

    SuperAntispyware
    http://SUPERAntiSpyware.com/

  • Win Anytime Upgrade to Windows 7 Ultimate Home Prem key and it does not add text prediction in on-screen keyboard

    I used my Windows 7 Ultimate on Windows Anytime Upgrade key on my Home Premium and it does not add text prediction in on-screen keyboard... Can I fix?

    I haven't seen someone else pointing out this problem and have no knowledge of the topic other than the behavior I saw on my own system.

    That being said, Windows 7 help & how-to text prediction is available in all editions of Windows except Windows 7 Home Basic Edition [English, French, Italian, German, Spanish] 7.

  • Menu text does not show up with the new update

    When you use the new reactive update in Adobe Muse, the Menu text is not displayed when the image previewed in the browser. It appears on all pages when publishing in Muse.

    Is this a bug or I do something wrong?

    Thank you!

    Select menu and confirm that it is not browser pinned to the bottom of the browser window or define a footer element (which would cause it to move down in the white area). You can also temporarily replace the filling of the page to help you determine where the text is moving to.

  • Check that a string contains data only numbers

    Hello

    I'm trying to find an elegant way to test an input string "serial number" format A00000000 (where A can be any letter and 0 can be a number any).  My first thought was to check the following features:

    (1) total string length = 9.

    (2) using the "Decimal String to the Number.vi", result = 0 (which indicates that the string contains no numbers).

    (3) using the 'Decimal string to Number.vi' with an offset of 1, the result is a number.

    Unfortunately, that does not differentiate between the following strings:

    A00005123 valid

    Invalid A5123

    Invalid A5123B123

    Invalid A005123BC

    All the world is this recently?  Is there a way to analyze non-specific chips (for example separating the groups of letters, numbers or other?)  Is there a complete way to do this without breaking the chain in 9 individual items and do a comparison of 26 item for the letter and 10 element for each number comparisons?

    Thank you

    Sean

    You can use a regular expression to match the pattern.

  • check if a string contains only some characters

    I'm working on a java program that converts the Roman numbers. The user enters a string, and I need to check to make sure that it contains MDCLXVI and if he doesn't I will get them the input again string. I thought I'd do a while loop but I'm not sure if it's the smart way to make or the syntax to perform the check.

    Here was a thought on the control with a while loop, but I've never used it before and maybe build evil.
    while (!Pattern.matches("MDCLXVI", firstRoman))
            {
            System.out.print("Not a valid Roman Number please try again");
            firstRoman = firstRoman.toUpperCase();
            }
    My Code is as follows:
    // Ask for user to input firstRoman Number
            System.out.print("Enter your first Roman Number:");
            // add the Roman Number to the String variable
            firstRoman = keyboard.nextLine();
            firstRoman = firstRoman.toUpperCase();
    Once they enter in the it, I want to check to make sure that it has characters MDCLXVI and if it contains any other characters then I will provide a new object Scanner keyboard to try again and if it fails again, it will go to the option to try again until they put in a string that contains only the characters above. I don't know where to go here to get the while loop has worked. New to Java and I got my program work properly when I put good known numbers of novel, but I want to take incorrect entries.

    Any help would be appreciated.

    Thank you
    Wally

    I put the code for my main program and my class below just in case. I have already met the requirements of the teacher if the project is done, I'm just trying to improve.
    /*
     * To change this template, choose Tools | Templates
     * and open the template in the editor.
     */
    package myname.project.pkg6;
    
    import java.util.Scanner;
    import java.util.regex.Pattern;
    
    /**
     *
     * @author wsteadma
     */
    public class mynameProject6 {
    
        /**
         * @param args the command line arguments
         */
        public static void main(String[] args) {
            
            // Used for testing
            String firstRoman;
            String secondRoman;
            
            
            Scanner keyboard = new Scanner(System.in);
    
            
            // Ask for user to input firstRoman Number
            System.out.print("Enter your first Roman Number:");
            // add the Roman Number to the String variable
            firstRoman = keyboard.nextLine();
            firstRoman = firstRoman.toUpperCase();
            
                  
            // Ask for user to input secondRoman Number
            System.out.print("Enter your second Roman Number:");
            // add the Roman Number to the String variable
            secondRoman = keyboard.nextLine(); // Add the name input into the name variable
            secondRoman = secondRoman.toUpperCase();
            
            
            //Creating first instance of Roman Numbers class
            Roman firstNumber = new Roman(firstRoman);
            Roman secondNumber = new Roman(secondRoman);
            
            System.out.println("Printout of the created roman numbers");
            //Prints out the Roman Number
            firstNumber.printRoman();
            secondNumber.printRoman();
            
            
            // Convert Roman to Decimal
            firstNumber.setDecimal(firstRoman);
            secondNumber.setDecimal(secondRoman);
            
            System.out.println("Viewing the Decimal values for the two defined instances");
            //Prints decimal Numbers
            firstNumber.printDecimal();  
            secondNumber.printDecimal();
            
            System.out.println("Adding the Roman Numbers and returning new Roman value");
            Roman romanAdd;
            romanAdd = firstNumber.addRoman(secondNumber);
            romanAdd.printRoman();
    
            System.out.println("Subtracting the Roman Numbers and return new Roman value");
            Roman romanSub;
            romanSub = firstNumber.subRoman(secondNumber);
            romanSub.printRoman();
        }
    }
    CLASS:
    /*
     * To change this template, choose Tools | Templates
     * and open the template in the editor.
     */
    package myname.project.pkg6;
    
    /**
     *
     * @author wsteadma
     */
    public class Roman {
    
        private String romNumber;
        private int decNumber;
    
        public Roman(String rNumber) {
            romNumber = rNumber;
        }
    
        public String getRoman() {
            return romNumber;
        }
        
        public int getDecimal()
        {
        return decNumber;
        }
    
        public void printRoman() {
            System.out.println("The Roman Number is " + romNumber);
        }
    
        public void printDecimal() {
            System.out.println("The Decimal Number is " + decNumber);
        }
    
        // Converts a roman number string into a decimal value
        public int setDecimal(String romNum) {
            int charValue = 0;
            char[] characters = new char[romNum.length()];
    
            //System.out.println("romNum length is " + romNum.length());
            for (int counter = 0; counter < romNum.length(); counter++) {
                characters[counter] = romNum.charAt(counter);
                //System.out.println(characters[counter]);
            }
    
            for (int sCounter = 0; sCounter < romNum.length(); sCounter++) {
                if (characters[sCounter] == 'M'  || characters[sCounter] == 'm') {
                    charValue += 1000;
                } else if (characters[sCounter] == 'D' || characters[sCounter] == 'd') {
                    charValue += 500;
                } else if (characters[sCounter] == 'C' || characters[sCounter] == 'c') {
                    charValue += 100;
                } else if (characters[sCounter] == 'L' || characters[sCounter] == 'l') {
                    charValue += 50;
                } else if (characters[sCounter] == 'X' || characters[sCounter] == 'x') {
                    charValue += 10;
                } else if (characters[sCounter] == 'V' || characters[sCounter] == 'v') {
                    charValue += 5;
                } else if (characters[sCounter] == 'I' || characters[sCounter] == 'i') {
                    charValue += 1;
                }
            
            }
            decNumber = charValue;
            return charValue;
        }
    
        // Converts a decomal number to a roman number
        public String setDec2Roman(int decNum) {
            String newRoman = "";
    
            while (decNum >= 1000) {
                newRoman += "M";
                decNum -= 1000;
                //System.out.println(decNum);
                //System.out.println(newRoman);
            }
    
            while (decNum >= 500) {
                newRoman += "D";
                decNum -= 500;
                //System.out.println(decNum);
                //System.out.println(newRoman);
            }
    
            while (decNum >= 100) {
                newRoman += "C";
                decNum -= 100;
                //System.out.println(decNum);
                //System.out.println(newRoman);
            }
    
            while (decNum >= 50) {
                newRoman += "L";
                decNum -= 50;
                //System.out.println(decNum);
                //System.out.println(newRoman);
            }
    
            while (decNum >= 10) {
                newRoman += "X";
                decNum -= 10;
                //System.out.println(decNum);
                //System.out.println(newRoman);
            }
    
            while (decNum >= 5) {
                newRoman += "V";
                decNum -= 5;
                //System.out.println(decNum);
                //System.out.println(newRoman);
            }
    
            while (decNum > 0) {
                newRoman += "I";
                decNum -= 1;
                //System.out.println(decNum);
                //System.out.println(newRoman);
            }
            return newRoman;
        }
    
        public Roman addRoman(Roman newRom) {
            int totRom = newRom.setDecimal(newRom.romNumber) + decNumber;
            romNumber = newRom.setDec2Roman(totRom);
            return new Roman(romNumber);
        }
        
        public Roman subRoman(Roman subRom) {
            int totRom = decNumber - subRom.setDecimal(subRom.romNumber);
            romNumber = subRom.setDec2Roman(totRom);
            return new Roman(romNumber);
        }
        
    }

    While (!.) Pattern.Matches ("MDCLXVI", firstRoman))

    Try "[MDCLXVI] *" and see if it's better

    {
    System.out.Print ("a valid Roman Number please try again");
    firstRoman = firstRoman.toUpperCase ();
    }

    My Code is as follows:

    // Ask for user to input firstRoman Number
    System.out.print("Enter your first Roman Number:");
    // add the Roman Number to the String variable
    firstRoman = keyboard.nextLine();
    firstRoman = firstRoman.toUpperCase();
    

    Once they enter in the it, I want to check to make sure that it has characters MDCLXVI and if it contains any other characters then I will provide a new object Scanner keyboard to try again and if it fails again, it will go to the option to try again until they put in a string that contains only the characters above. I don't know where to go here to get the while loop has worked. New to Java and I got my program work properly when I put good known numbers of novel, but I want to take incorrect entries.

    Any help would be appreciated.

    Thank you
    Wally

    I put the code for my main program and my class below just in case. I have already met the requirements of the teacher if the project is done, I'm just trying to improve.

    /*
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    */
    package myname.project.pkg6;
    
    import java.util.Scanner;
    import java.util.regex.Pattern;
    
    /**
    *
    * @author wsteadma
    */
    public class mynameProject6 {
    
    /**
    * @param args the command line arguments
    */
    public static void main(String[] args) {
    
    // Used for testing
    String firstRoman;
    String secondRoman;
    
    Scanner keyboard = new Scanner(System.in);
    
    // Ask for user to input firstRoman Number
    System.out.print("Enter your first Roman Number:");
    // add the Roman Number to the String variable
    firstRoman = keyboard.nextLine();
    firstRoman = firstRoman.toUpperCase();
    
    // Ask for user to input secondRoman Number
    System.out.print("Enter your second Roman Number:");
    // add the Roman Number to the String variable
    secondRoman = keyboard.nextLine(); // Add the name input into the name variable
    secondRoman = secondRoman.toUpperCase();
    
    //Creating first instance of Roman Numbers class
    Roman firstNumber = new Roman(firstRoman);
    Roman secondNumber = new Roman(secondRoman);
    
    System.out.println("Printout of the created roman numbers");
    //Prints out the Roman Number
    firstNumber.printRoman();
    secondNumber.printRoman();
    
    // Convert Roman to Decimal
    firstNumber.setDecimal(firstRoman);
    secondNumber.setDecimal(secondRoman);
    
    System.out.println("Viewing the Decimal values for the two defined instances");
    //Prints decimal Numbers
    firstNumber.printDecimal();
    secondNumber.printDecimal();
    
    System.out.println("Adding the Roman Numbers and returning new Roman value");
    Roman romanAdd;
    romanAdd = firstNumber.addRoman(secondNumber);
    romanAdd.printRoman();
    
    System.out.println("Subtracting the Roman Numbers and return new Roman value");
    Roman romanSub;
    romanSub = firstNumber.subRoman(secondNumber);
    romanSub.printRoman();
    }
    }
    

    CLASS:

    /*
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    */
    package myname.project.pkg6;
    
    /**
    *
    * @author wsteadma
    */
    public class Roman {
    
    private String romNumber;
    private int decNumber;
    
    public Roman(String rNumber) {
    romNumber = rNumber;
    }
    
    public String getRoman() {
    return romNumber;
    }
    
    public int getDecimal()
    {
    return decNumber;
    }
    
    public void printRoman() {
    System.out.println("The Roman Number is " + romNumber);
    }
    
    public void printDecimal() {
    System.out.println("The Decimal Number is " + decNumber);
    }
    
    // Converts a roman number string into a decimal value
    public int setDecimal(String romNum) {
    int charValue = 0;
    char[] characters = new char[romNum.length()];
    
    //System.out.println("romNum length is " + romNum.length());
    for (int counter = 0; counter < romNum.length(); counter++) {
    characters[counter] = romNum.charAt(counter);
    //System.out.println(characters[counter]);
    }
    
    for (int sCounter = 0; sCounter < romNum.length(); sCounter++) {
    if (characters[sCounter] == 'M'  || characters[sCounter] == 'm') {
    charValue += 1000;
    } else if (characters[sCounter] == 'D' || characters[sCounter] == 'd') {
    charValue += 500;
    } else if (characters[sCounter] == 'C' || characters[sCounter] == 'c') {
    charValue += 100;
    } else if (characters[sCounter] == 'L' || characters[sCounter] == 'l') {
    charValue += 50;
    } else if (characters[sCounter] == 'X' || characters[sCounter] == 'x') {
    charValue += 10;
    } else if (characters[sCounter] == 'V' || characters[sCounter] == 'v') {
    charValue += 5;
    } else if (characters[sCounter] == 'I' || characters[sCounter] == 'i') {
    charValue += 1;
    }
    
    }
    decNumber = charValue;
    return charValue;
    }
    
    // Converts a decomal number to a roman number
    public String setDec2Roman(int decNum) {
    String newRoman = "";
    
    while (decNum >= 1000) {
    newRoman += "M";
    decNum -= 1000;
    //System.out.println(decNum);
    //System.out.println(newRoman);
    }
    
    while (decNum >= 500) {
    newRoman += "D";
    decNum -= 500;
    //System.out.println(decNum);
    //System.out.println(newRoman);
    }
    
    while (decNum >= 100) {
    newRoman += "C";
    decNum -= 100;
    //System.out.println(decNum);
    //System.out.println(newRoman);
    }
    
    while (decNum >= 50) {
    newRoman += "L";
    decNum -= 50;
    //System.out.println(decNum);
    //System.out.println(newRoman);
    }
    
    while (decNum >= 10) {
    newRoman += "X";
    decNum -= 10;
    //System.out.println(decNum);
    //System.out.println(newRoman);
    }
    
    while (decNum >= 5) {
    newRoman += "V";
    decNum -= 5;
    //System.out.println(decNum);
    //System.out.println(newRoman);
    }
    
    while (decNum > 0) {
    newRoman += "I";
    decNum -= 1;
    //System.out.println(decNum);
    //System.out.println(newRoman);
    }
    return newRoman;
    }
    
    public Roman addRoman(Roman newRom) {
    int totRom = newRom.setDecimal(newRom.romNumber) + decNumber;
    romNumber = newRom.setDec2Roman(totRom);
    return new Roman(romNumber);
    }
    
    public Roman subRoman(Roman subRom) {
    int totRom = decNumber - subRom.setDecimal(subRom.romNumber);
    romNumber = subRom.setDec2Roman(totRom);
    return new Roman(romNumber);
    }
    
    }
    
  • Liquid: How to check if a collection contains elements of web application and display the custom message

    It's my code, but it does not work:


    {module_webapps id = "28860" filter = 'all' resultsPerPage = '20' hideEmptyMessage = 'false' template = "" collection = "seeWinners" "}

    {% for article on seeWinners.items-%}

    {% If items.seeWinners ==""-%}

    < p > winning number yet, come back again < /p >

    {endif %}

    {% endfor}

    Please can someone tell me what is the problem?

    Thank you.

    No need for the loop.

    Just get the length of the array.

    {module_webapps id = "28860" filter = 'all' resultsPerPage = '20' hideEmptyMessage = 'false' template = "" collection = "seeWinners" "}

    {% If seeWinners.items | size == 0-%}

    No winners yet, check again

    {endif %}

    Later edit: and if you are already in the loop, you have the length of the array loop with: {{forloop.length}}

  • How can I get the sim unlock card or carrier unlock t mobile USA, I use my phone in India and my sim card does not work and when I checked with the apple support, they said, it can be locked my previous carrier T-mobile USA, which is a solution

    How to unlock carrier T - Mobile USA, that I'm unable to use my phone in India as it says sim does not, I checked with Apple support they said previous carrier may have locked

    You will need to contact the carrier, it is locked to and follow their unlocking procedure. Only the carrier to ensure that it is locked can allow and process a request for unlocking.

  • My copy registered and checked for XP Pro SP3 does not start after changing the motherboard. Second problem is that I can't find my original install of XP Pro disc.

    After failing to find the source of reliable performance from my PC, I decided to bite the bullet and replace the motherboard, memory and the CPU. I installed a triple base 435 Athlon and a motherboard Gigabyte MA74GMT. Awarded PC again started the first time - but Windows will not, I get a number of options but none work - safe mode brings up several lines of messages on the partition of multi (0) disk (0) rdisk (0).

    A previous post suggested that a similar message meant some kind of malware but if I replace the old motherboard, processor and memory Windows works very well - in fact I use it now.

    Do I have an option but to reinstall Windows from a CD? Otherwise I have a problem - I can't find the installation discs for each piece of software except my Windows XP Pro! I do repair discs?

    Thanks for your help.

    Hi DaGeLi,

    · Provide us with the complete message you receive.

    Follow the methods below:

    Method 1:

    You were able to start the first time, you can try to boot to the last known good configuration and check the results. Link to get the procedure please refer to: how to start your computer by using last good known Windows XP Configuration:http://support.microsoft.com/kb/307852

    Method 2:

    If it doesn't then you can follow the procedure from the below mentioned link. As you do not have the Windows XP CD you can follow the procedure if you have already installed on the computer to recovery console

    How do I recover from a corrupted registry that prevents Windows XP startup:http://support.microsoft.com/kb/307545

    Otherwise, you may need to make the boot floppies. See the link for the procedure below:

    http://support.Microsoft.com/kb/310994

    You can also contact the manufacturer of the system to get the Windows XP CD.

    For reference: how to fix a computer that does not start:http://www.microsoft.com/windowsxp/using/setup/support/nostart.mspx#2

    With regard to:

    Samhrutha G S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think

  • When I type text, the text is in a box, and I can't figure out how to make the box go away. I never had this problem before.

    When I type the text in the latest Illustrator, the text is in a white box. I never had this problem before. I can't find out how to make the box go away. What I am doing wrong?

    Today I tried to close Illustrator and re-boot the computer. It did not help. I went on a second computer video/graphics/animation and open Illustrator here. I did a few tests, and he managed to create the text without a box. Then, I opened my first computer Illustrator file form. The boxes were there. I tried to type the new text, and the box was there. When I open the file it says something about a missing font and a replacement. I tried to use this area to locate the police but couldn't. It's the default font on Illustrator on the other computer. A variant of Myriad. I tried to type in the text with a different font. No box. The default font selected by the Illustrator has apparently a box. I didn't try to change the font because it was going well, and because I didn't know any font came with a box. At first, I did all of the text, which was on a white background, so I don't see the boxes of cream. When I added the background image of the boxes appeared. If the problem is resolved. It was a font with a box.

  • Fonts/text resize function works on my local machine, does not work on others.

    I have embedded fonts (and yet he's pushing me always missing fonts by saying whenever I open the flash, but not the fonts that are not correctly resize)

    I have a function that takes in a textfield, resizes the police to adapt to the text box, works fine on my local machine, does NOT work on other machines.

    Does he know about reasons why it does not work? Here's the function

    function fontSizeChanger(dtb,myWidth)
    {
         dtb.embedFonts = true;
         
         var myFormat:TextFormat = dtb.getTextFormat();
         var metrics:Object = myFormat.getTextExtent(dtb.text); 
         
         while (metrics.textFieldWidth>myWidth) 
         { 
              myFormat.size--; 
              metrics = myFormat.getTextExtent(dtb.text);
         } 
         
         dtb.setTextFormat(myFormat);
         dtb.embedFonts = true;
    }
    

    Please mark this thread as answered, if you can.

  • Text field increment number of legend - does not correctly load after the backup

    I am trying to create a field of dynamic legend who will be essential are text fields look like a list.  Initially, I searched on how to do this.  I finally found a way to do it, and it is simply to count the number of instances of the text field I and set the value of the legend:

    var curObject = prospectus.page1.step1.ObjectivesSubform.Objectives.instanceManager.count;
    prospectus. Page1.Step1.ObjectivesSubform.objectives [curObject-1]. Objective.Caption.Value text.value the Group concat (curObject, ":");

    And that helps my form works very well and the numbers to load fine in the form.  The problem I'm having is that after I save the form and reload, the figures date back to 1 for each text field.  Someone has an idea?

    * To test what I see, go to 'Objectives' and click Add target to create at least 2 additional text fields (so that you have at least 3 overall).  Save the form, and note that the numbers went from 1,2,3 to 1,1,3-triethoxyheptane.  It will be the same if you create any amount.  If you create 5 more it will go 1,1,1,1,5.  I'm puzzled.

    I think that it is related to the initialization of the form sub and how instance manager interprets the subshape County. The "count" on the instanceManager property is the current number of instances of the secondary form. When you add instances of the form in increments of 'count' and she is exposed as a sequential number incremented. However, after economy-close-open the form, the County is irrelevant until you add another instance.

    Try the 'instanceIndex' property and assigning the legend as follows:

    prospectus. Page1.Step1.ObjectivesSubform.objectives.objective::Initialize - (JavaScript, client)

    var CNT = Objectives.instanceIndex + 1;
    xfa.resolveNode("Objectives.Objective.caption.value.#text").value = cnt + ":";

    Steve

    PLEASE NOTE ON THIS FORM, I HAVE NOT HAD A CHANCE TO WATCH, THERE ARE PROBLEMS.

  • Corresponding to the string of text with a keyword and check whether it exists or not

    We have this DESCRIPTION column, and the data inside it are:

    Mr. Redmond Bred is to have a red balloon. His tie is also red.

    Now, when you use it AS operator with the keyword 'red', he finds a match in these 3 words: Redmond, Bred and red.

    But in my case, the match should happen with the word "red" only. Is this possible?

    Yes, it is possible, for example by using regular expressions.

    Also please note that your first assumption is wrong. The like operator won't find Redmond.

    Example of

    select *
    from dual
    where regexp_like('Redmond''s Bred is having a red balloon. His tie is also red.','(^|\s)red(\s|$)');
    

    Post edited by: SvenW. : added example

  • AF:table value of text entry box does not get stored in the database.

    Hello
    I use af:table in my jsff page. The table contains the column of text entry box. After clicking the Create (+) button, a line has been added to the table. I got value into the text entry field and click the 'OK' button to commit the transaction. When I check the database, the entered value is not stored in the database. What I've observed, it's that if I have more than 1 table in the af: table and after entering the value into the text entry field, if I tab out and control moves to the next line, and then click the OK"" button. This time, the value you entered get stored in the database. It's look like, the value of current row is not updated until the action tab. Please help me solve this problem.

    JDeveloper version: 11.1.1.6

    Kind regards
    Suresh

    Hello

    What is the business service associated to this? Also the OK button have no immediate = true set

    Frank

Maybe you are looking for

  • iMovie crashes after Sierra upgraded.

    I have a MacBook Air and yesterday I upgraded the OS to Sierra. After that, iMovie crashes as soon as it load and continued to do so throughout the day. I can't access a video of work I had done and really need to send it to my client to download on

  • In the to the Visio, I see the third person

    Hello and sorry for my bad English It's hard to explain in English, check please screenshots. The problem is that I see 2 the videocall for 1 person. The person and his avatar. A similar conference. And I can switch between the person and his avatar.

  • Network Printer Setup Windows Vista 32 (Canon IP5200R).

    I followed the message and the answer to 'Network Printor Setup for Windows 64'.  I'm not there.  Maybe I should connect as a "local administrator also, but do not know how to do this."  which may or may not solve my problems but worth the try. Help,

  • Problems in porting windows vista 32 bit on a 64-bit Windows 7 machine device driver

    Hello I'm porting windows vista 32-bit on windows 7 64 bit machine printer driver. I have compiled DLLs. When I add printer and load INF file, I get the message that this driver is not compatible x 64 driver. Please tell me what adjustments should I

  • I can't perform a restore of the system after the removal of the admin account?

    Original title: admin deleted, now impossible to restore I bought my laptop from my work for personal use and remove the admin users. When you try to download anything it gives me an error now, "the requested operation requires an elevation" when I p