Changing text field to WYSIWYG

sbarre5's Avatar


07 Apr, 2016 01:16 PM

My user's requirements have changed and they now need formatting, linking, etc in what has been developed as a text field. How can I change a text-field in a data definition to a WYSIWYG without losing all of their existing data?

  1. Support Staff 1 Posted by Tim on 07 Apr, 2016 01:47 PM

    Tim's Avatar


    As long as you keep the same identifier for the WYSIWYG field in the Data Definition, the data should remain as is. The easiest way to do this would be to go into the XML configuration of the Data Definition in question, locate the <text> element in question, then add the attribute/value pair wysiwyg="true" to it.

    For example:

    • I have a text field whose identifier is textbox and label is Enter Text Here
    • If I click the XML pane in the Data Definition, this text box looks like:
      <text identifier="textbox" label="Enter Text Here"/>
    • I can change this to:
      <text identifier="textbox" label="Enter Text Here" wysiwyg="true"/>
      and since the identifier is the same, any data that was previously in this field will be mapped to the 'new' WYSIWYG field.

    Let me know if that helps! I'll be happy to answer any additional questions.


  2. Tim closed this discussion on 27 Apr, 2016 08:34 PM.

Discussions are closed to public comments.
If you need help with Cascade CMS please start a new discussion.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac


26 Aug, 2016 01:19 PM
25 Aug, 2016 03:02 PM
25 Aug, 2016 12:50 PM
24 Aug, 2016 08:43 PM
24 Aug, 2016 07:20 PM
21 Aug, 2016 01:20 PM