Results 1 to 4 of 4

Thread: Force upper case in text fields

  1. #1

    Force upper case in text fields

    Anyone know how to force uppercase in text fields (product options)? I got it to force int he display on the product page by modifying the styles.css, but it still passes lower case to the cart. I need it to be uppercase all the way thru

  2. #2
    If using CSS, that will just change how it appears. It will not impact the data submitted. If you want to actually make it uppercase so that it carries through later, you would have to use javascript to convert it at some point.
    <div style="float:left;">
    --
    <a href="https://plus.google.com/+ScottWilliamsC7/" rel="me">Scott Williams</a>
    Technical Marketing Manager
    <b>Convergent7</b>
    </div>

  3. #3
    dammit, i suck at javascript. i'll post here for everyone once i muddle my way through it

  4. #4
    Add to any article on the onepagecheckout page.

    Code:
    <script type="text/javascript">
    jQuery(function(){
    	jQuery('input#btnSubmitOrder').click(function(){
    		jQuery('input[name^="Orders.Custom_Field"]').each(function(){
    			this.value = this.value.toUpperCase();
    		});
    	return true;
    	});
    });
    </script>

Similar Threads

  1. PSA: Robots.txt to Block Volusion Mobile Sites is Case-Sensitive
    By swilliams in forum Search Engine Optimization
    Replies: 0
    Last Post: 12-19-2013, 06:33 PM
  2. In case you missed it...
    By GGG in forum Volusion News
    Replies: 19
    Last Post: 03-15-2013, 09:23 AM
  3. Successful Online Merchants Case Studies
    By Jimmy in forum 3dcart News
    Replies: 16
    Last Post: 11-06-2012, 10:20 AM
  4. Show gift options during checkout - force on?
    By Phil in forum Setup & Configuration
    Replies: 5
    Last Post: 06-27-2012, 12:53 PM
  5. Force Secure Checkout
    By KKS in forum Setup & Configuration
    Replies: 12
    Last Post: 06-12-2012, 09:42 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •