I have a requirement where once the field has been populated, it should be read only. I have placed the following script in the Create Script area for the field on the screen. However, it is not working. The field is coming up as read only. However, it is read only whether there is a value in the field or not. I don't know if it makes a difference but the field is a date only field. Is there an error in what I have done below? Any assistance would be greatly appreciated! Thanks!
if (this.value != null || this.value != "" || this.value != 'undefined');
{
ReadOnly = true;
}