Restricting form submission

Results 1 to 2 of 2

Thread: Restricting form submission

  1. #1
    Join Date
    Dec 1969

    Default Restricting form submission

    I want to be able to receive a form submission and then restrict it based on unallowable words. I know ASP has the REPLACE tag, however, I don&#039t want to replace, I just want to find to search the submission to see if the word is there. If it is, not accept submission. Can anyone help?

  2. #2
    Karl Guest

    Default RE: Restricting form submission

    2 options.<BR><BR>Use regular expressions - one of the object has a .count method<BR><BR><BR><BR>u se inStr(str,"matchstring") - which will return 0 if nothing is found - problem with this idea is every word you want to find, you have to use instr.<BR><BR>Karl

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts