shows validation message in texbox


Is there a way to show validation textbox message even if the attribute type required: false -> set to false?

The process should be when button is clicked and textbox has an empty value, will show a message. See sample codes below.

Seems that I could not show the message in local!er in textbox validation.

Thanks ahead guys!

  Discussion posts and replies are publicly visible