Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
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
  • 876 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