Welcome, Guest ( Customer Panel | Login )




 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-CART 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-CART 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-CART 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
0 Item(s)
$0.00