Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

White spaces removal from webpage on portal

(0) ShareShare
ReportReport
Posted on by 135

Hello

I have a custom entity “vacancy” with 4 fields (Multiple Lines of Text). I created an entity form and webPage for publishing on the portal. The form is displayed on the portal with a lot of white spaces when the fields are not fully completed.

How can I remove the white spaces and also empty fields (incl label).

Thank you

Jan

*This post is locked for comments

  • Suggested answer
    Nithya Gopinath Profile Picture
    Nithya Gopinath 17,076 on at
    RE: White spaces removal from webpage on portal

    Hi Jan,

    See the community thread below.

    community.dynamics.com/.../168405

  • Verified answer
    Nick.Doelman Profile Picture
    Nick.Doelman 1,947 Most Valuable Professional on at
    RE: White spaces removal from webpage on portal

    For hiding empty fields, you could use some javascript on the entity form:

    if($("#new_fieldname").val() == "")

    $("#new_fieldname").hide();

    For the whitespace, you could try some CSS manipulation, this is one area where my knowledge takes a nosedive, but I have seen techniques where fonts were set to 0 size, etc to shrink down/remove whitespace.

    Cheers

    Nick

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans