VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-ASP Shopping Cart Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 Customization
 TEXTAREA for "User Supplied Text"
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

cagalj
Starting Member

3 Posts

Posted - January 21 2003 :  13:39:46  Show Profile  Reply with Quote
I changed the "User Supplied Text" feature to TEXTAREA. Therefor I changed in shopproductfeatures.asp the TAG "input" to "textarea".
This does well.
Now, when I write text with carrigereturns i want parse the carriagereturns with <br>. The function is:

function addBr( myString )
addBr = Replace(myString, CHR(10), "<BR>")
End function.

But - where can i find the string "User Supplied Text"?

Best Regards
Velibor




Edited by - cagalj on January 21 2003 13:41:27

Superal
VP-ASP Expert

Canada
542 Posts

Posted - January 21 2003 :  15:11:46  Show Profile  Reply with Quote
The text refers to the input by the customer as you have customized. From the developers guide:

5.16.8 User Supplied Text
FeatureType=UserText
It is possible to allow the customer to enter their own details. The caption for the feature is the FeatureCaption field. The featurename field is unused.

For compatibility with previous versions you can also enter a caption in the "AllowUserInput" in the products table record. The caption will display above the text input box.

Look in the product and prodfeatures tables for these fields.
I cannot find "User Supplied Text" anywhere. But I think what you look for is in Sub GenerateUserText.


Go to Top of Page

rodney
VP-ASP New User

USA
75 Posts

Posted - January 22 2003 :  04:36:29  Show Profile  Reply with Quote
Have you checked the language files



quote:

I changed the "User Supplied Text" feature to TEXTAREA. Therefor I changed in shopproductfeatures.asp the TAG "input" to "textarea".
This does well.
Now, when I write text with carrigereturns i want parse the carriagereturns with <br>. The function is:

function addBr( myString )
addBr = Replace(myString, CHR(10), "<BR>")
End function.

But - where can i find the string "User Supplied Text"?

Best Regards
Velibor




Edited by - cagalj on January 21 2003 13:41:27



-Rodney
Go to Top of Page

Superal
VP-ASP Expert

Canada
542 Posts

Posted - January 22 2003 :  11:43:01  Show Profile  Reply with Quote
No wonder I couldn't find it, had case sensitive turned on in my editor. Too long days!
Thanks Rodney.

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000