Need help with Global Options

I have noticed if a customer puts a http:// when putting their URL in an option, that the product will not add to the cart. Is there a way to fix this? and if not is there a way to show the http:// before the text box to help them from putting it in. (I have a comment under the box telling them not to use it…but for some reason they don't listen…grrr)



Thanks in advance for help!

Anyone have any ideas? Please :D

Try googling “rewrite www to non www” and you find a solution.



John

could you put http:// AFTER the option name so will be in front of the Option box?



John

[quote name=‘johnbol1’ timestamp=‘1315764086’ post=‘121449’]

could you put http:// AFTER the option name so will be in front of the Option box?



John

[/quote]



I tried that and there is a large space between them and it just doesn’t look right :( I don’t understand why it won’t take the http:// :(

Whats the option, text area…text box etc.



Just tried in one of my options text area and is working?



John

[quote name=‘johnbol1’ timestamp=‘1315848523’ post=‘121517’]

Whats the option, text area…text box etc.



Just tried in one of my options text area and is working?



John

[/quote]



Its a text area. I don’t have any modifications other than my template. And I have used hooks for that so that shouldn’t effect it. Its also doing it on my friends site, so it can’t just be me :(

[quote name=‘Tina’ timestamp=‘1315881144’ post=‘121548’]

Its a text area. I don’t have any modifications other than my template. And I have used hooks for that so that shouldn’t effect it. Its also doing it on my friends site, so it can’t just be me :(

[/quote]



Well I just found out my host disabled it to help with spammy links from the products. :lol: Now I just have to work on getting my customers to READ :D

[quote name=‘Tina’ timestamp=‘1315921906’ post=‘121581’]

Well I just found out my host disabled it to help with spammy links from the products. :lol: Now I just have to work on getting my customers to READ :D

[/quote]

Hi,

You may be able to use RegExp (Regular Expressions) to limit what goes into the field. I use them, but got mine to work with trial and more error.

In one of my fields I have: ^([0-9a-zA-Z!@#$%^&*()-_=+ ]){1,14}$. I think what this does is specify the characters that can be in the field and that the field length is 1-14 characters. The pop-up error message would say if they put in a // that unsupported characters were used or longer than 14 characters. There is a way to exclude certain characters characters such as / . Maybe exclude a string of characters (http://) If this may work for you, someone here in the forum who knows the syntax for regexp can post it here. I would like to know myself.

Bob