Check boxes taking values from a list - InfoPath Dev
in

InfoPath Dev

Check boxes taking values from a list

Last post 09-21-2006 10:02 AM by Greg Collins. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 09-13-2006 12:18 AM

    • Monica
    • Not Ranked
    • Joined on 08-23-2006
    • Romania
    • Posts 20

    Check boxes taking values from a list

    Hello,

    I have been trying to implement this the last day and I am not sure it can be done.
    I would like to have the language option in my form - where a user would be able to select multiple languages so I would have a list of languages and corresponding check boxes (for this I use a data connection to a sharepoint list where the language values are kept and a repeating table storing the name of the language and a checkbox)
    The problem with this approach is that I cannot identify which is the checkbox that has been checked and which not as I cannot set its value for checked/unchecked (on load each checkbox has the value of the language id in the languages list but when you check it - it takes its value 1 and I cannot link the change event to the checkbox).
    I have also tried to use the getAttribute method like bellow
    var id = eventObj.Source.getAttribute("ID");
    but it seems this will only work for buttons - and not checkboxes.

    Is there a workaround this?

    Thank you,
    Monica
  • 09-21-2006 07:07 AM In reply to

    • Monica
    • Not Ranked
    • Joined on 08-23-2006
    • Romania
    • Posts 20

    Re: Check boxes taking values from a list

    Hello,

    I have found out the answer to my previous question.
    Please find here a full article on this matter
    http://blogs.msdn.com/infopath/archive/2004/09/24/233962.aspx

  • 09-21-2006 10:02 AM In reply to

    Re: Check boxes taking values from a list

    Glad you got it figured out! Thanks for sharing the answer with us.
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.