Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Filter Characters
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Filter Characters

 Post Reply Post Reply
Author
WAKO View Drop Down
Groupie
Groupie
Avatar

Joined: 18 July 2003
Location: United States
Status: Offline
Points: 56
Post Options Post Options   Thanks (0) Thanks(0)   Quote WAKO Quote  Post ReplyReply Direct Link To This Post Topic: Filter Characters
    Posted: 11 August 2003 at 2:40pm

Ive tried to filter out these characters

@!#%^&*( )+=<>?/ \

on the register.asp form for the user name textbox and I'm stuck

I keep getting an error for password on line 821 cannot contain null

Bruce or anyone know exactly how to do this on the register.asp page and make it work.

java is what I have been trying along with every way I know possible with no luck I probably feel stupid when someone shows me how to do this I'm exhausted

Thanx a million

WAKO
Back to Top
WAKO View Drop Down
Groupie
Groupie
Avatar

Joined: 18 July 2003
Location: United States
Status: Offline
Points: 56
Post Options Post Options   Thanks (0) Thanks(0)   Quote WAKO Quote  Post ReplyReply Direct Link To This Post Posted: 12 August 2003 at 5:51am

Well all I could Figure out was to null each character and show that those characters are not allowed next to the textbox it will work for now. If anyone has a better way please let me know!

I was hoping for an error pop up stating that those were not allowed but if they enter a null character it just doesnt submit and leaves the form as is! And it doesnt tell them whats wrong with the form

WAKO
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 12 August 2003 at 5:54am

Use JavaScript and look up regular experssions on google which can be used with JavaScript to detect certain characters.

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.