Injected CSS has disappeared from the form.

  • Profile Image
    TropeGroup
    Asked on September 07, 2017 at 05:38 PM

    Hi There, we have a form that I'm pretty sure has a bunch of custom CSS on it but we can't view it in the editor. The custom CSS section is just blank. This form was originally created back in 2015 so I'm wondering if maybe there is an issue here? Can you take a look and see if we are checking in the right area for the custom CSS code?

  • Profile Image
    Welvin
    Answered on September 07, 2017 at 06:56 PM

    Yes, you are in the correct section. The custom CSS codes seem to be embedded in the source because changing the theme will take effect. But can you confirm you haven't lost the design in the form? If you have, I'll create a ticket about this. 

    Note that you can also revert the form to earlier version via the revision history section. You may consider trying that: https://www.jotform.com/help/294-How-to-view-form-revision-history

  • Profile Image
    TropeGroup
    Answered on September 07, 2017 at 07:02 PM

    Hi Welvin, we have not lost the design. Very odd issue here.

    This portion of the form is completely custom and is what I'm trying to change. The CSS for this embedded image is attached to the #cid_8 element.

    Thank you for your help.

  • Profile Image
    jonathan
    Answered on September 07, 2017 at 08:08 PM

    I cloned your form and I also see the issue.

     

    What I suggest you try also is to clone the form first (to have copy) and then use the Revision History tool to revert the form to previous version.

    I think the form properties like the CSS codes will be restored once you reverted to previous revision.

     

    Let us know how it goes.

     

  • Profile Image
    TropeGroup
    Answered on September 07, 2017 at 08:24 PM

    That did not work. The older versions of the form still do not show anything in the CSS. Is there any other place it could be hiding? I'm pretty sure we added it as custom CSS but it's odd that the custom visual style remains unchanged but the code is not there. Thoughts?

  • Profile Image
    jonathan
    Answered on September 07, 2017 at 08:45 PM

    Thank you for updating us on the results of using the Revision History tool. 

    It is highly possible there was a glitch in the Advanced Designer that causes the custom CSS codes not showing in the form anymore.

    But I also just found that you were using the previous version of the Form Builder.

     

    Can you please try also using the Form Builder V4. 

    Try if using the new UI will reveal the custom CSS codes.

    I will elevate this thread to our higher team support afterwards so that they can also investigate and identify the cause of issue.

     

  • Profile Image
    TropeGroup
    Answered on September 07, 2017 at 08:55 PM

    Hi Jonathan. As you can probably see in my original screenshot I started out using Version 4 of the builder. I switched it back to Version 3 to see if that made a difference but no luck. Just now I tried changing this setting back to Version 4 and the CSS code still does not show.

    Please elevate this thread to your higher support folks if possible. Thank you.

  • Profile Image
    Kevin_G
    Answered on September 07, 2017 at 09:42 PM

    I will forward this to our second level so our developers can take a closer look on the issue, we will let you know as soon as we receive any update about it. 

     

  • Profile Image
    TropeGroup
    Answered on September 11, 2017 at 06:32 PM

    Hi Kevin_G, has there been any update on this? We have some upcoming marketing activities that rely on this being fixed. Thanks for your help.

  • Profile Image
    Welvin
    Answered on September 11, 2017 at 07:02 PM

    I'm sorry, but we still don't have an update about the ticket. As soon as we have it, we will let you know here. Here are the CSS if this helps: https://www.pastiebin.com/59b715c16b90a

  • Profile Image
    TropeGroup
    Answered on September 12, 2017 at 01:54 PM

    Thanks for that code Welvin. Today was our deadline that we needed this by so I ended up just recreating the form so we could use it. The original code was crucial for this.

  • Profile Image
    Welvin
    Answered on September 12, 2017 at 01:58 PM

    You're welcome. Our apologies, but that's the only way we could help you get the codes right now. Part of the styles are on the top, and some are at the bottom. We will still keep you updated.