I am trying to validate records based on the onclick event of a Checkbox or change event of a select option, for some reason this is not working in a cfwindow.
<input type="checkbox" name="ccSameddress" value="shipsame" onclick="return sameinfo();">and below is my script:
var d = document.cbfoundation;
as the first line of your function. Then you'll know if the function was called.
It may or may not matter, but I always have return statements in my functions.
I had to create a blank page and called the CFWINDOW page as an IFRAME, and now the validation is workinng.
There has to be a bug with the way CFWINDOW handles some events. I also noticed you can not upload a file in CFWINDOW.
I hope Adobe is aware of these little quacks with CFWINDOW
Europe, Middle East and Africa