Set field readonly programmatically - InfoPath Dev
in

InfoPath Dev

Set field readonly programmatically

Last post 07-11-2006 06:42 AM by Clay Fox. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 07-11-2006 06:13 AM

    • Krispi
    • Not Ranked
    • Joined on 07-11-2006
    • Belgium
    • Posts 2

    Set field readonly programmatically

    Hello

    is it possible to set a field readonly programmatically. I need this because with the conditional formatting of a control I can't cover all of my situations. The conditions should only trigger in some situations and I think you can't do that with the conditional formatting? Am I right?
  • 07-11-2006 06:42 AM In reply to

    Re: Set field readonly programmatically

    Typically, when it is too cumbersome to set all the conditions for a particular field or you may have multiple fields I would use a "flag" field. Create an extra field, which is boolean or numeric and then programatically set it to true, to turn on read-only or false to turn off. Then for the affected forms just have them look at the flag field and if it is true = readonly. etc.
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.