Repeating tables and rules - InfoPath Dev
in

InfoPath Dev

Repeating tables and rules

Last post 06-20-2012 11:38 AM by carlos_fb80. 8 replies.
Page 1 of 1 (9 items)
Sort Posts: Previous Next
  • 06-19-2012 07:38 PM

    Repeating tables and rules

    I'm working on a 2010 web form with a repeating table, everything works fine. However, when I add a rule to any of the fields of the repeating table, it only applies to the first item, any additional row added does not trigger the rule. Is there something I can do to get this to work?
  • 06-19-2012 09:47 PM In reply to

    Re: Repeating tables and rules

    Is it that you want to trigger the rule when a row is added?  If that's the case, the place to put the rule would be on the repeating group itself rather than one of the fields.  Where have you added the rule?

    Jimmy Rishe / Software Developer / Microsoft MVP
    Qdabra Software
  • 06-20-2012 09:17 AM In reply to

    Re: Repeating tables and rules

    Jimmy,

     Thanks for your reply. I want the rule to trigger with 1 of the fields of the repeating table, that's why I added it to the field instead of the repeating group.

  • 06-20-2012 09:23 AM In reply to

    Re: Repeating tables and rules

    This isn't a behavior I've heard of before.  Would you be able to attach your form (or a simpler one that reproduces the issue) to this forum thread?
    Jimmy Rishe / Software Developer / Microsoft MVP
    Qdabra Software
  • 06-20-2012 09:51 AM In reply to

    Re: Repeating tables and rules

    Sure thing, here's a simple example. If you select Option2 on the first row, it triggers the rule just fine, if you insert an additional row and select Option2, nothing happens.

     http://www.sendspace.com/file/fmg6px

  • 06-20-2012 10:23 AM In reply to

    Re: Repeating tables and rules

    Ok, I see what you're referring to now.  Actually, this isn't a matter of 1st your objective is to row vs. other rows, but rather that the textbox only displays when Option 2 is selected in every row.

    So if I understand correctly, your objective is to display a certain control when a dropdown in any row has a certain value selected?

    Jimmy Rishe / Software Developer / Microsoft MVP
    Qdabra Software
  • 06-20-2012 10:33 AM In reply to

    Re: Repeating tables and rules

    Exactly, sorry I didn't explain myself properly before.

  • 06-20-2012 11:12 AM In reply to

    Re: Repeating tables and rules

    In that case, when you set up the condition and open the Select Field or Group... dialog to pick the field, use the dropdown on the dialog to pick "All occurences of field".  That should do the trick.
    Jimmy Rishe / Software Developer / Microsoft MVP
    Qdabra Software
  • 06-20-2012 11:38 AM In reply to

    Re: Repeating tables and rules

    Perfect!!! that was exactly what I was looking for. I was not aware of that feature. Thank you so much for your help!!!
Page 1 of 1 (9 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.