Conditional Formatting - InfoPath Dev
in

InfoPath Dev

Conditional Formatting

Last post 03-22-2012 02:16 PM by Hilary Stoupa. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 03-22-2012 06:50 AM

    Conditional Formatting

    I have a 2 view form. view 1 has some high level data within a repeating section (line item). When the user needs to add details for the line item I have a function that creates the details on view 2. during the creation of this repeating table, in view 2, I have a hidden field called "Highlight"  setValue = 1. the condition will set background color when = 1. My issue is I cannot figure out how to set all the "Highlight" fields (all rows) to 0 when I leave the view or save the form. Seems I can only get the first row set to 0.

    any suggestions?

    Kind regards,
    Larry
  • 03-22-2012 10:09 AM In reply to

    If you just want to set all rows to the same value, you can just create an action rule that says something like set a field's value field1 = value.  That should set all the rows as long as field1 is a repeating field.
    Anson Hidajat
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™

  • 03-22-2012 01:36 PM In reply to

    This is not working. It is only setting the first row. I'm going to bang away at it a little more.
    Kind regards,
    Larry
  • 03-22-2012 02:16 PM In reply to

    Where are you doing this? From code? Or from a rule? What field is the rule on? Or is it on a control?

    Hilary Stoupa

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