Check for quotes

Results 1 to 2 of 2

Thread: Check for quotes

  1. #1
    Join Date
    Dec 1969

    Default Check for quotes

    How can I check my input from forms for quotation marks? How can I remove them?

  2. #2
    Join Date
    Dec 1969

    Default RE: Check for quotes

    i think u wnat to remove single quotes???<BR>k, anyway u can use the replace function of vbscript to work for u like &#060;%aspvariable=replace(formfield,"&#039;","")% &#062;<BR><BR>This function checks for anysingle quotes in ur form field and replaces them with nothing. alternatively u can replace them with anything u like.<BR><BR>cheers<BR>

Posting Permissions

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