web
You’re offline. This is a read only version of the page.
close
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

I have the same question (0)
  • Verified answer
    Nick.Doelman Profile Picture
    1,947 Most Valuable Professional on at

    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

  • Suggested answer
    Nithya Gopinath Profile Picture
    17,078 on at

    Hi Jan,

    See the community thread below.

    community.dynamics.com/.../168405

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans