What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    [Fillable PDFs] Submissions with umlaut letters generate blank emails

    Asked by cuno on May 15, 2015 at 02:30 PM

    I'm new to JotForm and I am very excited that I can work with fillable PDF forms. I live and work in Switzerland and we use languages (german, french and italian) with a lot of "Umlaute" (e.g. ä,ö,ü, é, à).

    If there is a word or a name in a textfield, that contains an Umlaut and I use a PDF form, the Notification Email is empty. If I use this field in an Autoresponder Email the Umlaut isn't displayed correctly (M�ller instead of Müller). If I use an HTML-Form everything works fine. As I have to start a survey in three languages soon, I would be happy if you could fix that.

    Thanks.

    pdf forms blank emails fillable pdf
  • Profile Image
    JotForm Support

    Answered by Mike on May 15, 2015 at 04:26 PM

    Thank you for contacting us.

    I was able to reproduce the issue with the umlaut letters which affect email alerts when submitted through fillable PDF.

    A bug report ticket has been attached to this thread and escalated to our Development Team.

    We will get back to you once we have any updates.

  • Profile Image

    Answered by cuno on May 16, 2015 at 05:06 AM

    What a nice surprise to get an answer so quick to my question. I hope you can soon find a solution to this problem. 

    I deleted the link to the PDF form in my last post, because this form is just for testing purpose and it will be deleted from my server sooner or later.

    Many Thanks.

  • Profile Image
    JotForm Developer

    Answered by mustafa on May 28, 2015 at 04:37 AM

    Hi Cuno,

    I am putting sample PDF form i created and screenshot of both autoresponder and notification emails.We made a very small change and after that they all look good on my end. I think it is fixed now, can you please try again. You may need to re-create your PDF form

    Regards,

     

  • Profile Image

    Answered by cuno on May 28, 2015 at 06:06 AM

    Hi Mustafa

    unfortunately you didn't get the problem right. The problem is not with the formfield name but with the input.

    I use the following form to put my input to my form "Umfrage Concret dt - V1".
    (to submit, use the Button "Formular senden" on page 9)www.infowerkstatt.ch/concret/2015_Form_Selbst_d_v1e_jotform.pdf

    When I fill names without umlaut letters in the field "name" on page 4, everything works fine, but if I use a name with an umlaut letter (e.g. Müller) I have the following problems:

    - the Notifier mail is empty
    - the umlaut letter in the Autoresponder mail isn't displayed correctly

    - when I click on "Inbox" in my JotForm account, the name isn't displayed at all

    - fortunately the name is correctly saved in the database (under "Submissions")

    I think the problem has something to do with the caracter encoding of the different medias (e.g. mail, utf-8 etc.) and I hope you can fix this problem soon.

    Best regards
    Cuno

     

     

     

  • Profile Image
    JotForm Developer

    Answered by mustafa on May 28, 2015 at 06:30 AM

    Alright, thanks for the clarification. I am working on that.

  • Profile Image

    Answered by cuno on June 02, 2015 at 10:25 AM

    Hi Mustafa

    The problem still exists. When will it be fixed.
    Our survey will start next week.

    Ragards
    Cuno

     

  • Profile Image
    JotForm Developer

    Answered by mustafa on June 02, 2015 at 10:31 AM

    Hi Cuno,

    I looked for a solution all day and still working on that but unfortunately no progress yet. I will let you know when it happens

  • Profile Image

    Answered by cuno on June 03, 2015 at 06:35 AM

    Hi Mustafa

    yesterday I found out that the umlaut letter problem is more dangerous than I thought at first sight. I really hope that you can fix it soon.

    If I want to change or edit a submission entry (Edit Button), all the fields which contains umlaut letter aren't loaded in the input form. When I press the Send-Button, all these fields are overwritten by empty space. As my form contains about 40 textfields and as we use many umlaut letters, half of the fields will be deleted if I need to edit just one input in one field.

    To help you find a solution, I made a form with just a couple of fields: "Umlaut Letter Problem Test"
    And here's the PDF-form I made with "Create PDF-Form". All these components are JotForm made.
    - www.infowerkstatt.ch/concret/Umlaut_Letter_Problem_Test.pdf

     

  • Profile Image

    Answered by Carina on June 03, 2015 at 10:44 AM

    Thank you for providing additional information. I will update the ticket so that Mustafa will consider this new information.

    As soon as we have more details we'll let you know.

  • Profile Image
    JotForm Developer

    Answered by mustafa on June 03, 2015 at 11:14 AM

    Hi Cuno,

    Great news i made it! Tested it with some forms and could obtain umlaut values successfully in emails and inbox. You need re-create your PDF form, let me know if you face any problem. 

     

  • Profile Image

    Answered by cuno on June 03, 2015 at 11:43 AM

    Hi Mustafa

    Sounds and works great.

    As I use my own hand-made PDF forms (www.jotform.com/answers/535917), I should know the difference between the old (not-working) and the new (working) PDF forms. I really wonder why it works now. What have you or another developer changed? Is there a special pdf-setting or a new hidden field? Please don't hesitate to provide me with technical information: I'm not a PDF, HTML or PHP novice.I really should be able to adapt my own forms.

    Thank you for effort and looking forward to your answer

    Kind regards
    Cuno

  • Profile Image
    JotForm Developer

    Answered by mustafa on June 03, 2015 at 12:34 PM

    My pleasure :)

    We are using TCPDF (http://www.tcpdf.org/) to create PDF forms and so far submitting forms as described in docs. However even if i set font and/or character encoding it simply cannot send non-unicode chars, (and nothing in google) incoming submission only include weird characters. I tried to change many config but nothing worked.

    To make it work i cancelled default submit of library and made submission with javascript. There is a detailed documentation about JS here: http://help.adobe.com/en_US/acrobat/acrobat_dc_sdk/2015/HTMLHelp/#t=Acro12_MasterBook%2FJS_API_AcroJSPreface%2FJS_API_AcroJSPreface.htm

    Below function is doing the submit job, trick is setting cSubmitAs to HTML

    this.submitForm({cURL: encodeURI("$submitUrl"), 

    cSubmitAs:"HTML", 

    cCharSet:"utf-8", 

    aFields:postFields

    });

    I hope it helps you a bit, thanks for asking.

     

     

  • Profile Image

    Answered by cuno on June 04, 2015 at 09:07 AM

    Hello Mustafa

    You saved my day. Thanks to your last post I could copy your JS-Code out of the generated PDF form to my own PDF forms, adapted them a litte bit and IT WORKS!

    All I can say: PROBLEM SOLVED!!

    Thanks a lot for your help.

    Best regards from sunny Berne, Switzerland
    Cuno

     

    PS:
    If others need it, here's the code that did the job:

    var $FormID = 999999999; // Put your own Form-ID!

    function FormSubmit() {
        var postFields = new Array();
        for(var j=0; j<numFields; j++) {
            var fn = getNthFieldName(j);
            var f = this.getField(fn);
            if(f!==null) {
                postFields.push(fn);
                f.value = encodeURI(f.value);
            }
        }
        this.submitForm({cURL: encodeURI("http://submit.jotform.com/submit/"+$FormID),
            cSubmitAs:"HTML",
            cCharSet:"utf-8",
            aFields:postFields
        });
        for(var i=0;i<postFields.length;i++){
            var f=getField(postFields[i]);
            f.value=decodeURI(f.value);
        }
    }

     

     

  • Profile Image
    JotForm Developer

    Answered by mustafa on June 04, 2015 at 09:48 AM

    Hi Cuno,

    I am really happy to hear that, just one thing encodeURI(f.value) function raises an error when field is combobox and filled. This is what i wrote to prevent;

    if(f!==null) {

    postFields.push(fn);

    if(f.type !== "combobox") {

    f.value = encodeURI(f.valueAsString);

    }

     

    }

    Thanks for your participation.

    Best regards.

  • Profile Image

    Answered by cuno on June 04, 2015 at 10:13 AM

    Hi Mustafa

    I have combobox but I did't get any errors.When do you get these errors?

    Do you use "valueAsString" as the normal encoding except with combobox or do I misunderstand your code?

    if(f.type !== "combobox") == > if not type combox. 

    Thanks for anwerting this hopefully last question.

    Kind regards.