Master Posted March 14, 2014 Report Share Posted March 14, 2014 I want to have a rich text area for my text 64000 fields Quote Link to comment Share on other sites More sharing options...
1 JolliBeng Posted October 31, 2018 Report Share Posted October 31, 2018 Hello Master, You can enable the rich text editing toolbar on the Advanced tab of your Text Area field. -JolliBeng MVPofInnovation 1 Quote Link to comment Share on other sites More sharing options...
0 MayMusic Posted March 14, 2014 Report Share Posted March 14, 2014 1. Your table has a text 64k field called "html_text". Your DP includes the field and form element is text area.2. Place the following code in the DP header: <link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.5.2/build/assets/skins/sam/skin.css"> <!-- Utility Dependencies --> <script type="text/javascript" src="http://yui.yahooapis.com/2.5.2/build/yahoo-dom-event/yahoo-dom-event.js"></script> <script type="text/javascript" src="http://yui.yahooapis.com/2.5.2/build/element/element-beta-min.js"></script> <!-- Needed for Menus, Buttons and Overlays used in the Toolbar --> <script src="http://yui.yahooapis.com/2.5.2/build/container/container_core-min.js"></script> <script src="http://yui.yahooapis.com/2.5.2/build/menu/menu-min.js"></script> <script src="http://yui.yahooapis.com/2.5.2/build/button/button-min.js"></script> <!-- Source file for Rich Text Editor--> <script src="http://yui.yahooapis.com/2.5.2/build/editor/editor-beta-min.js"></script> 3. Place the following code in the DP footer: <script> window.onload = function() { var myEditor = new YAHOO.widget.Editor('InsertRecordhtml_text', { height: '400px', width: '600px', dompath: true, animate: true }); myEditor.render(); document.getElementById("caspioform").onsubmit = function() { myEditor.saveHTML(); //var myHTML = myEditor.get('element').value; } } </script> 4. Your webpage should have <body class="yui-skin-sam">5. The 'InsertRecordhtml_text' should be updated with your field name reference.----- On Update page and Details Page -----Repeat Steps 1 through 4.on Step 5 replace 'InsertRecordhtml_text' with 'EditRecordhtml_text' where the html_text is your field name.Now if you wish to dispaly data on your DataPage as "Dispaly only" format make sure to Render the value as "HTML". Data is being saved into the table along with HTML tags. Domco 1 Quote Link to comment Share on other sites More sharing options...
0 MVPofInnovation Posted December 23, 2022 Report Share Posted December 23, 2022 Thanks @JolliBeng Sometimes it's the simplest things that hang you up. I was searching for "text field wysiwyg html editor" and kept coming up empty. Quote Link to comment Share on other sites More sharing options...
0 Tubby Posted December 23, 2022 Report Share Posted December 23, 2022 Sharing this link here and tagging it with the word wysiwyg html editor for the ease of searching for other members https://howto.caspio.com/datapages/forms/form-element-types/#TextArea:~:text=You can also enable rich text editing Quote Link to comment Share on other sites More sharing options...
Question
Master
I want to have a rich text area for my text 64000 fields
Link to comment
Share on other sites
4 answers to this question
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.
Note: Your post will require moderator approval before it will be visible.