I've done extensive searching on the net as well as browsed these forums quite a bit, so I think I'm asking a question that isn't often asked.
Sorry if I didn't see an original thread and this is a repost!!
With the click of a button using Javascript, I'm trying to change the properties of any field without a null value to Read Only.
As I don't know the command for "all fields", I started off working with a specific field.
This is what i have so far, but doesn't seem to work:
var f = this.getField("A 25");
var bLock = (event.value != "");
f.readOnly = bLock;
What am i missing? and does anyone know how i could recode the first like so that it applies to all fields?
Thanks,
Chocko