Hide button if last val in repeating table is blank - InfoPath Dev
in

InfoPath Dev

Hide button if last val in repeating table is blank

Last post 02-15-2012 07:26 AM by jaxkookie. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 02-15-2012 07:04 AM

    Hide button if last val in repeating table is blank

    I have a button event and a repeating table. I would like to hide the button until my field1 is not blank. I am not committed to code or rules, I just want to find the easiest way.

    The button is not part of the repeating table, but it is a must it is disable or hidden until the user selects a value from the last row first field of the repeating table 

    "/my:myFields/my:group1/my:group2[last()]/my:field1"

     

    Kind regards,
    Larry
  • 02-15-2012 07:24 AM In reply to

    Re: Hide button if last val in repeating table is blank

    Sounds like you just need to add a formatting rule on the button like this:

       Condition: The expression /my:myFields/my:group1/my:group2[last()]/my:field1 = ''

       Formatting: Hide the button.

    Jimmy Rishe / Software Developer / Microsoft MVP
    Qdabra Software
  • 02-15-2012 07:26 AM In reply to

    Re: Hide button if last val in repeating table is blank

    Damn it! I was just going to post the solution. You beat me to it. Thanks for the quick response,

    Jimmy, you rock!

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