Hi
I have below code . When i leave Blank it shows message like the image attached.
When Regular expression is executed it display error message other way. Image attached.
I want message to be displayed in both cases similar to Image 2.
Code
Bank Name *

Thanks

Naimish MakwanaRank #324 · 7.7K reputationPosted Aug 28, 2024, 8:00 AM EDT
try below
Thanks
Naimish MakwanaRank #324 · 7.7K reputationPosted Aug 28, 2024, 8:36 AM EDT
try this one for user leave textbox
Bank Name * function validateTextBox(textBox) { if (!textBox.checkValidity()) { textBox.reportValidity(); } }Thanks
Ramco RamcoRank #462 · 5.4K reputationPosted Aug 28, 2024, 8:11 AM EDT
Hi Naimish
Instead the message appears when User presses Save button , is it possible that same thing when user leaves the TextBox
Thanks