removing phone formatting
Hey Ray
In this orders search code, which bits do I need to change to remove the phone validation format/style? I just want them to be able to put any style of number.. (and are the only changes in this code chunk or do I need to change other areas?)
<div class="lineGroup" style="float:left;clear:left;">
<label for="OrderPhone" class="sublabel" > Phone:</label>
<div class="errorGroup"> <span id="OrderPhone_Spry"> <span>
<input id="OrderPhone" name="OrderPhone" type="text" value="<?php echo((isset($_GET["OrderPhone"])?$_GET["OrderPhone"]:"")); ?>" class="formTextfield_Medium" tabindex="6" onBlur="WAValidatePN(document.getElementById('Search_Basic_Default').OrderPhone,'',false,true,'x (xxx) xxx-xxxx',document.getElementById('Search_Basic_Default').OrderPhone,0,true);hideServerError('OrderPhone_ServerError');" style="width:150px; height:35px; font-size:16px;">
<?php
if (ValidatedField('orderssearch','orderssearch')) {
if ((strpos((",".ValidatedField("orderssearch","orderssearch").","), "," . "2" . ",") !== false || "2" == "")) {
if (!(false)) {
?>
<span class="serverInvalidState" id="OrderPhone_ServerError">Please enter a value.</span>
<?php //WAFV_Conditional orders_search.php orderssearch(2:)
}
}
}?>
</span> </span> </div>
</div>
cheers
Jamie