Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

MS FrontPage 2003


  • Please log in to reply

#1
alecy

alecy

    New Member

  • Member
  • Pip
  • 1 posts
Hi guys,

I am building my website incorporating a form that allows a visitor to enter info: name, address, credit card information, etc.
I would like the visitor to review information BEFORE it is posted to the database. All I see on the Web and in books is how to confirm entries AFTER they are already posted and in my case this is unacceptable.

If anybody knows how to do it, please respond.
Also, since I am new to Javascript, please show ALL the code and explain procedure in details.
Thank you in advance.

Alec
  • 0

Advertisements


#2
chasBoy

chasBoy

    New Member

  • Member
  • Pip
  • 6 posts
Go to W3SCHOOLS.com....
Do not expect whole code from others......
Learn yourself... Post some buggy code...and then others can try to correct it....
(Please don't mind)
  • 0

#3
bdlt

bdlt

    Member

  • Member
  • PipPipPip
  • 875 posts
here's an another idea - let Front Page create the code.

the following will result in a simple form with one text box which requires
a minimum of 5 characters and a maximum of 20 characters. FP generates the
javascript to check the text box data.

open a new htm file, use normal view
insert>form>form
insert>form>text box
Right click on the text box>form field properties>validate
Data type drop down menu - select text
data length - check required
min length 5, maximum length 20
ok>ok
save

to view the java script: open the htm file in another editor(notepad)
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP