Please try below script on mouseEnter event of signature field.
if(TextField1.rawValue== null)
{
xfa.host.messageBox("Please fill the previous value");
this.access = "readOnly";
}
else{
this.access = "open";
}
another:
if(TextField1.rawValue!= null)
{
this.access = "open";
}