This is a migrated thread and some comments may be shown as answers.

Isssue with form element

4 Answers 54 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Maria
Top achievements
Rank 1
Maria asked on 11 Apr 2008, 02:40 PM
Hi,

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
Maria

4 Answers, 1 is accepted

Sort by
0
George
Telerik team
answered on 14 Apr 2008, 02:28 PM
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,
George
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Joakim Lamkiewicz
Top achievements
Rank 1
answered on 29 Jan 2009, 12:51 PM
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
0
Shaista
Top achievements
Rank 1
answered on 23 Aug 2016, 05:19 AM
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.
0
Stanimir
Telerik team
answered on 23 Aug 2016, 06:40 AM
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.

Regards,
Stanimir
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.
Tags
WebParts for SharePoint
Asked by
Maria
Top achievements
Rank 1
Answers by
George
Telerik team
Joakim Lamkiewicz
Top achievements
Rank 1
Shaista
Top achievements
Rank 1
Stanimir
Telerik team
Share this question
or