Member
Join Date: Apr 2007
Posts: 60
|
if (field[xTotalLev].value > 6) then
field[abText2].text = "FOO" else field[abText2].text = "BLURG" endif I'm 12th level, so why am I getting BLURG instead of FOO in my append "field[abText2].text"? |
#1 |
Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
What phase/priority are you running this at?
|
#2 |
Member
Join Date: Apr 2007
Posts: 60
|
Thank you, that fixed it. Those were set to defaults. :/
|
#3 |
Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
No problem. My first step when I don't get the values I expect is to check to make sure the phase I'm running is right for when things are happening (post levels if I need a level, post-attr if I need an attribute).
Also you can toss debugs in to see if the value you want is there. debug "Level value: " & field[xTotalLev].value |
#4 |
|
|