Class to Encapsulate a Reusable Form

This is a discussion on Class to Encapsulate a Reusable Form within the PHP Language forums, part of the PHP Programming Forums category; I'm developing some reservation forms for a variety of events that all contain common contact and billing info fields. ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-23-2004
Bob Garbados
 
Posts: n/a
Default Class to Encapsulate a Reusable Form

I'm developing some reservation forms for a variety of events that all
contain common contact and billing info fields. There are also several
fields pertaining to each specific event. My initial thought was to use
include files to handle the common fields... one for the contact fields, one
for the contact field validation, one for the billing fields, and one for
the billing field validation. Would it be better to implement this using
include files for the presentation of the fields and classes for the
validation/processing of the fields? Just curious as to peoples' thoughts
about how to best implement these forms using php as I come from an asp
background...



Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 09:11 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0