Hello,
I have a problem in my form (browser-enabled), I am trying to set the values to couple of fields in a repeating section.
Let's say I've got 8 fields in that repeating section: box1, box2 etc.
users can set value for those boxes as 0 or 1
0 gives a bad smiley & 1 gives a happy one :)
Now I added a button, that have a rule; if date not equal today() & if box1 equal to 0 then set box 1 value = 2
The problem with my repeating section (multiple rows), that the button sets the value (2) for all box1 rows (even if some of them equal to 0 or 1).
I checked a few posts about that issue & understand that there is a way in xpath to do it.
But nothing works for me.
I try to do something like that:
I used the same rule as above & in set value I tried:
SetValue() /xpath=/my:fields/my:table/my:box1 /value="2", )
But I guess its wrong.
Hope my describe understandable.
Any help will be appreciated.
thanks!
Adam.
sorry for posting again,no one answeared i fifn't know if its the right place for my post.