web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Render entity form on ...
Power Pages
Unanswered

Render entity form on demand

(0) ShareShare
ReportReport
Posted on by 60

Is there a way to render an entity form on demand with a javascript event? Or at least load the form a couple of seconds after the page load event?

Currently, i have a complex form on my page that takes a lot of time to load, and is leading to reduced performance. I have broken down the single form into two components and would like to render the second form only on demand.

 

Edit: I have a function written to do this, but its causing issues with rendering content

setTimeout(function(){
$("#div1").html(`{% entityform name: 'entityform1' %}`);
}, 2000);
Categories:
  • oliver.rodrigues Profile Picture
    9,482 Most Valuable Professional on at

    Hi, a few things here:

    • an Entity Form has to be loaded on the Server-side, so you can't load from a JS event
    • how is your "complex form" designed? is that another Entity Form, or is that a custom HTML page?
    • have you considered splitting your form into a Web Form with multiple steps to make the pages lighter?
    • do you have a lot of JS on the page/form that could be slowing down the load time?
    • do you have a lot of subgrids showing in the page?

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Pages

#1
Mohsin Ali Profile Picture

Mohsin Ali 18

#2
11manish Profile Picture

11manish 16 Super User 2026 Season 2

#3
anirudhev Profile Picture

anirudhev 4

Last 30 days Overall leaderboard