Click here to Skip to main content
15,894,405 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I seen in the website(SAP portal framework )where interface designed by Java Webdynpro or ABAP webdynpro that there are some input fields were marked (with read asterics after their labels) as Required Input Fields.

Making some input fields as required fields will indicate user that those fields must be input (not empty), and if user perform any action without providing values to these input field, the user will be informed apropriate infomation to this input field, in order to let user know what he/she missed data entry.

Is it possible in VB.net to mark some input fields as required fields?
Posted

1 solution

If are using VB.Net with ASP then you can have a look at the http://www.w3schools.com/aspnet/control_reqfieldvalidator.asp[^] control. There are other validation controls available in ASP.Net as well.

If you are looking at windows forms, then you can build custom validations into your code. VB.NET TextBox Validation Control[^] is a decent example where this has been done. Other similar examples are available on the internet if you do a search.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900