Rules on a repeating table - InfoPath Dev
in

InfoPath Dev

Rules on a repeating table

Last post 01-14-2010 09:09 PM by Qazi Anis. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 01-13-2010 04:58 PM

    Rules on a repeating table

    I'm trying to add a rule to a repeating table so that when a date is selected from the date pick list the following will happen.

     If the date is already selected in the repeating table then the field "allowance" will be populated with 0

     Any thoughts/suggestions would be greatly appreciated! 

     thanks

  • 01-14-2010 02:28 AM In reply to

    Re: Rules on a repeating table

    here you go

    on the calender control of you repeating write a rule to set the value of a field say

    rule 1) field4 to eval(eval(group2, 'concat(my:field3, "|")'), "..")

    where group2 is your repeating table and field3 is calendar control.

    rule 2) if field4 contains field3

    then field 5= substring-after(field4, .)

    rule3) if field5 contains field3

    then allowance= 0

    Qazi Anis
    Technical Architect
    Bitwise Inc
  • 01-14-2010 02:34 AM In reply to

    Re: Rules on a repeating table

    Thanks Qazi.. Aprreciate your help! Quick question, field4 - should that be part of the repeating table?
  • 01-14-2010 09:09 PM In reply to

    Re: Rules on a repeating table

    field4 and filed 5 are not part of repeating table

    Qazi Anis
    Technical Architect
    Bitwise Inc
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.