I have a date/time field that is read only but becomes required if the user types something in a different field. The validation pattern works because I set those before I turned the field to read only but the validation pattern message is just the default again (the custom message I had typed in disappears when the field is changed to read only). Does anyone know how to set the validation pattern message through javascript? I can't seem to figure it out.