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

    Problem with Text Box

    Asked by AtTheCorner on July 13, 2016 at 12:44 PM

    Hi,

    I would like to take the content of the Text Box called "Horaires du partenaire Anglais" and put it in the HTML Text Box called "Récapitulatif". However, I don't manage to do it (see picture: the picture is taken by using the english translation of the form). I have tried to create a new Text Box and to create a clone form of this one, it doesn't work either. Could you help me please ?

    Sincerely,

    Pierre-Julien

    Page URL:
    https://www.jotformpro.com/form/61944488053968?preview=true

    Screenshot
    problem translation picture create content
  • Profile Image
    JotForm Support

    Answered by BJoanna on July 13, 2016 at 02:22 PM

    If I understood you correctly, you want to display value of the field {horaires} when French language is selected and value of the field {horairesA} when English is selected. 

    Can you please try to translate again "Récapitulatif" part of your form and replace {horairesA} value with new one. It seems that that value is not resolved correctly. Considering that text in both fields is the same can you also add value of the field {horaires} in English  translation? 

  • Profile Image

    Answered by AtTheCorner on July 13, 2016 at 02:28 PM

    Yes you did understand correctly.

    Right now, {horaires} and {horairesA} are the same but there are not going to stay the same.

    I tried to change {horairesA} in {essai} but it didn't work. I already tried to delete this Text Box and to create a new one, but it didn't solve the problem either

  • Profile Image
    JotForm Support

    Answered by Mike_G on July 13, 2016 at 03:36 PM

    I have cloned your form and I have changed the unique name for the field, "Horaires du partenaire Anglais" , on the  "Récapitulatif" text field to "essai" on the clone form.

    I preview the clone form and it seems to be working fine.

    Note: I have to remove all the "required" properties so it's easy to navigate.

    Here's the link to the clone version of the form: https://www.jotformpro.com/form/61945644312961

  • Profile Image

    Answered by AtTheCorner on July 13, 2016 at 04:01 PM

    Actually, it seems to work in the translation version only if the content of the text box is used in the initial HTML. Could you check this out please ?

  • Profile Image
    JotForm Support

    Answered by Mike_G on July 13, 2016 at 04:43 PM

    I have checked your form and it seems to be working fine on my end already. 

    However, I'm sorry but I'm afraid I'm not sure what you mean. Can you help us by giving us more information, please?

    We will wait for your response. Thank you.

  • Profile Image

    Answered by AtTheCorner on July 13, 2016 at 05:05 PM

    In this form https://www.jotformpro.com/form/61944488053968?preview=true, I use 2 different text boxes in the french and in the english version. The english one doesn't work

     

    Form :

     

    Preview of the French version :

    Preview of the english version :

     

    In this form https://www.jotformpro.com/form/61946813902965?preview=true, I use also 2 different text boxes. But in order to make it work, I had to use the text box for the english version in the french version (I have simply hided it by setting the text color in white).

    Form :

    Preview of the French version :

    Preview of the english version :

     

    Conclusion :

    In order to be able to use the content of a text box in a translated HTML box, I have to use the content of the same text box in the orignal HTML box (french).

  • Profile Image
    JotForm Support

    Answered by Mike_G on July 13, 2016 at 07:04 PM

    Thank you for clarifying your concern. To my understanding, you're trying to pass a value to the Text(HTML) field from two different fields depending on the current language of the form, is that correct? I also understand that these two fields may have different values.

    With regards to your conclusion, it seems that the Text(HTML) field is not recognizing different field names during translation.

     

    I have a suggestion that you might want to consider. 

    You can add another field that will hold the value two different fields depending on the current language of the form. Meaning, you will create a condition that if the current language is "English" then pass the value of "Times Anglais" to that new field but if the current language is "French' then the value of "Horaires du partenaire" is the one that's going to be passed. This new field is the one that you will use in the Text(HTML) field and will remain hidden in the form also. Since you will only have one field getting the value of two different fields  depending on the current language, you will only now use that new field in the translation.

    Here's how it's done: 

    After creating the condition for the "French" language create the same condition this time for the "English" language.

    Here are the two conditions:

    Then, use the field name of the new field in the Text(HTML):

    and in the translation:

    Here's a clone version of your form that I have used for testing: 

    https://www.jotformpro.com/form/61947311793967

    I hope this helps. Please do get back to us and let us know if you have any questions regarding the instruction given above. Thank you.

  • Profile Image

    Answered by AtTheCorner on July 14, 2016 at 03:34 AM

    Thank you for your answer. Is very clear