Changing the properties of a control based on an action on another control - InfoPath Dev
in

InfoPath Dev

Changing the properties of a control based on an action on another control

Last post 03-09-2011 12:57 PM by qwerty. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 03-04-2011 11:59 AM

    Changing the properties of a control based on an action on another control

    Is there a way to change the properties of a control based on an action on another control:

         The two things I'm trying to do is:

         1.  Switching  a Read only text box to allow for text entry if a check box is checked.

         2.  Based on a value selected in a dropdown, making a subsequent text box field required, that originally wasn't.      

    Thanks in advance for your help

  • 03-07-2011 01:46 AM In reply to

    Re: Changing the properties of a control based on an action on another control

    1. This is very easy - just add a formatting rule to "disable the control" based on the value of the checkbox.

    2. You can't use rules to force schema validation, but you can just add a conditional formatting rule based on the dropdown to highlight the field if it's blank and the dropdown value is equal to some specific value.

    Hope this helps,

    Patrick Halstead
    Project Manager at Qdabra
  • 03-09-2011 12:57 PM In reply to

    Re: Changing the properties of a control based on an action on another control

    Hi hzainal, on #2, you could add data validation to your text box:

    If @dropdown = 'required' and @textbox is blank

    This would work if 'required' can be 'cannot be blank.'

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