Using formcalc i would like to pass a numeric value to a numeric field when a radio button = YES

my images were blocked do to content???
clck here for yes example http://webgis.co.okaloosa.fl.us/website/okaloosagis/gm/yes.bmp
clck here for no example http://webgis.co.okaloosa.fl.us/website/okaloosagis/gm/no.bmp
I have tried both below and keep getting errors on the =
if (xfa.resolveNode ("qfax.#field")  = "YES") then this.rawValue = 10
if (xfa.resolveNode ("qfax.#field")  === "YES") then this.rawValue = 10
if (xfa.resolveNode ("qfax.#field") .rawValue = "YES") then this.rawValue = 10
if (xfa.resolveNode ("qfax.#field") .rawValue === "YES") then this.rawValue = 10
thanks
mike

was able to figure it out by using JAVA
if  (xfa.resolveNode("qfax.#field").rawValue == "YES")
this.rawValue = 10
else
this.rawValue = 0

Similar Messages

Maybe you are looking for