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
 VP-ASP 7.0 Questions
 Case Change
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

rrold1
Starting Member

48 Posts

Posted - March 17 2010 :  17:58:18  Show Profile  Reply with Quote
With the addition of Ajax, is there a way to clean up all lower case characters? We have a good number of folks who enter all of their info in lower case:

john p public
123 buena vista boca dr 1st fl
southern va 12345

We have to clean it up manually. I think that 20 to 30 percent do this or all upper case.

Any thoughts on adding this feature?

Thanks

rrold1
Starting Member

48 Posts

Posted - April 13 2010 :  13:49:30  Show Profile  Reply with Quote
Nobody else has this issue? If not, how are others handling it?

Thanks
Go to Top of Page

spinobject
Starting Member

USA
21 Posts

Posted - April 17 2010 :  14:53:13  Show Profile  Visit spinobject's Homepage  Reply with Quote
You could do something like this:

<%
function capit(thetext)
outtext=""
intext=(lcase(thetext))
do while instr(intext," ")>0
chunk = left(intext, instr(intext," "))
outtext=outtext & " " & left(ucase(chunk),1) & right(chunk,len(chunk)-1)
intext= right(intext,len(intext)-instr(intext," "))
loop
outtext=outtext & " " & left(ucase(intext),1) & right(intext,len(intext)-1)
capit=outtext
end function
%>

<%
gotit=capit("some is lower AND SOME IS CAP")
response.write gotit
%>
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000