Is it no longer possible to bold (or italicize) or word a field option?

  • reviewhelper
    Asked on June 1, 2017 at 12:33 AM

    On my forms in the past I was able to just boldface a give word inside a text field or question. For example, on  https://www.reviewhelper.com/svcs-express.html  , under the question, "What service would you like a quote for?" I have five radio button options, and within each option there is words or phrases that our boldface so they stand out. I did it by using the tags.  I went to edit the second radio button, and then lost the boldface. I put the tags in, but it doesn't work. I still have the other boldface words. Why is this?  Or what am I doing wrong? Thanks in advance.  

  • Mike
    Replied on June 1, 2017 at 1:54 AM

    Most of the HTML injections will no longer work on the new forms due to security restrictions.

    However, it is still possible to style the field options in the following way.

    1) Wrap the option text in a <span> tag with a custom class.

    Here is an example where we created boldText and italicText classes:

    Respond to <span class="boldText">one (1)</span> review/ posting 
    Respond to a <span class="italicText">specific number</span> of multiple reviews/ postings

    Is it no longer possible to bold (or italicize) or word a field option? Image 1 Screenshot 30

    2) Then, add the CSS to the form to style those classes.

    .boldText {
    font-weight: bold;
    }
    .italicText {
    font-style: italic;
    }

    Is it no longer possible to bold (or italicize) or word a field option? Image 2 Screenshot 41

     

    If you need any further assistance, please let us know.

  • reviewhelper
    Replied on June 1, 2017 at 3:43 AM
    I actually tried that and it didn't work. I'll try it again.
    ...
  • candy
    Replied on June 1, 2017 at 3:54 AM

    Hello,

    As far as I see and cloned the form, some of the words have seen bold as seen below:

    Is it no longer possible to bold (or italicize) or word a field option? Image 1 Screenshot 20

     

    I have checked and seen that <b></b> tags are working on the checkbox options. And you have some CSS injections to make the words bold. Actually, they are working well.

    Please clear your web browser caches and view your website again.

    If the issue persists, let us know.

    Thank you.

  • reviewhelper
    Replied on June 1, 2017 at 6:43 PM
    Those are old injections. If I try to make a word edit, as I did to the
    second option, the code disappears. Even if I just click on one of the
    option lines without making an edit, as I just did with the first
    option, I lose the code (thus the first option no longer has any
    boldface in it). I tried to use CSS and insert inline but the system
    simply will not accept it. I've checked in 3 different browsers, and
    they all show the same.
    ...
  • Mike
    Replied on June 1, 2017 at 8:00 PM

    I have added the spans to your field.

    Is it no longer possible to bold (or italicize) or word a field option? Image 1 Screenshot 30

    The styling seems to be fine on your published form.

    Is it no longer possible to bold (or italicize) or word a field option? Image 2 Screenshot 41

    Please re-check this from your end.

  • reviewhelper
    Replied on June 2, 2017 at 2:44 PM
    I wonder what I'm doing wrong. I go in and add a tag, and it disappears
    the moment I click out of edit mode. Is there something I need to do,
    some button I need to press, to save my change? I even lost the span
    code in the third option when, in edit mode, I just "copied" the code
    from it to paste in option 2. I'm completely perplexed.
    ...
  • Mike
    Replied on June 2, 2017 at 4:03 PM

    Try adding the spans via the field Properties > Options.

    Is it no longer possible to bold (or italicize) or word a field option? Image 1 Screenshot 20

    The tags may be stripped when added directly via the form editing.

  • reviewhelper
    Replied on June 2, 2017 at 6:43 PM
    Aha! That does it. Thanks much.
    ...