No you need to reference the field itself, selectedDate is just a variable, so after all the code above you'd put:$.access = "readOnly".As I said above though, not a great user experience if they pick the wrong date, but the check for choosing a Monday should help.