HTML
  Home arrow HTML arrow HTML Form Verification and ACP
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
HTML

HTML Form Verification and ACP
By: Chrysanthus Forcha
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 1
    2009-08-18

    Table of Contents:
  • HTML Form Verification and ACP
  • The Code
  • The verifPage Variable
  • The verify() Function
  • Summary of the Document Phase of Chrys’s Approach to ACP

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    HTML Form Verification and ACP


    (Page 1 of 5 )

    HTML form verification is a good candidate for Active Client Pages (ACP). After a user has filled in an HTML form, you may want to present a new page to him showing all of the information he has typed in the form. This new page is the verification page. In this article I show you how to use the technology of Active Client Pages to produce the verification page at the client, not from the server as the present state of the art depicts.

    In this verification page, you show him everything that he has typed. He verifies it, and if the information is correct, he clicks the Submit button; if he made a mistake, he clicks the Back button in the Tool Bar, goes back and retypes.

    Our Example

    We shall use a simple example. We shall use a Form that has three Input Text Controls. These three Input Text controls will be in a FORM element. This FORM element will not have a Submit Button.

    It does not have to have one, because after filling out this form, the user will be presented with a Verification Page; and in this verification page he would verify (mentally) whether what he typed into the Form was correct.

    It is this verification page that has the Submit Button. If everything on the verification page is okay, the user will click the verification page's Submit Button.

    There is a button labeled "Verify" on the Form’s page. When you click this button, the verification page appears. The data you typed into the Input Text elements of the verification page appears in SPAN elements in the verification page.

    The verification page has three Input Text elements, each of which has a copy of data from one of the Input Text elements of the Form’s page. The value of the display property of the Input Text elements in the verification page is set to "none." In this way, they are not seen and they do not occupy space.

    However, it is the data in these Input Text elements in the verification page that are sent to the server, and not the data in the SPAN elements of the page. The SPAN elements are just there to show to the user the data he or she typed. The Input Text controls in the verification page are in a FORM element that has a Submit Button. The SPAN elements in this page are not in the FORM element.

    More HTML Articles
    More By Chrysanthus Forcha


     

    HTML ARTICLES

    - Comparing Browser Response to Active Client ...
    - Testing Browser Response to Active Client Pa...
    - Active Client Pages: Completing the Code for...
    - ACP and Browsers: Setting up an Example
    - How Browsers Respond to Active Client Pages
    - Completing a Tree with Active Client Pages
    - HTML Form Verification and ACP
    - Building an ACP Tree
    - Completing an ACP 3D HTML Table Image Gallery
    - Building an ACP 3D HTML Table Image Gallery
    - A Multiple Page Image Gallery with Active Cl...
    - Building an Image Gallery with Active Client...
    - Concluding a Menu for All Browsers
    - A Vertical Menu for All Browsers
    - Downloading Long HTML Pages with ACP







    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 1 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek