How to fix misspelling in the form's code?

  • Profile Image
    dogood33
    Asked on October 06, 2016 at 03:27 PM

    Hello, there is a misspelling in the code of this form and I can't figure out how to fix it.

     

    Its the word Secound (should be second) found here:

    "replaceText":"secoundLine",

  • Profile Image
    Nik_C
    Answered on October 06, 2016 at 06:41 PM

    When I inspected your form's code I found out that it is in JavaScript and it is name of tag of the second field:

    So you can change them right in the code.

    If you have any further questions please let us know.

    Thank you!

  • Profile Image
    dogood33
    Answered on October 07, 2016 at 01:08 PM

    I see it in the code, how do I change that, I went to view it but couldn't change it.

     

  • Profile Image
    Kiran
    Answered on October 07, 2016 at 03:28 PM

    I see that the height of the Text fields on the form are set to zero and so the fields are not being displayed on the form. You can increase the height of these text fields from the CSS injected temporarily and then change the text as required and then set back the height to zero. Please see the screencast below:

    Hope this information helps! 

  • Profile Image
    dogood33
    Answered on October 17, 2016 at 03:51 PM

    I tried to follow this and messed it up completely.

     

  • Profile Image
    dogood33
    Answered on October 17, 2016 at 03:57 PM

    The label {firstLine} and {secondLine} are showing and won't change when you type in the field

  • Profile Image
    Kevin_G
    Answered on October 17, 2016 at 06:54 PM

    I have checked your form and I can see you have indeed corrected the misspelling now; however,, I can see what you're referring about the text not being updated once text is entered in the correct text box. 

    This is because the first line and second line text boxes names have changed, here are some screenshots of it: 

    You will need to either change the "Unique Name" or the name you've used in your Text fields, to get the option of the Unique Name you need to click on the field and then on the gear icon, once on the field settings go to the Advanced tab and click on the field details button. 

    However, I would suggest you to better copy the fields names and paste it in the Text field in order to avoid the same inconvenient you're currently experiencing. 

    Please do note that to get each Text field in the form builder you will need to temporary increase the fields height to 100px, as explained above by Kiran, you will notice that the form will not look the same as it currently looks, but after fixing the current issue with the data not passing to the text fields you need to set the height to 0 again so the form looks as you want. 

    Here is my cloned form of yours where I did the changes, please take a look: https://form.jotform.com/62906753304961 

    Hope this helps.