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 :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Any possibility of dynamically adding a Spacer to a form using Javascript?

(0) ShareShare
ReportReport
Posted on by 92

Hello everyone,

I was wondering if there's a way to dynamically add a Spacer to a form using Javascript. I am asking this because when we hide a field, the rest of the form gets shifted so I was thinking of Dynamically adding a spacer, but that would also mean we would have a way of identifying spacers to also remove them if the field is shown back on the form.

Any idea?

Thank you

I have the same question (0)
  • Suggested answer
    Bipin D365 Profile Picture
    28,983 Moderator on at

    Hi,

    We don't have any OOB API available to do that.

    However, if you want to achieve this you can manipulate with DOM.

    What version of Dynamics CRM you are using, I ask this because D365 online which is a latest version does not have this issue. In UCI app when you hide any field on form whole form gets adjusted automatically.

    Please mark my answer verified if I were helpful!

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 > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 137 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 57

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans