By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
426,165 Members | 1,908 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 426,165 IT Pros & Developers. It's quick & easy.

string validation/ form validation

P: n/a
Hi there:

I just had a quick thought of something that might be useful to me when
creating my web app and I wanted some help on the idea; since this
group has been helpful in the past.

in my app I have a few html forms that require the user to enter in
data, in string form

is it possible to validate if the string is in a valid form..such as
check if its a list

An example

ask the user to enter in a list seperated by commas

so i want something like "apple,banana,grapes"

is there a way to validate that it was entered that way?

Any help would be appreciated

Aug 21 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
OriginalBrownster wrote:
Hi there:

I just had a quick thought of something that might be useful to me when
creating my web app and I wanted some help on the idea; since this
group has been helpful in the past.

in my app I have a few html forms that require the user to enter in
data, in string form

is it possible to validate if the string is in a valid form..such as
check if its a list

An example

ask the user to enter in a list seperated by commas

so i want something like "apple,banana,grapes"

is there a way to validate that it was entered that way?

Any help would be appreciated
Yes.

Please read this: http://www.catb.org/~esr/faqs/smart-questions.html

Peace,
~Simon

Aug 21 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.