We need to go little bit in to basics........
1.When you used "" around TOTAL it is considered as Static text (in other words string constant) So if you remove those "" that will be considered as variable and in runtime the value of that variable is replaced for execution.
2. In FormCalc the equal operator is represented as == not with single =
So try the following hopefully that will work..........
if ( TOTAL == 200.00 ) then
I want to output an error message in a box called "ERRORbox"
elseif ( TOTAL == 250.00 ) then
I want to output an error message (same message as above) in a box called "ERRORbox"
endif
if that did not work try the following.....some times FormCalc is picky and do string comparisons even though it suppose to do numeric comparison.
if ( TOTAL == "200.00" ) then
I want to output an error message in a box called "ERRORbox"
elseif ( TOTAL == "250.00" ) then
I want to output an error message (same message as above) in a box called "ERRORbox"
endif
Let me know if you still have issues.