Hi Gang
I have been looking everywhere but i cannot find any information on what im looking for.
i have a repeater, that has several criterias depending on …different things, But its only some of the items in the repeater that needs that check, not the entire row. Right now i have to put those also in the different cases if and else parts, otherwise they dont get loaded
Example ( huuuuge RP file so im not sending that.)
OnItemLoad
Case 2 (if “[[item.Active]]” equals “1”)
set text on Title-label equal to “[[item.RPtitle]]”
set text on remaining-label equal to “item.RPremaining”
show shape-Yellow
Case 3 (else if "[[item.RPremaining]] equals “queue”)
set text on Title-label equal to “[[item.RPtitle]]”
set text on remaining-label equal to “Queue”
Case 4 (Else if True)
set text on Title-label equal to “[[item.RPtitle]]”
set text on remaining-label equal to “Return”
What im looking for is a way to have Title-label just declared once! since it doesnt change.
for example
OnItemload
**case 1** (something something)
set text on Title-label equal to "[[item.RPtitle]]"
set text on remaining-label equal to "item.RPremaining"
THEN!
Case 2 (if "[[item.Active]]" equals "1") show shape-Yellow
Case 3 (else if "[[item.Remaining]] equals "queue") set text on remaining-label equal to "Queue"
Case 4 (Else if True)
set text on remaining-label equal to “Return”
in case 2-4, all the items from case 1 is included
Is this possible?
or do i have to give the repeater widgets the default values and not pull those from the repeater cells onload?..and then change the ones i want?
/Z