Isssue with form element

5 posts, 0 answers
  1. Maria
    Maria avatar
    13 posts
    Member since:
    Sep 2005

    Posted 11 Apr 2008 Link to this post


    We are using the full featured RAD Editor for MOSS for one of our clients who want to use "Form element". It seems to work fine, except that it does not save everything. We can add a text input and then add a name attribut to it, but when we check in the page the attribute is removed (and we need to be able to add the name attribute). I think it might be Sharepoint who validates the html code and removes it somehow(?), but how should we go around this? Is "Form element" not suppose to work in RAD editor for MOSS (even though you can add it)?

    For now we have added a javascript, setting the name attribute to the same as the id attribute (that we can save with the page). But this does not work for radiobuttons.

    Best regards
  2. George
    George avatar
    859 posts

    Posted 14 Apr 2008 Link to this post

    Hi Maria,

    Indeed, there is a Sharepoint content filter that goes through the HTML and strips some elements and attributes - like the name attribute. Currently, the only way to achieve the desired behavior is via JavaScript and we cannot provide other workaround for this problem because, the filter is activated after the editor's content is submitted.

    I hope this helps.

    Best regards,
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Joakim Lamkiewicz
    Joakim Lamkiewicz avatar
    3 posts
    Member since:
    Nov 2008

    Posted 29 Jan 2009 Link to this post

    Hi Maria,

    We have the same issue. Have you found a solution to the problem or is scripting the only workaround for this issue? If scripting is the only way to go then where did you append your script so that you got it to execute when needed i.e. when publishing or saving a draft?

    A solution for the radio button issue could be to use a naming standard like [RadioGroupName] + [Separator] + [ButtonName] (example Group1?ButtonA). In the JavaScript you can then decide if it is a radiogroup and only assign the characters before the separator to the name attribute. I know it's not pretty but it should work.

    Best Regard
    Joakim Lamkiewicz
  4. Shaista
    Shaista avatar
    3 posts
    Member since:
    Aug 2008

    Posted 23 Aug 2016 Link to this post

    We are using Telerik version "2013..3.1114.35" . We have CMS type of application. And facing issue with form tag. When form tag placed under radEditor. Any alternative to this problem. Is this issue resolved in latest version. Need help on this as early as possible.
  5. Stanimir
    Stanimir avatar
    1654 posts

    Posted 23 Aug 2016 Link to this post

    Hi Shaista,

    This thread is regarding RadEditor MOSS (control not supported since 2012) and a problem caused by SharePoint server side content filters. If this is not your environment, could you please open an other thread where you explain you problem with some additional details? For example provide an HTML code sample generated by RadEditor explaining what exactly is wrong with it  and what is the expected control's HTML output .

    Thank you.

    Telerik by Progress
    Learn how the Telerik controls can be integrated in SharePoint 2007/2010 from this resource. To watch them in action, explore our online SharePoint 2010 and SharePoint 2007 demo sites.
Back to Top