In a repeating table, how can I display another field if one of the values of the repeating field contains "Telemarketing". - InfoPath Dev
in

InfoPath Dev

In a repeating table, how can I display another field if one of the values of the repeating field contains "Telemarketing".

Last post 05-23-2014 09:22 AM by Edward Rodman. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 05-21-2014 09:31 AM

    In a repeating table, how can I display another field if one of the values of the repeating field contains "Telemarketing".

    I have a repeating table and I need to display another field if one of the values of the repeating field contains "Telemarketing".

    If "Telemarketing" is the first item in the repeating table, it works fine...but i really need the repeating table to check all values that were entered into the table.

    What if they entered 5 values in the table. How do i test all 5 values?

    Is that possible? 

  • 05-21-2014 11:44 PM In reply to

    Re: In a repeating table, how can I display another field if one of the values of the repeating field contains "Telemarketing".

    Hi Ed,

    Thanks for contacting us. Yes, this is possible. I will ask someone to respond with an example.

    More soon,

    Patrick

    Patrick Halstead
    Project Manager at Qdabra
  • 05-22-2014 12:20 AM In reply to

    Re: In a repeating table, how can I display another field if one of the values of the repeating field contains "Telemarketing".

     Hello Ed,

     Is the field you want to hide/show within the repeating table, or outside of it?

    If the field is outside of the repeating table, here's how you would set up the formatting to do what you describe:

    To set up the condition:

    1. In the left dropdown of the Condition dialog, select Select a field or group..., choose the field you want to use for the filter, and before clicking OK, use the Select dropdown to choose "All occurrences of [field]"
    2. In the middle dropdown of the Condition dialog, select do not contain
    3. In the right dropdown, enter the text Telemarketing
    4. So the full condition, should read as "All occurrences of [field] do not contain Telemarketing"

    Then for the actual formatting, check the box for Hide this control.

    This should make it so that the field is hidden iff none of the values contanins "Telemarketing", or in other words, it will be shown if any of the values contains "Telemarketing"

    Jimmy Rishe / Software Developer / Microsoft MVP
    Qdabra Software
  • 05-23-2014 09:22 AM In reply to

    Re: In a repeating table, how can I display another field if one of the values of the repeating field contains "Telemarketing".

    Thank you Jimmy and Patrick. Worked perfectly. Have a great weekend.
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.