Text Area Validation

D

Dan

The internet used to be fun, but has ceased to be so in many cases when rude
people try to spam a guest book entry by entereing href tags in a guestbook.
I have a customer who has site that uses a standard Front Page type of
guestbook The form includes a text area and we have started to receive
guestbook
entries from individuals trying to sell cheap airline tickets etc by typing
an href tag to a site. I'm looking for some assistance for setting the
validation rules of a text area
to disallow href. Is this possible?

Best Regards and thanks in advance,

Dan
 
M

malcolm

Dan said:
The internet used to be fun, but has ceased to be so in many cases when
rude people try to spam a guest book entry by entereing href tags in a
guestbook.
I have a customer who has site that uses a standard Front Page type of
guestbook The form includes a text area and we have started to receive
guestbook
entries from individuals trying to sell cheap airline tickets etc by
typing an href tag to a site. I'm looking for some assistance for setting
the validation rules of a text area
to disallow href. Is this possible?

Best Regards and thanks in advance,

Dan

< Assuming you are using microsoft frontpage 2003 >
With the page open double click the text area.
In the < text area properties box > click < validate >
In < Other > type only the digits that you want to be allowed in your text
area. like this

ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789@_-,.

Hope this helps
don't forget to name the field and indicate to users that you have a
restriction in place for the text area.

regards
malcolm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top