Niall,In the latest update of your form, this is what happens here. The first two buttons (submit types) do set focus on fail, while the third (regular button) does not. The color fields script does work in my form. I wonder why the setFocus is different. I also notice that when I adapte the code fr...