X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   How do I set an "initial value" to a custom text field? (https://forum.x-cart.com/showthread.php?t=36339)

MattBF 12-23-2007 04:53 PM

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

MattBF 12-26-2007 12:49 PM

Re: How do I set an "initial value" to a custom text field?
 
So I guess this isnt possible? :oops:

inebriate 12-26-2007 02:21 PM

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

MattBF 12-27-2007 08:31 AM

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" >

balinor 12-27-2007 08:42 AM

Re: How do I set an "initial value" to a custom text field?
 
modules/product_options/customer_options.tpl


All times are GMT -8. The time now is 03:31 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.