Help - Search - Members - Calendar
Full Version: how to make a Form that only accepts special format?
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
ajax
Im making a website for a gaming community, they currently play counter-strike source, which each user account is assigned a unique ID. This is called there steam ID, I need to know how to make a form only accept the format these ID's come in which is X:X:XXXXXX
The X are the locations for the numbers of each persons ID. and the the part after X:X: can be anywhere from 1-8 digits long. I need to make a form that will only accept this ID format, how would i do this?

A few examples of steam ID's are:

0:1:18805908
0:0:26566428
0:1:2391425
Darin McGrew
Please see the FAQ entry How can I require that fields be filled in, or filled in correctly?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.