Articles → MICROSOFT BOT FRAMEWORK → Apply Validation On User Input On Bot Framework

Apply Validation On User Input On Bot Framework






Pattern Attribute





Example




[Pattern("^[a-zA-Z0-9+_.-]+@[a-zA-Z0-9.-]+$")]
public string email;



Output


Picture showing how to apply validation on user input in bot framework
Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Tuesday, October 13, 2020

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250