HTML codes in the field labels are no longer being rendered correctly

  • Profile Image
    redearthspirit
    Asked on December 29, 2016 at 12:52 AM

    The not so good news is that I noticed a new issue, possibly introduced as a result of the fix. 

    The label for the file upload field across all my forms is no longer being rendered correctly but rather the raw HTML is printed instead (see screenshot below). 

    This was rendering fine before and none of the forms have been edited in the meantime. 

     

    Please let me know. Thank you again!


  • Profile Image
    Welvin
    Answered on December 29, 2016 at 01:09 AM

    We've made an update with regards to our security and this was part of the restrictions in the HTML field. I would suggest editing the HTML field and remove the extra elements and use our default formatting tool in the field.

    What's the purpose of adding the class by the way? Let us know and we'll try to give you a workaround. 

  • Profile Image
    redearthspirit
    Answered on December 29, 2016 at 10:13 AM

    Hi Welvin, 

    My goal was to try to insert some text above the "Upload a File" button. The button itself only allows text below it. So instead, I removed any label associated with the file upload field, and inserted an HTML element above the button and put my desired text there.

     

    The classes on the HTML heading are copied from what is present by default on the other labels, because I wanted this label to look exactly the same and to inherit the settings of the other labels as well.

     

    How would you suggest to achieve this with the new restrictions on the HTML field?

     

    Thanks again for the great support.  

     

  • Profile Image
    Welvin
    Answered on December 29, 2016 at 11:04 AM

    Yes, that is possible and I did it for you. Please check now. You just need to format the text using the tools in the text field:

  • Profile Image
    redearthspirit
    Answered on December 29, 2016 at 03:46 PM

    Hi Welvin - great! Everything is good now. Thanks again.