clickstrum Posted October 26, 2013 Share Posted October 26, 2013 I'm working on a custom module and have only one field which is a text area. I want to be able to add one entry per line. When I save changes, however, the line break html tags, i.e. "<br/>", is saved with it. Here is the textarea in my modulename_config(): "fields" => array( "mylist" => array ("FriendlyName" => "My List", "Type" => "textarea", "Rows" => "30", "Cols" => "50", "Description" => "List of items, one per line", "Default" => "", ), )); Screenshot: Can I have my custom module strip out html before saving? Is there a custom "save" function to use in mymodulename.php? I can't find any docs on supported functions that can be used on the admin side. I've used the addonexample module to get started, but it only shows my activate, deactivate, output, config, and upgrade. Someone point me to some docs? I see some docs for hooks, but not admin functions. Thanks! 0 Quote Link to comment Share on other sites More sharing options...
webRulon Posted November 18, 2013 Share Posted November 18, 2013 Anyone have any ideas about this? 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.