Forum Replies Created
- AuthorPosts
spelorzi
ParticipantAwesome Ally! Thanks!, also thanks Josef777!
spelorzi
ParticipantThanks josef777. I’m still learning/reading about JavaScript (Reading Eloquent Javascript right now).
Now, with your code i get a popup to remove the link as soon as i type/copy it, but if i click okay i can keep going and try to submit.
Is there something i can add there so when the alert happens it also REMOVES http:// for the user? , and will this work if the user types multiple links?. If its not possible to remove ONLY http:// and leaves the rest. Then some sort of script to remove all the field i guess, but will really like to only remove http:// like i said.
Sorry if i ask for too much, i would really love to know how to do it myself, but i’m still in early learning of jscript :(.
Thanks for your help in advance.
S.
- This reply was modified 10 years, 11 months ago by
spelorzi.
spelorzi
ParticipantThe redirection code worked perfectly, thanks
On the http problem, you are right, it does have mod_Security on the host side. i prefer to leave it that way.
But, is there a way to detect if the user puts a link with HTTP:// and remove it when he clicks submit, or at least alert him when he types it on the field in the form?
Thanks Ally!
spelorzi
ParticipantActually fixed all this, thanks anyways!
- This reply was modified 10 years, 11 months ago by
- AuthorPosts