Problem with Text Box

  • AtTheCorner
    Asked 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

    Jotform Thread 881794 Screenshot
  • BJoanna
    Replied on July 13, 2016 at 2: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? 

  • AtTheCorner
    Replied on July 13, 2016 at 2: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

  • Mike_G JotForm Support
    Replied on July 13, 2016 at 3: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.

    Problem with Text Box Image 1 Screenshot 30

    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.

    Problem with Text Box Image 2 Screenshot 41

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

  • AtTheCorner
    Replied on July 13, 2016 at 4: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 ?

  • Mike_G JotForm Support
    Replied on July 13, 2016 at 4:43 PM

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

    Problem with Text Box Image 1 Screenshot 20

    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.

  • AtTheCorner
    Replied on July 13, 2016 at 5: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 :

    Problem with Text Box Image 1 Screenshot 70

     

    Preview of the French version :Problem with Text Box Image 2 Screenshot 81

    Preview of the english version :

     

    Problem with Text Box Image 3 Screenshot 92

    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 :

    Problem with Text Box Image 4 Screenshot 103

    Preview of the French version :

    Problem with Text Box Image 5 Screenshot 114

    Preview of the english version :

    Problem with Text Box Image 6 Screenshot 125

     

    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).

  • Mike_G JotForm Support
    Replied on July 13, 2016 at 7: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: 

    Problem with Text Box Image 1 Screenshot 60

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

    Problem with Text Box Image 2 Screenshot 71

    Here are the two conditions:

    Problem with Text Box Image 3 Screenshot 82

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

    Problem with Text Box Image 4 Screenshot 93

    and in the translation:

    Problem with Text Box Image 5 Screenshot 104

    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.

  • AtTheCorner
    Replied on July 14, 2016 at 3:34 AM

    Thank you for your answer. Is very clear