This is a discussion on CONTACT US FIELD VALIDATION v0.1 within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; In contact_us.php, when contact us query form is submitted, there's no effective validation to check if necessary fields have been ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| ||||
| ||||
| In contact_us.php, when contact us query form is submitted, there's no effective validation to check if necessary fields have been filled in. Instead, only an "invalid email address error message" is displayed in the result with the caption something like, "thank you, your query has been successfully submitted to the store owner". Most people misunderstand this as their message having been delivered. Actually, the store owner never gets the message if the email address is not inserted in the form while submission. This is somewhat confusing. I was looking to alert the visitor in case of the incomplete form, BEFORE the query is submitted. After constantly looking around, I couldn't find a contribution that would resolve this issue, so I quickly "developed" my own. All I did was to grab the form field validation javascript from www.dynamicdrive.com and altered a few lines in the catalog/html_output.php file. PLEASE NOTE: That the enclosed contact_us.php file is the same as the one in SUPER CONTACT US ENHANCEMENT. This can be found here: http://addons.oscommerce.com/info/4029 This file is also included in the package so not to worry, I have only provided the information for clarification. A screenshot is included for demonstration prior to install. More...
__________________ Michael Sasek osCMax Developer
|
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| css and dhtml validation | dilladog | osCMax v2 Installation issues | 0 | 09-03-2007 01:37 PM |
| Image Validation | michael_s | New osCommerce Contributions | 0 | 06-21-2007 02:00 PM |
| Validation in admin | chitta_rn | osCMax v2 Customization/Mods | 0 | 02-17-2006 06:17 AM |
| add a field to contact us page | stevensdesign | osCMax v1.7 General Mods Discussion | 1 | 08-01-2005 04:37 AM |
| Email validation issue | webguy262 | osCommerce 2.2 Installation Help | 0 | 06-24-2004 11:20 AM |