Publish Forms in SharePoint2007-Design Not Same - InfoPath Dev
in

InfoPath Dev

Publish Forms in SharePoint2007-Design Not Same

Last post 05-06-2009 06:10 PM by cywan. 8 replies.
Page 1 of 1 (9 items)
Sort Posts: Previous Next
  • 04-30-2009 02:08 AM

    • cywan
    • Top 500 Contributor
    • Joined on 04-27-2009
    • Posts 32

    Publish Forms in SharePoint2007-Design Not Same

    Hi,

    i made my designing in the InfoPath forms in terms of font-size and alignment. Everything looks nice in design mode at InfoPath but when i publish into SharePoint, all the design of the font size and alignment had changed.

    May i know why this happen? Izit i need to change on the SharePoint css as well?

    Please help.

    Thanks. 

     

     

     

  • 05-01-2009 12:18 AM In reply to

    Re: Publish Forms in SharePoint2007-Design Not Same

    Hi Cywan,

    Are you using Internet Explorer or another browser to view the form in SharePoint?

    Regards,

    Samir

  • 05-04-2009 10:42 PM In reply to

    • cywan
    • Top 500 Contributor
    • Joined on 04-27-2009
    • Posts 32

    Re: Publish Forms in SharePoint2007-Design Not Same

    Hi, I was using Internet Explorer Ver6.0 to view the form in SharePoint. Izit because of this it cause the form design display differently? Regards, cywan
  • 05-05-2009 02:36 AM In reply to

    Re: Publish Forms in SharePoint2007-Design Not Same

    Hey cywan,

    It should display fine in IE6. Is it possible to send me a screenshot of the form and a screenshot of what you see in IE? Or you could also send me the form so I can test it for you in IE 7

    Kind Regards,

    Samir

  • 05-05-2009 03:55 PM In reply to

    Re: Publish Forms in SharePoint2007-Design Not Same

    Browser-enabled forms do not look exactly like rich client forms, because Forms Server is converting the form to aspx code for web rendering and not everything translates perfectly.  There are actually many things you have to learn to work around in regards to table/cell sizing, shapes, fonts, and functionality.  Even data connections work differently in some cases, such as with dropdown lists connected to a SharePoint list where the rich client sorts in the same order as the list, but the browser sorts by ID always.

  • 05-05-2009 07:14 PM In reply to

    • cywan
    • Top 500 Contributor
    • Joined on 04-27-2009
    • Posts 32

    Re: Publish Forms in SharePoint2007-Design Not Same

    Hi Samir,

    Please find the files attached. [sample.zip]

    Please see the difference on the font size and alignments. What should i do to make the output to display exactly like the form in design mode?

     Thanks & Regards Cywan

  • 05-05-2009 08:30 PM In reply to

    • cywan
    • Top 500 Contributor
    • Joined on 04-27-2009
    • Posts 32

    Re: Publish Forms in SharePoint2007-Design Not Same

    Hi Samir,

    I have found the way which i have amend on the view.xsl on the <languagestyle> elements and the font-size and the alignment are now the form in Sharepoint are now same with the form design.

    However, may i know at which part of CSS that i need to amend in order for those mandatory message to be display align with the font-size of the fields attributes in the form? Please see my attachement. [mandatorymessage.png]

    Please advice. Thanks.

    Regards cywan, 

     


  • 05-06-2009 12:44 AM In reply to

    Re: Publish Forms in SharePoint2007-Design Not Same

    Hi Cywan,

    What warrtalon said is absolutaly right, sometimes you just have to accept that the rendering in the InfoPath client is different from the rendering on the web.

    Regarding the rendering of mandatory messages. This cannot be changed in css because it is rendered by Forms Server itself. However, I read yesterday that Micrososft has launched Service Pack 2 for WSS 3.0 and MOSS 2007 and that they have change something about the rendering of mandatory fields. You can have a look at the fixes here

    http://download.microsoft.com/download/4/1/F/41F3A698-55E8-40B4-A306-AD6CF1F95394/2007%20Office%20Servers%20Service%20Pack%202%20Changes.xlsx

    Kind Regards,

    Samir

  • 05-06-2009 06:10 PM In reply to

    • cywan
    • Top 500 Contributor
    • Joined on 04-27-2009
    • Posts 32

    Re: Publish Forms in SharePoint2007-Design Not Same

    Hi,

    Thanks a lot Samir & Warrtalon for your help and great advices.

    Regards cywan

Page 1 of 1 (9 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.