Rich Text field losses formatting(Urgent)!!!! - InfoPath Dev
in

InfoPath Dev

Rich Text field losses formatting(Urgent)!!!!

Last post 08-23-2005 07:18 AM by Coita Thierry. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 08-21-2005 11:34 PM

    • amish
    • Not Ranked
    • Joined on 12-23-2004
    • India
    • Posts 19

    Rich Text field losses formatting(Urgent)!!!!

    Hi friends,
    I am facing a strange problem with RTF control.
    I have formatted data in RTF control.On basis of date entered/changed in some other field(Date Picker field) ,this date entered needs to be appended at a particular location in the Formatted data of the RTF control.

    When i try to do this using Replace & find function which i have written ,logically it works fine but the Fomatting is lost and all the data comes in a single font uniformly.

    Can you please tell me how do i preserve formatting using any other method ?
    Or is it not possible to preserve formatting in RTF field in Infopath ?


    Thanks.

    Amish
  • 08-22-2005 01:29 AM In reply to

    Re: Rich Text field losses formatting(Urgent)!!!!

    Hi,

    For do this you have to use XHTML tag !

    The best to understand how to do is put only a rich text box in a new form write and making the formatting that you need and see what you have in your richtextbox (the tag that have entered by infopath in the xml) and after make the same things for your form!

    ++

    Thierry

    Every moment hesitated is a moment gone for life!!! Think about it
    Infopath 2007, Langage: C#2.0 (Modèle Objet 2003)
    merci de lire ceci
  • 08-23-2005 01:50 AM In reply to

    • amish
    • Not Ranked
    • Joined on 12-23-2004
    • India
    • Posts 19

    Re: Rich Text field losses formatting(Urgent)!!!!

    Hi Virgul,
    Thanks for ur prompt reply.
    Can you throw more light on the solution you gave because frankly speaking i didnt undersand it.

    I guess i have not put my issue properly.Sorry for that.

    My problem is brief is : When i append the RTF data on some event of some other control ,the "Formatting getting lost" in this scenario.


    So please help me to map ur answer to my issue.


    thanks.
    Amish


    Amish
  • 08-23-2005 07:18 AM In reply to

    Re: Rich Text field losses formatting(Urgent)!!!!

    Hi,

    I work one the same issue but I didnt have found yet!

    But when you make a formatting in a date field the formatting is only on UI it's not store in the xml!

    But for a RTF it's different the formatting is made with XHTML (the formatting is store in the xml) so put the XHTML tag that you need for your formating with the field that you want copy in your RTF and the game is over!;-)

    It's why I say make a new form with only a RTF and fill out this form with different formatting and sentences and see what you have in your xml file!

    Hope this help

    Every moment hesitated is a moment gone for life!!! Think about it
    Infopath 2007, Langage: C#2.0 (Modèle Objet 2003)
    merci de lire ceci
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.