Suggested Improvements to Huggins’ Email Form Script
Posted in Software Commentary
Sunday, May 10th, 2009 by James S. Huggins

I provide a little piece of software called Huggins’ Email Form Script. You can see it here: http://JSH.us/hefs.

This posting won’t be particularly applicable except to people using this software.

I have some suggested improvements to the script. The current list is below. It is also posted on my site at http://JSH.us/h/hefs/huggins-email-form-script-suggested-improvements.htm.

I have crossposted the information here so you can easily make comments.

The whole purpose of this posting is to solicit your comments so please make those comments.

 

File Upload
Add a feature to support file upload along with the textual data. This would allow someone filling out a form to “attach” a file with it.

Questions include: what should the limits (e.g. file size) be? Should all addressees get an email copy of the file? Or should the file be stored in one place and referenced? What safeguards should be in place?

Additional Edits

State
Ensure that a two character US state code entered is a valid state code.
(See zip4.usps.com/zip4/zcl_2_landing_state.htm for a badly formatted list of US state codes. For background see www.usps.com/postalhistory/_rtf/StateAbbrev.rtf)

Phone – US
Validate that a phone number is in the format of a valid US phone format. Accept these formats:
999-999-9999
(999) 999-9999
(999)999-9999
999999999
999.999.999999
999/999-9999
999 999 9999

Regardless of the format entered, render the format to be one of the above, as chosen by the site.

ZIP+4 Code (US)
Allow a Zip+4 code to be entered as:
99999-9999
999999999
99999

If a dash is included, render the format to be one of the first two, as chosen by the site.

Contingent Requiredness
Based on the value of one field, make other fields required. For example, if a box is checked for shipping require the shipping address to be completed.

Your Comments
Again, please make your comments and feel free to make other suggestions.



 

I recommend Feedblitz. Click here or below to receive email updates via Feedblitz

I also offer Feedburner. Click here or below to receive email updates via Feedburner

Add to Yahoo Reader Add to Google Reader or Homepage Subscribe in NewsGator Online Subscribe in Rojo Add My Ephemerae to Newsburst from CNET News.com Add to My AOL Subscribe in FeedLounge Add to netvibes Subscribe in Bloglines Add to The Free Dictionary Add to Plusmo Subscribe in NewsAlloy Add to Excite MIX Add to netomat Hub Add to Webwag Add to Attensa Add My Ephemerae to ODEO Subscribe in podnova Subscribe using PodCastReady.com Add to Pageflakes