easyeman
Active member
I need some help...I have a page that allows a customer to type in a customer number and Purchase Order number, and I have it set to Autopostback for the CustNum so that when a customer types their 6 digit Customer Number in, it will pull up their billing information on that page and then they can click the next button to continue checking out with selecting shipping address, etc like a Web site normally has.
The problem I found is that it is case-sensitive so if a customer types in say "dec050" then it will pull up the Billing Information as "NONE" even though that is a good number. But when you type in "DEC050" with caps it will display it correctly.
However, the annoying thing that is happening is that I have set a CSS tag to cause the text to automatically capitalize (text-transform: uppercase) which seems easy enough. But for some odd reason that doesn't work, and while it makes the text all caps when typing in the textbox, it still doesn't pull up the billing information! Basically I can type in "dec050" with no caps and it will display "DEC050" but it won't pull it...HOWEVER when I actually have caps-lock on or hold shift to enter "DEC050" it works! It's killing me
This is just getting annoying for me, so does anyone have any suggestions as to how to fix this. I'm just trying to get the billing information to pull up in the area at the bottom when a customer enters a good Customer Number, and I want it set so that the customer can just type it in and it not be case-sensitive. Is there a way to fix it on input or is there some code I need to put in so it does it in the VB code? It seems simple but I'm lost and need help. I appreciate it!
The problem I found is that it is case-sensitive so if a customer types in say "dec050" then it will pull up the Billing Information as "NONE" even though that is a good number. But when you type in "DEC050" with caps it will display it correctly.
However, the annoying thing that is happening is that I have set a CSS tag to cause the text to automatically capitalize (text-transform: uppercase) which seems easy enough. But for some odd reason that doesn't work, and while it makes the text all caps when typing in the textbox, it still doesn't pull up the billing information! Basically I can type in "dec050" with no caps and it will display "DEC050" but it won't pull it...HOWEVER when I actually have caps-lock on or hold shift to enter "DEC050" it works! It's killing me
This is just getting annoying for me, so does anyone have any suggestions as to how to fix this. I'm just trying to get the billing information to pull up in the area at the bottom when a customer enters a good Customer Number, and I want it set so that the customer can just type it in and it not be case-sensitive. Is there a way to fix it on input or is there some code I need to put in so it does it in the VB code? It seems simple but I'm lost and need help. I appreciate it!