I need to create a custom field type in WFFM to accept rich text, and provide Sitecore's WYSIWYG editor for the user on the front-end. The form will be used to create a content item, and the rich text field will map to a field on that item's template. Has anyone done this? Can the Telerik editor be leveraged for this?
Web Forms For Marketers (WFFM) Rich Text Field Type
535 views Asked by Jason Davidson At
1
There are 1 answers
Related Questions in TELERIK
- Can i move items from a custom list to another list after a specific retention?
- weblogic Ws-security policy vs oasis policy
- Your implementation of PreferenceActivity is vulnerable to fragment injection
- Granting Lync Polcies Via AD Group Member using PowerShell
- Amazon AWS S3 IAM Policy based on namespace or tag
- Reset quota is not working as expected in apigee
- Pundit Policy Scope for Has Many Through Relationship
- invalid according to policy policy condition failed starts-with $content-type ""
- What does S3 Policy Version mean?
- Facebook Log Out required for Unity apps?
Related Questions in SITECORE
- Can i move items from a custom list to another list after a specific retention?
- weblogic Ws-security policy vs oasis policy
- Your implementation of PreferenceActivity is vulnerable to fragment injection
- Granting Lync Polcies Via AD Group Member using PowerShell
- Amazon AWS S3 IAM Policy based on namespace or tag
- Reset quota is not working as expected in apigee
- Pundit Policy Scope for Has Many Through Relationship
- invalid according to policy policy condition failed starts-with $content-type ""
- What does S3 Policy Version mean?
- Facebook Log Out required for Unity apps?
Related Questions in RICH-TEXT-EDITOR
- Can i move items from a custom list to another list after a specific retention?
- weblogic Ws-security policy vs oasis policy
- Your implementation of PreferenceActivity is vulnerable to fragment injection
- Granting Lync Polcies Via AD Group Member using PowerShell
- Amazon AWS S3 IAM Policy based on namespace or tag
- Reset quota is not working as expected in apigee
- Pundit Policy Scope for Has Many Through Relationship
- invalid according to policy policy condition failed starts-with $content-type ""
- What does S3 Policy Version mean?
- Facebook Log Out required for Unity apps?
Related Questions in WEB-FORMS-FOR-MARKETERS
- Can i move items from a custom list to another list after a specific retention?
- weblogic Ws-security policy vs oasis policy
- Your implementation of PreferenceActivity is vulnerable to fragment injection
- Granting Lync Polcies Via AD Group Member using PowerShell
- Amazon AWS S3 IAM Policy based on namespace or tag
- Reset quota is not working as expected in apigee
- Pundit Policy Scope for Has Many Through Relationship
- invalid according to policy policy condition failed starts-with $content-type ""
- What does S3 Policy Version mean?
- Facebook Log Out required for Unity apps?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
If you need a simple WYSISYG editor on the front-end, then you can use any of the numerous open source editors available on the web. I would be wary of using the Telerik editor included in Sitecore unless you have the relevant licenses.
If you use a
Multi-Line Text
field on the form, Sitecore outputs a regular<textarea>
on the front-end. I suggest you add a custom css class under/sitecore/system/Modules/Web Forms for Marketers/Settings/Meta data/Css Classes
and select that from the CSS Class drop on the left when you select your field in the form designer, in order to allow you to target specific fields to be WYSIYG'd.Add a reference to the javascript file and then instantiate your editor, passing in the css class defined above to only target those specific textareas.
If you are using ASP.Net MVC and CKEditor (for example):
/Views/Form/Index.cshtml
. You may need to add this to your Visual Studio from the WFFM module package.<head>
:<script src="/path-to/ckeditor/ckeditor.js"></script>
Index.cshtml
(or just before your closing</body>
tag), instantiate your editor, targeting only those<textarea>
with specific css classese.g.
Be sure you sanitize your incoming data, you don't want a case of bobby tables.