I need help in trying to figure out how to do a character count without the spaces being counted. Then, I would like to multiply the response by $0.50 and add that amount to the total price. I have a website where someone can add personalization to a blanket. Currently I have it set up in manual, but I am having trouble with orders being processed with personalization, but without adding the additional cost. Here is a link to my webpage: http://photo2blanket.com/color.html
I have searched and tried many different codes without success. My other option would be to return a false statement in case the customer added some text in the personalization, but didn't add the additional cost for it.