Is there a way of removing non ascii characters on a form posting to tumblr?

  • Profile Image
    flockfestivals
    Asked on August 02, 2012 at 06:48 AM

    I am using a form that is filled in by a user then posts to tumblr via email. This works fine until non-ascii characters are used or pasted into any of the fields. I can see the post in jotform but it isn't being posted to tumblr. Is there a workaround fix for this or way of validating that removes the non ascii characters?

  • Profile Image
    NeilVicente
    Answered on August 02, 2012 at 09:39 AM

    I am not sure if this would help but you can try prepending your form field tags (in the notification email that sends to tubmlr) with URLENCODE:.

    For example:

    {eventDetails} becomes {URLENCODE:eventDetails}

    Apply this change to all fields that have the potential to receive non-ascii characters.

    Let us know how it goes from here on out.

  • Profile Image
    flockfestivals
    Answered on August 06, 2012 at 04:51 AM

    The post came through but not as expected:

    It also didn't display the submission confirmation page.

  • Profile Image
    Mike_T
    Answered on August 06, 2012 at 04:53 PM

    Another thing that you may try is to change Notification Email from HTML to Plain Text format.

    Your Thank You Page is pointed to http://flock.to domain, and as far as I can see, something is wrong with that domain.

    If you need any further assistance, please let us know.

  • Profile Image
    flockfestivals
    Answered on September 03, 2012 at 07:15 AM

    Sorry for the late reply, have been using the option of javascript in the form to strip the non-ascii characters out of the form but this isn't a foolproof option unfortunately.

    Neither of the ideas above worked, is there any other options I can try?

  • Profile Image
    idarktech
    Answered on September 03, 2012 at 07:42 AM

    @flockfestivals,

    It seems to be working fine here, is this correct?

     Sorry for doing tests with your form. May we know if everything is working fine now? Please update us about this. Thank you!

  • Profile Image
    flockfestivals
    Answered on September 03, 2012 at 10:36 AM

    The form works and the form changes non-ascii characters but it doesn't work on all browsers so there are submissions in our jotform notifications that aren't showing up on the Flock website because the non-ascii characters are causing a problem and not allowing the submission to post to tumblr.

  • Profile Image
    flockfestivals
    Answered on September 03, 2012 at 10:54 AM

    I'm not looking for the form to be tested, I'm looking for a solution that if an ascii character gets through the form (which it has, when copying the text of some unposted submissions and zapping the gremlins in BB Edit, I can see that it is non-ascii character) it posts to tumblr. Basically a solution to why these email posts to tumblr aren't working with non-ascii characters? 

  • Profile Image
    fxr
    Answered on September 03, 2012 at 02:01 PM

    Can you try switching the format of your emails to Text Mode?

     

    If that doesnt work, you are probably are you own here in respect of getting those non-ascii characters removed from the email notifications. You could probably parse them somewhere before they get sent to Tumblr, but that a little beyond our expertise.