In V4, HTML in field labels is stripped, it is not in V3

  • Profile Image
    volunteeruwgc
    Asked on February 09, 2017 at 10:34 PM

    Ah, ok. That makes sense. To my knowledge the Hide Empty Fields options works as it should, but if I start manually editing that e-mail, won't it interfere with the code that hides or show each field?

    Either way, there are blocks of text that I want to show only if someone answered a question in that section.

    I think the problem could best be solved by allowing a html editor for each label, since I assume you have a way to block people from entering script into that editor.

  • Profile Image
    jonathan
    Answered on February 10, 2017 at 01:11 AM

    Either way, there are blocks of text that I want to show only if someone answered a question in that section

    You can achieve this using Show/Hide condition rules on your form. 

    I think the problem could best be solved by allowing a html editor for each label, since I assume you have a way to block people from entering script into that editor.

    The TEXT field and the TextArea field are the only fields that have their own tinymce editor on them.

    But as you have know already, even in TEXT field and TextArea field, injecting scripts are also not allowed. You can only use html tags in TEXT field, but not in TextArea field.

    I don't think field label names and sub labels needs to have its own editor. You can just use the properties of the field labels to edit text instead.

    If you want to format the style of the labels and sub labels, the CSS Editor of the Form Builder can be use for such need also.

    Let us know if there is more we can help you with.

  • Profile Image
    volunteeruwgc
    Answered on February 15, 2017 at 03:39 PM

    Ok, so can you walk me through the steps of having a text box with HTML formatting (so that i can have line breaks) only show up in the auto-reply e-mail if someone answers a question a certain way on the form? I have everything I need to make this work in 3.0, because I can add line breaks to the labels, but I can't make it work in 4.0. Thanks!

  • Profile Image
    david
    Answered on February 15, 2017 at 06:02 PM

    It seems it is not possible to add line breaks to field labels in V4.  If this is a solution that works for you, I would recommend switching back to V3 to add the line breaks and such to your field labels.

  • Profile Image
    volunteeruwgc
    Answered on February 16, 2017 at 09:13 AM

    I keep doing that and i keep getting switched to 4.0. I also worry that there will be a point when i can't use 3 anymore, and that's why i'm most concerned with, so I was trying to find a more sustainable solution. Thanks!

  • Profile Image
    david
    Answered on February 16, 2017 at 11:00 AM

    The builder choice gets stored in your cookies so you would need to clear your browsers cookie data to ensure the currently selected builder is loaded. 

    I will forward the HTML being stripped in V4 issue to our developers to have a look.  We will let you know as soon as we have any updates.

     

  • Profile Image
    david
    Answered on February 16, 2017 at 11:46 AM

    For security reasons, in V4 we will not be allowing HTML in field labels and this may eventually be removed from V3.  I would use V3 to edit for the time being.

  • Profile Image
    volunteeruwgc
    Answered on February 16, 2017 at 12:51 PM

    Yes, exactly. Thank you for understanding. This is why I am reaching out for an alternative solution.

  • Profile Image
    david
    Answered on February 16, 2017 at 02:07 PM

    It seems that each alternative I have tried in V4 will not allow for using HTML tags.  Using a default value in a conditionally shown Long Entry Text field would work, but HTML formatting cannot be used.  Unfortunately, if you would like conditionally shown text in emails, using V4 it will have to be without inline HTML formatting.