Prakash

Prakash

  • NA
  • 258
  • 78.5k

GUID Validation From UI

Mar 15 2018 4:43 AM
Hello Experts,
 
i have below textbox i want to validate GUID.
In below Pattern is not working.
help me for validate guid from UI 
 
<form> 
<input type="text" class="form-control" id="txtid" name="txtid" pattern="[0-9A-Fa-f]{8}\-[0-9A-Fa-f]{4}\-[0-9A-Fa-f]{4}\-[0-9A-Fa-f]{4}\-[0-9A-Fa-f]{12}$" title="Enter valid Guid" required/> 
 
 
<Button> Go </Button> 
 </form>
 
Thanks 

Answers (1)