We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 16059
    • 22 Posts
    I created a CMP where I can view / create / update rows of my custom table in a update/create window (pop-up). I followed the tutorial "Developing an extra in MODX revolution" and almost everything is working fine. However, when I add HTML tags (like <strong>) to my description field (textarea, like the Doodle description) in the create or update window, the editor hangs when hitting "save". The value is saved in the database though. So, how can I fix this?

    Schema
    <field key="description" dbtype="text" phptype="string" null="false" default=""/>
    


    ModExt
    {
    xtype: 'textarea'
    ,fieldLabel: _('games.description')
    ,name: 'description'
    ,anchor: '100%'
    ,height: 170
    }
    


    Similar posts (not solved)
    https://forums.modx.com/thread/31544/there-is-javascript-error-during-saving-pupup-fields-which-contains-html-tags [ed. note: km88 last edited this post 13 years ago.]