Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 VP-ASP 7.0 Questions
 Formatting - Customising Product Features
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

richardsmith
Starting Member

11 Posts

Posted - June 23 2011 :  03:49:43  Show Profile  Reply with Quote
Hi
I am adding features to a product that allows a customer to type into the fields.

Is there a way I can format the Textarea and Usertext boxes to:

1/ Be wider on screen?

2/ Have a limit to the number of characters entered in the Usertext box?

3/ Place them in another section of the template?

I have tried moving them, ensuring that any $ are at the start of the line and that there are correctly formatted but this corrupts the layout.

I have even tried changing the CSS for them (.productsummary .productoptions from text-align: left; to right) but this does not change the position/width.

diegomilito
VP-CART Expert

Argentina
779 Posts

Posted - June 23 2011 :  21:41:03  Show Profile  Reply with Quote
richard smith, i pay attention to your problem and trying to help you my friend.

1) go to open shopproductfeaturesgenerate.asp and find a code with :

htmlwrite "<input size=""20"" name=""" & valuename & """ value=" & chr(34) & memUsertext & chr(34) & " class='txtfield' />"

trying to change that line to :

htmlwrite "<input size=""50"" name=""" & valuename & """ value=" & chr(34) & memUsertext & chr(34) & " class='txtfield' />"

depend what you like with the size.

2) put a maxlength attribute into input field above.

htmlwrite "<input size=""50"" name=""" & valuename & """ value=" & chr(34) & memUsertext & chr(34) & " class='txtfield' maxlength=""100"" />"

if you want to limite to 100 character for the input.

3) Im not quite understand what is your mean to put another section ? which template ?

Diego
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00