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

How do I set an "initial value" to a custom text field?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 12-23-2007, 04:53 PM
 
MattBF MattBF is offline
 

Member
  
Join Date: Dec 2007
Posts: 22
 

Question How do I set an "initial value" to a custom text field?

I have a custom text field under Product Options. I want to assign an initial value such as "http://"

It is a text box where the customer enters their URL and I want the "http://" part to already be in the text box, if you know what I mean

Is this possible?

Thanks, Matt
__________________
-Matt
Version 4.1.9
Reply With Quote
  #2  
Old 12-26-2007, 12:49 PM
 
MattBF MattBF is offline
 

Member
  
Join Date: Dec 2007
Posts: 22
 

Default Re: How do I set an "initial value" to a custom text field?

So I guess this isnt possible?
__________________
-Matt
Version 4.1.9
Reply With Quote
  #3  
Old 12-26-2007, 02:21 PM
 
inebriate inebriate is offline
 

eXpert
  
Join Date: May 2006
Posts: 301
 

Default Re: How do I set an "initial value" to a custom text field?

look for the text field ( <input type="text" > ) and put value="http://" within it
__________________
x-cart pro 4.0.18
linux
www.fabric8d.com (currently undergoing construction)
Reply With Quote
  #4  
Old 12-27-2007, 08:31 AM
 
MattBF MattBF is offline
 

Member
  
Join Date: Dec 2007
Posts: 22
 

Default Re: How do I set an "initial value" to a custom text field?

Quote:
Originally Posted by inebriate
look for the text field ( <input type="text" > ) and put value="http://" within it

Which template do I edit to find this? I looked through a couple including products.tpl but don't see <input type="text" >
__________________
-Matt
Version 4.1.9
Reply With Quote
  #5  
Old 12-27-2007, 08:42 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: How do I set an "initial value" to a custom text field?

modules/product_options/customer_options.tpl
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
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:36 AM.

   

 
X-Cart forums © 2001-2020