• Duplicate entries with Multiple Name Selection

    By Alejandro Quiroz Luna 4 years ago

    The Multiple Name dialog works fine the first time you use it. But if you continue working on the page and want to add another name to a field you already edited, the moment you click the OK button all the names previously added are automatically duplicated. If you click again for a tird time you will get 4 entries for the initial names and 2 for the ones added later.

    • By Martijn De Jong 4 years ago

      Hi Alejandro,

      I'm trying to duplicate the behavior you describve, but so far haven't been able to. Can you please let me know which version of the NP_Picker you use, which browser you use and give a step-by-step approach of how to duplicate this behavior? That would be extremely helpful in fixing it.



      – Martijn.

      • Name picker version & browser info

        By Alejandro Quiroz Luna 4 years ago

        Hi Martijn,



        The version of the name picker is the following:


        --  Modified by     : Martijn de Jong<br/>
        --  Company         : ilionx ICS<br/>
        --  Date            : 8-2-2010<br/>
        <br/>
        



        I am using IE 7.0.5730.13., but had the same behavior with Mozilla firefox 3.5.9



        The DB is on a Domino Server 8.5 running on Linux.



        The code used to trigger the name picker is :



        NP_openPopup(this.id,"",this.name,'M',"");blur();



        on the "onfocus" event of the field.



        Hope this helps.

        • That seems to be an older version

          By Martijn De Jong 4 years ago

          Hi Alejandro,

           
          According to the date, you might be using an older version. Could you please check if you are using the v2.2.1 version which is currently the latest? You should be able to see from the icon as it shows the version number.

          – Martijn

    • I am using 2.2.1

      By Alejandro Quiroz Luna 4 years ago

      What else could be wrong?

    • The problem also ocurres on your test form

      By Alejandro Quiroz Luna 4 years ago

      Hi Martin,

       
      I just tested again using the "test"  form in NP_Picker.nsf and I was able to reproduce the problem. Using the penultimate example, select one name and click OK, then select another name and click OK again, you will now see the first name selected appears twice.
       
      Hope this helps.