I am making a client script which only allows chan...
# beginners
a
I am making a client script which only allows changes to be made for one specific field, namely the date. My clientscipt says
Copy code
function validateField(context) {
        if(context.fieldId !== 'trandate'){
            alert("You may not make changes to the field " + context.fieldId)
            return false
        }
    return true
    }
It gets caught in an endless loop, when I do this. Any reason why?