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.
Thanks
Solved! Go to Solution.
Views
Replies
Total Likes
You can access the validation pattern message property through script using
DateTimeField1.validate.message.formatTest.value
The scripting validation pattern message is done using
DateTimeField1.validate.message.scriptTest.value
Views
Replies
Total Likes
You can access the validation pattern message property through script using
DateTimeField1.validate.message.formatTest.value
The scripting validation pattern message is done using
DateTimeField1.validate.message.scriptTest.value
Views
Replies
Total Likes
Worked perfect, thanks
Views
Replies
Total Likes
Views
Likes
Replies