HTML
  Home arrow HTML arrow Building Single Row Database Forms with HT...
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

Building Single Row Database Forms with HTML
By: Chrysanthus Forcha
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 4
    2008-07-16

    Table of Contents:
  • Building Single Row Database Forms with HTML
  • Sending Changes to Server Database
  • The Form Code
  • The Nature of the Recordset
  • The disableButtons(selectedButtons) Function

  • 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


    Building Single Row Database Forms with HTML


    (Page 1 of 5 )

    Welcome to the second chapter of a thirteen part series about creating database forms with HTML. In this article, we will continue our discussion on single-row forms and explain how to send changes to the server database. We will also go over the recordset and the common functions used to manipulate the corresponding form.

    The Controls

    As I said in part I, the web page form is produced at the server and sent to the client when he clicks a web link at his computer.

    Here we have to distinguish between the form as seen by the user and the HTML FORM element. The form as seen by the user has all the controls, while the HTML FORM element does not have all the controls (see explanation below).

    This is the form as seen by the user:


     

    Fig.1. Single-Row Form


    The controls are in an HTML TABLE element. The TABLE element is given a border with a width of 2px. It is good to put the controls in a block-level element. This is for convenience. You can then give the assembly of controls a common style (background) and address (manipulate) all of them as a group. The fields of the form (as seen by the user) are HTML INPUT elements and the buttons are HTML BUTTON elements. The HTML INPUT elements are used to hold a row (record) of the recordset.

    The first row of the recordset is row number 1. The second row is row number 2. The third row is row number 3 and so on. The row number of the recordset row, which is shown on the form, is called the Row Position in this series. It has other names in other circles. The row position and the total number of rows are each held by an HTML INPUT element at the top-right area of the form. However, these INPUT elements are made read-only and are given zero-width borders, so they do not appear as input elements. I made them like that just for the purpose of “taste.”

    More HTML Articles
    More By Chrysanthus Forcha


       · The story continues.Chrys
       · Hi I really thankful to you because you are simply greatI am very happy to post my...
       · You are welcome Dating.Chrys (author)
     

    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 3 Hosted by Hostway
    Stay green...Green IT