Why my colon disappeared when I put a bitly link in my Twitter button ?

  • Profile Image
    Asked on May 08, 2014 at 08:15 AM



    I put a twitter sharing button in my auto-responder email. In my twitter text, there is a Bitly link to a page of our website. Unfortunately, the colon in the link after http disappears in JotForm and the link is no valid anymore.

    Here is my JotForm form : http://form.jotformpro.com/form/40994002529960

    If you sign in, you receive an auto responder mail with the twitter button at the bottom. The twitter link is : "https://twitter.com/intent/tweet?text=Fa%C3%AEtes%20comme%20moi%2C%20abonnez%20vous%20%C3%A0%20la%20newsletter%20@TidyBooksFrance%20et%20recevez%20concours%2C%20id%C3%A9es%20de%20lecture%20et%2010%25%20de%20remise%20http//bit.ly/QWzQOX&source=webclienttarget"

    I still have 2 spaces left but impossible to add ":" in the bitly link which should be http://bit.ly/QWzQOX

    Do you know how to solve this problem and where it comes from?

    Hope it's clear enough

    Thanks in advance

  • Profile Image
    Answered on May 08, 2014 at 10:52 AM


    Since you are using URL parameters to populate the text for your tweet in the text area in twitter, it is most likely that the colon is not accepted and cannot be read, hence it is removed. That happens when the values used in the URL parameters are not compatible, so for those cases you have to use URL-Encoding to display the Character you wish.

    So, in the link of your Twitter button on your Autoresponder use %3A instead of the colon that keeps disappearing. So, it must be this way: http%3A//bit.ly/QWzQOX

    Then it will work correctly in the Tweet. I did the change in a cloned version of your form and the result was this one:

    I hope this helps. Please inform us if you need further assistance with this query.


  • Profile Image
    Answered on May 08, 2014 at 11:00 AM


    Thank you very much, it works perfectly !

    I am surprised as I set up that twitter button severval times in the past and never had to encode a colon character in a link.

    Thanks again for your help !