converting a richtext field into a regular text field - InfoPath Dev
in

InfoPath Dev

converting a richtext field into a regular text field

Last post 08-08-2012 09:12 AM by Jimmy. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 08-07-2012 06:47 AM

    converting a richtext field into a regular text field

    Hi there, I'm stumped on the following in infopath 2010. I'm trying to convert a rich text field into a regular text field. When I right click the rich text field and select change control, the only options I are "calculated value" and "section". Any ideas on how how I can change this to a normal text field. Thank you.
  • 08-07-2012 08:37 AM In reply to

    Re: converting a richtext field into a regular text field

     Rich Text Box is control or visual representation for underlying data field of data type Rich Text (XHTML)

     It is, obviously, cannot be rendered in TextBox control that is to render data field of dat type string.   

    First, before anything else, you should decide which field of which type you need and then choose how it will be visually rendered but not vice versa

    Gennady Vanin (Novosibirsk) --- Геннадий Ванин (Новосибирск)
  • 08-08-2012 03:39 AM In reply to

    Re: converting a richtext field into a regular text field

    I understand, thank you.
  • 08-08-2012 09:12 AM In reply to

    Re: converting a richtext field into a regular text field

    Is this a template for which forms have already been filled out?  If so, I wouldn't recommend changing your rich text field to regular text because that would most likely cause problems with opening the existing data.

     If you do have existing forms and objective is to get rid of the rich text and use ordinary text instead, I would recommend just creating an entirely new field for the ordinary text and either removing the rich text box or making it read only (but don't delete the rich text box's field from the data source).

    Jimmy Rishe / Software Developer / Microsoft MVP
    Qdabra Software
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.