Test control - InfoPath Dev
in

InfoPath Dev

Test control

Last post 09-28-2005 02:25 PM by Greg Collins. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 09-26-2005 11:38 PM

    Test control

    Hy

    I want to test in my InfoPath form is what a control is TextBox or DropDownList

    how ???

    Landolsi
    Developpeur .NET
    Developpeur Php

    skype : mlaipsorg
  • 09-28-2005 02:25 PM In reply to

    It sounds like you are asking if there is a way to determine what type of a control either A) the user is currently focused in, or B) is bound to a particular field in your DOM.

    The answer is that you can't... at least not directly.

    There might be a round-about way to do this which is to load the particular view into your code, and search it for the field in question, and then from there step back up the DOM to determine which control is being used.

    This will take some good coding on your part, but I believe it is doable.

    Greg Collins [InfoPath MVP]
    InfoPath Dev
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.