View Single Post
  #4  
Old 05-29-2004, 05:23 PM
  BCSE's Avatar 
BCSE BCSE is offline
 

X-Guru
  
Join Date: Apr 2003
Location: Ohio - bcsengineering.com
Posts: 3,091
 

Default

This line in each of the <input> tags is what is making the same text show up in each of the inputs.

Quote:
value="{$smarty.get.substring|escape}"

You can remove this completely from all 4 as it's not necessary, but just a convenience. Or just leave it in 1 of them, although that doesn't really make sense either.

If you had a different "name" for each of the <input> tags, then you could use this feature and just change it to be
Quote:
value="{$smarty.get.name1|escape}"
value="{$smarty.get.name2|escape}"
value="{$smarty.get.name3|escape}"
value="{$smarty.get.name4|escape}"

to have it populate each of the text boxes with the previous values. If you wanted it to do it like this, you'd have to change the php code to reflect these changes.

Hope that wasn't too much information or too confusing. The simplest way to fix it is to remove
Quote:
value="{$smarty.get.substring|escape}"
from each of the 4 input tags.

Hope that helps.

Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002!

We support X-cart versions 3.x through 5.x!

Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more!


Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com

Please E-Mail us for questions/support!
Reply With Quote