473,396 Members | 2,111 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

User Fields validation ???

Dear all,

Does one of you knows an easy way to set for an input
control like text box, a list of invalid characters.
Then if type charecters belonmg to that list will generate
a user message.

thanks for your help
regards
Serge

Jul 21 '05 #1
2 1077
You didn't indicate which platform you're targeting,
however, if it's ASP.NET you can use the
RegularExpressionValidator control. The list of regular
expressions is not in the help for the control so you've
got to search MSDN for that - there's alot of them for
specifying every kind of character/number mask under the
sun.

Good luck.
-----Original Message-----
Dear all,

Does one of you knows an easy way to set for an input
control like text box, a list of invalid characters.
Then if type charecters belonmg to that list will generatea user message.

thanks for your help
regards
Serge

.

Jul 21 '05 #2
oups sorry it was for vb.net
-----Original Message-----
You didn't indicate which platform you're targeting,
however, if it's ASP.NET you can use the
RegularExpressionValidator control. The list of regular
expressions is not in the help for the control so you've
got to search MSDN for that - there's alot of them for
specifying every kind of character/number mask under the
sun.

Good luck.
-----Original Message-----
Dear all,

Does one of you knows an easy way to set for an input
control like text box, a list of invalid characters.
Then if type charecters belonmg to that list will

generate
a user message.

thanks for your help
regards
Serge

.

.

Jul 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Jay | last post by:
Hi everybody! Please help me with this problem. I try to write code for server side data validation. Initially, I have a html file called "form.html" which just contains all the necessary fields...
2
by: shivprasad koirala | last post by:
hi all(happy raksha bandhan day) we have one of Automation software for sales running for a customer.He was cool for the first month of product, but later popped with adding some extra...
2
by: iam247 | last post by:
Hi I have an ASP form which only includes an option list. The list is dynamically created but includes a default value, which is an instruction "Select a group". The code is shown at bottom....
8
by: Glenn | last post by:
Hi! I've developed an app that displays multiple textbox and combobox fields (most of which are autopostback) on a form along with a submit button. My users find it confusing when they change...
5
by: vishesh vyas | last post by:
Hi All, I am having a user control consisting of few mandatory fields. How to validate these mandatory fields on the .aspx page submission? Thanks In Advance Regards, Vishesh
2
by: Stewart Rogers | last post by:
Hi all, I have been working on an ASP.NET application that is a kind of wizard ( a list of sequential pages ). We built that application for the CLIENT-A and it worked fine. After six months...
3
by: c676228 | last post by:
Hi all, If I developed a phone user control which has requiredfieldvalidator, regularexpressionvalidator etc. The quesiton is if on a web form which have three phone fields and only any one of...
4
by: Stone Chen | last post by:
Hello, I have form that uses javascript createElement to add additional input fields to it. However, my validating script will not process new input fields because it can only find the named...
2
by: ticars | last post by:
I have a telephone number user control in which I need to validate the data entered (Required field validation and regular expression validation). The phone number is represented as 3 text boxes...
1
by: Kyle K. | last post by:
Environment: Visual Studio 2005 + WinXP Pro SP2 + .NET 2.0 I am new to creating user controls and have a (hopefully) simple question. I have a series of personal questions (first/last name,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.