Popular Searches: FrontPage Hosting | FrontPage Templates | FrontPage Training | Free FrontPage

location validation   Logged in as: Guest
  Printable Version
All Forums >>Taking FrontPage Further >>FrontPage and Databases >> Page: [1]
Name:
Message<< Newer Topic  Older Topic >>

Jose

 

Posts: 1
Member since: 10/20/2008
 

location validation 

I want to try to ensure that a person registering on a service lives in a certain city. What has occurred to me is that the city, zip and land phone area code match. If they dont, the registration is rejected. The site is built with FrontPage 2003. I cannot find this kind of validation in the dialog boxes provided by Front Page. How do I go about it?


_____________________________

  Report Abuse |  Date: 10/20/2008 7:42:03 AM

TexasWebDevelopers

Posts: 7040
Member since: 9/24/2002
From: USA

RE: location validation (in reply to Jose

You have also asked this question in another front page forum but you have not provided enough information. What are you comparing the form data to? A database? Another form field? You have to "match" the data to something....


< Message edited by TexasWebDevelopers -- 10/20/2008 8:09:00 AM >



_____________________________



FrontPageTools.com:Templates, Tools and Training support this forum
  Report Abuse |  Date: 10/20/2008 8:08:09 AM

TexasWebDevelopers

Posts: 7040
Member since: 9/24/2002
From: USA

RE: location validation (in reply to Jose

You re[plied on another forum that you weren't comfortable with databases and were looking for Front Page solution.
I cannot think of a good way to do this without using some sort of data source.

I've created an AJAX page that uses an Excel spreadsheet as the data source to check a form field against a list of available "usernames".
It's copy/paste type of code but you need to on a server that parses ASP (microsoft server).

http://www.texaswebdevelopers.com/examples/timeforweb/ajax.asp

Here is the link to a "live validation" example that will also do what you want:
http://www.texaswebdevelopers.com/examples/live_form_validation_example.htm


_____________________________



FrontPageTools.com:Templates, Tools and Training support this forum
  Report Abuse |  Date: 10/22/2008 2:13:12 PM
Page:   [1]
All Forums >>Taking FrontPage Further >>FrontPage and Databases >> Page: [1]
Jump to:

New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts



Forum Software powered by ASP Playground Advanced Edition 2.0.5
Copyright © 2000 - 2003 ASPPlayground.NET

0.03125