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; This is a one line Simple Fix for the described problem. Open contact_us.php Find around line 82: if (isset($HTTP_GET_VARS['action']) && ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| ||||
| ||||
| This is a one line Simple Fix for the described problem. Open contact_us.php Find around line 82: if (isset($HTTP_GET_VARS['action']) && ($HTTP_GET_VARS['action'] == 'send')) { Change it to: if (isset($HTTP_GET_VARS['action']) && ($HTTP_GET_VARS['action'] == 'send') && $messageStack->size('contact') < 1) { That's it. Fixes the problem with saying the form was submitted when it wasn't. More...
__________________ Michael Sasek osCMax Developer
|
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| CONTACT US FIELD VALIDATION v0.1 | michael_s | New osCommerce Contributions | 0 | 01-12-2008 08:22 PM |
| CONTACT US FIELD VALIDATION v0.1 | michael_s | New osCommerce Contributions | 0 | 11-29-2007 06:02 AM |
| CONTACT US FIELD VALIDATION v0.1 | michael_s | New osCommerce Contributions | 0 | 11-28-2007 09:40 AM |
| Image Validation | michael_s | New osCommerce Contributions | 0 | 06-21-2007 02:00 PM |
| add a field to contact us page | stevensdesign | osCMax v1.7 General Mods Discussion | 1 | 08-01-2005 04:37 AM |