Converted single line text to multiple and want to have rich text editing in layout

We had a text field in a site that was initially set as single line of text. We needed it to be bigger and also allow formatting. So I added the field into the page layout.
Changing
<SharePointWebControls:TextField id="habitat" FieldName="Habitat" runat="server"/>
to
<SharePointWebControls:NoteField id="habitat" FieldName="Habitat" runat="server"/>
But it doesn't show any rich text editing options and displays the full html tags in the field.
If I open the page in the edit properties screen instead, then the field displays as I want it with the rich text editing options available in the ribbon, and text showing as bolded instead of like this:
<div>This is <strong>the </strong>habitat field.</div>
This is a site using the 2010 Publishing template running in compatibility mode on a 2013 server.
How can I get my page layout to behave the same way as the edit properties screen does?

Hi,
Here are two solutions for your reference:
1. We can use the InputFormTextBox control to achieve it.
<SharePoint:InputFormTextBox ID="habitat" RichText="true" RichTextMode="FullHtml" runat="server" TextMode="MultiLine" Rows="20"></SharePoint:InputFormTextBox>
http://blog.qumsieh.ca/2009/01/13/how-to-add-a-rich-text-editor-to-your-custom-application-pages-or-web-parts/
http://blog.mastykarz.nl/rich-text-editor-control-sharepoint-2010/
2. We can use the RichHtmlField control to achieve it.
<PublishingWebControls:RichHtmlField id="habitat" FieldName="Habitat" runat="server"/>
http://msdn.microsoft.com/en-us/library/office/ms561507(v=office.14).aspx
Best Regards
Dennis Guo
TechNet Community Support

Similar Messages

  • How to validate for non-english character on a single line text field

    In a "Single Line Text" field we would like to allow the users to enter alpha numeric values only. We should show error when the user enter non-English values like
    carácter
    Vijayaragavan, MCTS

    Hi,
    According to your post, my understanding is that you wanted to validate for non-english character on a single line text field.
    I recommend to use jQuery to attach regular expression validation. Please refer to:
    Using #jQuery to attach regular expression validation to a #SharePoint list form field
    In addition, for custom validations you can create your own Types. Refer to
    this[^] for creating custom field type
    More information:
    SharePoint Custom Field - Regex Validator
    Thanks,
    Linda Li                
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • I am filling out an online application for school. Is it possible to set Firefox to check spelling when in a single-line text box without having to right click every time?

    I want to be able to set spell check to occur automatically even for single-line text boxes.

    You can set the pref <b>layout.spellcheckDefault</b> to <i>2</i> on the <b>about:config</b> page to perform the spell check on single line and multi line text fields.
    * http://kb.mozillazine.org/layout.spellcheckDefault
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />
    *Use the Filter bar at to top of the about:config page to locate a preference more easily.
    *Preferences that have been modified show as bold(user set).
    *Preferences can be reset to the default or changed via the right-click context menu.

  • How to write single line text file

    Hi, I need to write a single line text file using oracle forms 10g that's usually quite long 8million+ characters, I looked into utl_file but came accross the single line limit, is there any way to do this either to the client pc or to the server
    Thanks

    I tried using put_line but i get a ORA-29285: file write error´I´m guessing this is because of the amount of data to be written on a single line

  • I have been sharing my iTunes account with my kids...now they are getting older and want to have their own accounts, how do I share the songs I purchased for them on my account with them on their new accounts?

    I have been sharing my iTunes account with my kids...now they are getting older and want to have their own accounts, how do I share the songs I purchased for them on my account with them on their new accounts?  Is there a way to transer from my main account their new accounts?  And can I share music from my account with them?

    You can't currently transfer content from one account to another account. As long as the tracks are on the computer's iTunes that they use/sync to, and your account is authorised on that iTunes, then they should be able to continue to use them.

  • Using OSX 10.9.4 and want to have photoshop as my default for photos instead of Preview. Any suggestions?

    Using OSX 10.9.4 and want to have photoshop as my default for photos instead of Preview. Any suggestions?

    In the Mac Finder, select the icon of any of your photo files and do a Get Info (Command i) on it. Then select the application you want to open your photo files, then Click on Change All.
    You'll need to do this once for an icon of each file type, i.e. one on a JPEG file, one on a TIFF, one for PSD, one for raw files, etc.

  • HT204053 So if I have a .me address already, and want to have an .icloud address instead, am I able to do it?

    So if I already have a .me email account and want to have a .icloud account also, can I?  Is it free?  Or must I have just one or the other?

    @icloud.com addresses are being rolled out over an unspecified period: you will get one without having to do anything, and it will be additional to your @me.com address. You will get a notification email when your account is updated. Please see this page:
    http://support.apple.com/kb/HT5441

  • HT4061 i live in Turkey and want to have my iphone get repaired

    i live in Turkey and want to have my iphone get repaired

    OK
    You should do that.
    If you have a question, then explain your issue and ask it

  • Hello. I'm already registered in iTunes and want to have a second iPod (with a separate email-adress) being capable of iMessage. What do I have to do?

    Hello. I'm already registered in iTunes and want to have a second iPod (with a separate email-adress) being capable of iMessage. What do I have to do?

    You can use the same iTunes account on both iPod.  To allow Messags betwen the two, one one iPod go to Settings>Messages>Receive At and add another email address and delete the iTunes account email address.
    If that is not what you want plase explain better what you want to obtain.

  • I just bought the Canon S120 and want to have the camera flash no matter what - it this possible?

    I just bought the Canon S120 and want to have the camera flash no matter what - it this possible?

    Ok - got it - set to P mode for Program with the top dial, then slecet flashand then you can select flash

  • I converted a pdf file to excel and now I have columns, lots of them, that i don't know how to get rid of?

    I converted a pdf file to excel and now I have columns, lots of them, that i don't know how to get rid of?

    Hi Carl,
    Can you attach a snapshot of the application window?
    I am unable to interpret your issue clearly, Please elaborate your issue so that i can assist you better.
    You can easily select those columns in excel program and then delete them...What's the challenge? Do you get any error?
    Regards,
    Rahul

  • Single Line Text Control (H&J) Tip & Question

    The attached image is tip for anyone that is looking to constrain InDesign to use the width of a text field (maintaining a single line, good for a variable data field), while allowing characters to smash if they exceed the amount that would normally cause a text frame overflow. Texts in Red; are the settings that are necessary for this functionality. There is a limittation that is outlined in the graphic; that "Glyph Scaling" with no more than a Min of 50% or a Max of 200% (Paragraph Panel > submenu > Justification) is available, which limits its' full potential.
    While looking over this, if you have any thoughts on how to build on these settings to allow even more control, please do reply!
    Thanks!

    I do similar with business card layouts. Handy when the layout has already been decided, without adequate forethought, and the client recruits a Greek guy.
    Imagine what we could do if they brought back Multiple Masters.

  • GR Printing For Single Line Item With Multiple Account Assignment.

    Hi All,
    There is PO for projects (Account Assignment -P - Network) in which in a single item consist of multiple account assignment.
    Noe while entering the GR I select "Collective Slip" option but when the GR is posted system automatically select option "Individual slip" and seprate line item are printed for each account assignment.
    The printing program is standard SAPM07DR. The SAP version is 4.7. Can anyone tell what is ther any setting in configuration or is it problem in program or smart form
    Thanks & Regards,
    Omkar

    hi
    please check your form and routine used to print.

  • Single line item for multiple line item payment.

    Hi
    I have booked the 3 vendor invoices (in FB60) for a single vendor. Now today i paid (with F-53) all the three invoices together. One payment document number was generated.
    However when i saw the vendor line item, i saw that three debit line items was generated for the clearing the open invoices (i..e 3 credit line items). so when i say vendor line item report, there were total 6 cleared line items (3 for credit i.e invoice and 3 for debit i.e. payments)
    But is it possible to get  single debit line item for all the three invoices cleared. If yes, please let me know how i can get it.
    If i will have one single line item for payment, vendor report would be simpler. Please help

    Hi,
    1. If you do payment through F-53, then each invoice have separate payment line item. This is not avoidable. If you do payment through F110, then you can group the line items for payment, so there only one payment line item for many number of invoices.
    2. While clearing through F-44, system is generating automatic line items because, there are exchange rate fluctuations. You can't avoid these line items, as these automatic line items only match Debit and Credit amounts in order to post the document.
    Rgds
    Murali. N

  • Single line item for multiple open items in app

    we have three open items   to vendor x  100001000010000
    But we are paying to vendor only 10000100005000
    At the time of entry system showing
    Vendor account 25000
                 To    Bank account       20000
                 To    Bank account         5000(here we paying partial amount of 3rd open item)
    But my Clint requirement is system should post only single line item for bank account 25000 for reconcilation purpose
    Would you please suggest where we need to do customization?

    Hi Anantha,
    How are you making the payment which transaction you are using ? Both Manual & Automatic payment
    the suggested solution is go for split payment terms. configure using OBB8 and OBB9
    Hope this helps
    pbb

Maybe you are looking for

  • Error while calling a Webservice from a custom findBy operation

    Hello I have created an External Service by importing a WebService(XI) which is a wrapper for BAPI BAPI_VENDOR_GETDETAIL. Tested the webservice and it works fine. I created an Entity Service Vendor and created 4 attributes vendorNo and companyCode, v

  • Inbund IDOC error: Status records with status 51 after status 53

    Hi all, I'm looking to resolve an issue related to posting an inbound IDOC. when I process inbound IDOC created from report prg I'm getting a status message: "Status records with status 51 after 53" . Functionality: I'm creating an IDOC from flat fil

  • [SOLVED] "Copy to Clipboard" console command - Parcellite

    I'm trying to make a python script that will take a screenshot using scrot, upload it to imageshack.us and then copy the image link to the clipboard (parcellite). The problem lies in the "copy to the clipboard" part. The documentation states that the

  • Use of Business Service Contro and Registry Console

    Hi All Oracle Fusion Middleware Service Registry 11g will provide two user interface control A. Business Service Control B. Registry Console I am going through the Oracle Fusion Middleware Service Registry Guide 11g provided by Oracle and figure out

  • QT 7.6.6 image sequence issue

    macbook pro running osx 10.9.4 shot about 800 photos (1 every 5 seconds) on my gopro. everytime i open quicktime pro 7.6.6 and open the image sequence, it only grabs one frame. they are numbered sequentially. i had shot 1600 photos of the sunset a fe