Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Phone Validation

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-30-2006, 12:43 PM
 
greenbaynet greenbaynet is offline
 

Member
  
Join Date: Sep 2006
Posts: 11
 

Default Phone Validation

I would like to write a javascript function to validate phone numbers on the registration page.

Does anyone know where I can find the phone <input> so that I can add an "onBlur()" and where the correspoding header area is that I could write the javascript function for the validation?
__________________
--Green Bay Net--

X-Cart version 4.0.14
Reply With Quote
  #2  
Old 11-30-2006, 01:10 PM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: Phone Validation

It's in skin1/main/register_contact_info.tpl

Code:
<INPUT type="text" id="phone" name="phone" size="32" maxlength="32" value="{$userinfo.phone}">
__________________
xcartmods.co.uk
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:46 PM.

   

 
X-Cart forums © 2001-2020