Thread: Two questions
View Single Post
EightBitz
Senior Member
 
Join Date: May 2013
Posts: 1,458

Old January 27th, 2016, 10:45 AM
Still can't get the tracker thing. I didn't realize you were talking about a literal <creation> script. I didn't see one defined for the Tracker component, so I added one.

I put it after the final field definition, right before the closing tag for the component. Anywhere else I tried to put it within that component would give me errors. Putting it at the end, I get no errors, but it also has no effect. The starting value is still 0. Code is below. I commented out the IF block to facilitate troubleshooting.
Code:
<creation><![CDATA[
   ~if (tagis[Helper.ResetMax] <> 0) then
   field[trkUser].value = field[trkMax].value
   ~endif
]]></creation>
EightBitz is offline   #10 Reply With Quote