Drop-down list with choices of the same values automatically chooses the last one in the list - InfoPath Dev
in

InfoPath Dev

Drop-down list with choices of the same values automatically chooses the last one in the list

Last post 08-17-2011 11:52 AM by Hilary Stoupa. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 08-17-2011 07:24 AM

    Drop-down list with choices of the same values automatically chooses the last one in the list

    Good morning all,

     I'm hoping that some smart person can help me out here.  I have a drop-down list where I have two choices of the same value (0).  It looks like this:

    1. Display Name = No  Value = 7
    2. Display Name = Yes  Value = 0
    3. Display Name = N/A  Value = 0

    The problem is that when the user selects choice #2, or "Yes", and moves on the field automatically goes to the last choice of N/A.  I moved choices 2 and 3 and the same thing happens.  Is this a bug or is there something that I am missing?
     
    This is built in Infopath 2010 as a 2007 filler form.  I hope this helps and accurately conveys the problem.  Any suggestions would be wonderful.  Thanks in advance.
     
    Justin
    Filed under: ,
  • 08-17-2011 07:44 AM In reply to

    Re: Drop-down list with choices of the same values automatically chooses the last one in the list

    I found a workaround where I just set the "N/A" choice to .00000000000000000000000001.  Assuming we're not allowed to have more than one choice with the same value?  Thanks.

  • 08-17-2011 11:52 AM In reply to

    Re: Drop-down list with choices of the same values automatically chooses the last one in the list

    You are correct, all choices need to have unique values.

    Hilary Stoupa

Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.