CLIENT LOGIN
Login | Register |Logout

info@guymercier.com

Issue 3, Number 1, December 2010

This newsletter is shared with other clients or colleagues of GuyMercier.com to visually present possible communication options or explains common terms used in the creation of web products.

Visit me on ...

gmgraphics on LinkedIn

BehanceNetwork

Facebook Icon Twitter Icon RSS Icon Blog Icon

Table of Contents

Date Script
Radio Button Confirmation
Dynamic Form Selection
Dynamic Select Lists
Autoreply Forms
Form Sample
Mandatory
Ecommerce

Issue 3 > Number 1 > December 2010 - FORMS

Forms

Forms are used to collect, receive, or send data. They are very useful. They can populate MySQL databases or retreive and search for information. They can also perform specific tasks such as calculation.

The samples below uses Javascripts, PHP Scripts, Invisible Scripts, and work with their own specific CSS Style sheets.

PHP Content Management Systems (CMS) can be created to give either the "webowner" or "approved user" access to specific files they can use to change the content of a particular web page. The script will verify the necessary connection requirements and verify if the user is approved or not.

My Client page is a sample of a basic MySQL database with Invisible PHP scripts that verifies if the visitor has access. Try connecting to http://www.guymercier.com/clients/ Online registered users have access.

The web uses a variety of scripts, CSS settings, and specific coding that needs to be entered within the <head> of the web page. Most Free web sites will not grant you access to make changes to the <head> but only to the <body> of the site. For more information see Web Basics in Issue 2.

Date Script

 

Radio Button Confirmation

Licence Agreement

Dynamic Form Selection

Selection boxes can be used to display alternate forms by using dynamic content.



Dynamic Select Lists

DOM allows creating new option elements from within scripts using the Option(caption[,value]) constructor which creates a new option instance which is inserted in the appropriate select control's options[] array. history.go[0]; can be used to update the window after element insertion.

Note: Other control objects do not have instance constructors. They must be created with the more rudimentary document tree traversal / node creation technique offered by the DOM model.


This example illustrates passing multiple selected items from a select list to another select control. The onclick event passes only the control element ids. The add2list() function finds the controls and loops through the input list's options array looking for selected items. Selected items are added to the output list using the Option objectconstructor. The function also prevents duplicate output entries by checking the output list before addition. The takefromlist() function removes previously selected elements from the output list. Double clicking is also enabled. View this page's source for the table format

Autoreply Forms

The form will reply with either an Error or thank you page.

Send me an email!

Name

Email

Comment

 

Ecommerce

These will load live samples.

Shopping Cart

GreenGiver18Green Giver 18

Quantity: Check out now

 

PayPal

The sample below will load the clients PayPal account info for the following products.

GREENGIVER XP33L 18
$595.00

GREENGIVER XP33L 30
$795.00

GREENGIVER XP33L 36
$895.00

GREENGIVER XP33L 60
$1,495.00

GREENGIVER XP33L 120
$2,695.00


For more information, contact info@guymercier.com

Select your font size

Things are not always as they seem. What you see is a result of several files and scripts.

Home > eNews > Sitemap > Contact
©2010

Privacy & Confidentiality Disclaimer
Return to Top of Page Return to Top of Page