
08-18-2008, 06:23 AM
|
|
 | |
|
|
 X-Adept
|
|
Join Date: Aug 2008
Posts: 643
|
|
|
Re: Validation script to check if custom text field has been filled
Quote:
var value = product_option_value("url");
if (value !== false ) {
alert("Sorry, you should enter an url");
return false;
|
Code:
if (value == false ) {
is more correct I think
|
|