This will only work if the float check accepts a blank value, which I'm not 100% sure it will. Give it a try anyway. Also, if radio1 is a boolean, substitute radio1 == false in the above code. [ September 27, 2006: Message edited by: Merrill Higginson ]
this solution does not work... it will start the float validation if the radiobutton is not selected (radio1 == null). this might be tolerable for a float validation, but is not possible for a required validation.
the problem is that with validwhen i can only define a "exit point" before following validations:
( "validwhen, x, y" will not execute x and y if validwhen is not valid)
but i can't seem to write something like validatewhen, which would only execute x and y if validwhen computes to true.
looks like i need to code it by hand,
eat bricks! HA! And here's another one! And a tiny ad!
Free, earth friendly heat - from the CodeRanch trailboss