Sushant Torankar

Sushant Torankar

  • 1.1k
  • 280
  • 30.6k

Validation in javascript

Oct 15 2024 6:23 PM

Hi,

I am using bootstrap modal popup, which have Textbox and Button inside it.I want to apply required field validation on that textbox (For ex. Textbox cannot be empty). But when i give any validation, the modal popup gets close.

The Required Field Validator or javascript validation not working , as modal popup gets close and modal backdrop appears (meaning black background)

 

Any idea which validation or javascript validation can be used, that will appear on modal popup without closing it

 

Thank You !


Answers (1)