View Single Post
  #10  
Old 01-13-2013, 09:22 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: Make Custom Text Field Required???

All that is wrong is the "name &&" bit. Try this code:
Code:
var name = $('#po8').val(); if(name == '' || name == null) { alert("Please enter the name of the client in the highlight video!"); return false; }
]

I'll update my example above so as not to confuse people who don't read the whole thread..
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote