question

Jeemy-2906 avatar image
0 Votes"
Jeemy-2906 asked CaseyYangMSFT-4714 commented

InfoPath Form Doesn't Display Correct

I am using SharePoint 2016 and i am using infopath to create a form in a document library site.
The form looks good on infopath but when i publish it to the Sharepoint site for some reason the boxes don't aligned and are wonky. i have try to fix the size but the attachment field doesnt have an option to resize it. i try to fix the screen resolution and still no luck.

i added the pictures below so you can see it.

169340-correct-infopath.png169475-infopath-form-error.png


office-sharepoint-server-administrationoffice-sharepoint-server-developmentoffice-sharepoint-server-customization
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

CaseyYangMSFT-4714 avatar image
0 Votes"
CaseyYangMSFT-4714 answered CaseyYangMSFT-4714 commented

Hi @Jeemy-2906,

Here is a similar issue: Section in InfoPath form is getting misplaced when deployed. You could try to put all section in different rows of a table. Mark the row height property to auto and remove highlighting of borders for the table. And please check the indentation settings for the each elements/controls under question, including container table row.

For Reference: Section in InfoPath form is getting misplaced when deployed
Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.


If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I just made those updates and change them to auto and the form still doesn't align well in SharePoint. Would it be something for SharePoint?

0 Votes 0 ·

Hi @Jeemy-2906,

I am not able to reproduce this issue, but per my research you have to add some css codes in SharePoint to avoid this issue. For Reference: InfoPath Form Web Part breaking page left alignment


0 Votes 0 ·