html code for marquee is not working

  • bkp.success
    Asked on October 16, 2014 at 12:10 AM

    Hi;

    I am a user of jotform (free account) and I am fully satisfied with jotform but recently I have faced a problem that html code for marquee is not working. Previously I used this html code for scrolling (Moving) text and it also worked –

    <p><span style="font-family: verdana; font-size:10pt;"><span style="color:#000000;"><code><span style="font-family:Verdana; font-size:10pt;">&lt;marquee behavior="scroll" direction="up"scrollamount="1"onDISABLEDmouseover="this.stop()" onDISABLEDmouseout="this.start()"&gt;</span>&lt;/ code &gt;</code></span></span><span style="font-family: Verdana; font-size:10pt;"><span style="color:#000000;">

     

    <p> text here…………. 1 </p>

    <p> text here…………. 2 </p>

    <strong>&lt;/span&gt;</strong>&lt;/span&gt;&lt;/span&gt;<span style="font-family: Verdana; font-size:12pt;"><span style="color:#000000;"><strong><span style="font-family: Verdana;font-size:12pt;">&lt;/marquee&gt;</span></strong></span></span>&lt;/p&gt;</span></code></p></span></code>

    </p></span></code></span></span></p>

    But recently this is not working in my form. I know that you have another option “Ticker” which is also good but I want to use this html code for my form. Please help me and inform me why it is not working?

    Thank you.

     

  • Ashwin JotForm Support
    Replied on October 16, 2014 at 8:00 AM

    Hello bkp.success,

    I did check the code you want to add in the text field and found that it has JavaScript code.

    Please be noted that it was earlier possible to add script code in "Text" fields but for security reasons it has now been restricted. It is not possible to add any script code in text fields anymore.

    But it is possible to achieve your requirement by adding "Ticker" widget in your form. This will give you the same effect as marquee tag.

    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!

  • bkp.success
    Replied on October 18, 2014 at 12:12 AM

    OK... thanks ashwin_d for your reply.
    But I have a request to you and your team that this html code is very useful & it has different uses in form designing and user can change different parameter of this code according to their requirement, which is not possible by "Ticker" because html code for a text or image is not supported by this one and there are also another barriers. Its text front and text size depends on the parameter of form text front and text size, so please give us this facility for using "marquee" in JotForm if it is possible.

  • Ashwin JotForm Support
    Replied on October 18, 2014 at 1:51 AM

    Hello bkp.success,

    There is no restriction in adding any HTML code in the "Text" field. The issue is with the JavaScript code which you want to add. Please check the highlighted code below:

    <p><span style="font-family: verdana; font-size:10pt;"><span style="color:#000000;"><code><span style="font-family:Verdana; font-size:10pt;">&lt;marquee behavior="scroll" direction="up"scrollamount="1"onDISABLEDmouseover="this.stop()" onDISABLEDmouseout="this.start()"&gt;</span>&lt;/ code &gt;</code></span></span><span style="font-family: Verdana; font-size:10pt;"><span style="color:#000000;">

    This was disabled because of the security reasons. Unfortunately it is not possible to allow adding Javascript code again in the "Text" field.

    Thank you!