Validation of fields in Flash forms using JScript and VBScript
This section deals with the concept of validating fields in flash forms. Validation is done to prevent users from giving invalid or null data. Javascript validation should always be accompanied by ASP (or any other technology used by you) validation so that browsers which have javascript disabled are also validated. We will now learn to validate the input form in our Flash 'n' ASP Guest-Book.
Important : To validate forms, you need a Netscape browser version 3.0 or later, or an Internet Explorer browser version 5.0 or later. Browsers must be JavaScript-enabled and have Flash Player 5.
Note : Values or code you will have to enter are given in light blue and red show specific settings to be followed by you. Comments in ASP are in bold green.
Starting Flash Guest-Book Interface

Input form Validation in our Flash 'n' ASP Guest Book
We shall now see how to validate the input form with the Name
and Email fields needed to be entered and the email field being
a valid email ID
Flash Guest-Book Send function interfaces
|
|
|
|
Finishing Flash Guest-Book Interface

Adding the VBScript and JScript
Cut and paste the following VBScript and JScript in the head content of your guestbook.asp page (where you have placed the guestbook.swf file).
Flash Guest-Book Send function interfaces
Absolutely FREE Web Templates
Check out these quality free web templates and download them without any registration or sign-up!
FREE Web Design Guide
From web design tips & ideas to HTML, CSS Styles, Fireworks & Dreamweaver you'll find all you need to know about effective web site design right here!
Quality Dreamweaver Templates
Professional quality dreamweaver templates in over 20 categories, starting at just $9.95! Instant download & easy customization
