Spot on Mark, thanks. The field is now editable too so I've changed the .innerhtml to .value for anyone "borrowing" the code.
var photoFld = document.getElementById("#{id:inputPhoto1}").value;
if(photoFld == "" || photoFld == null) { alert("You cannot perform this operation until you have entered a description."); dojo.stopEvent(thisEvent);
}