Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Two entity Forms of same entity in one web template

(0) ShareShare
ReportReport
Posted on by 727

Hello Guys

Is there any restriction to use two different entity forms of same entity in same web template ? because while i was keeping two forms in two different tabs in same web template second entity form last field Css is completely disturbing and also footer are also i am unable to see did anyone faced this kind of issue, please help us if any

Thanks 

James 

*This post is locked for comments

  • Suggested answer
    Arpit Shrivastava Profile Picture
    7,518 User Group Leader on at
    RE: Two entity Forms of same entity in one web template

    Hi Emmaneul,

    If I understood your requirement correctly, you are using two Entity Forms in single Web Template and want to keep the logic of both the form intact with each other.

    Try to keep both the Entity Forms code/script/css seperate by putting any condition inside web termplate.

    For Example, I am putting one pshedu code, hope you understand.

    // Get Webpage Name
    var getPageTitle = '{{ page.adx_copy }}';

    if (getPageTitle == 'ABC')
    {
    {% include 'Entity Form 1' %}
    // Write your custom code/html/css related to Entity Form 1 here. so that it will only work if page ABC gets loaded not for page PQR
    }

    else if (getPageTitle == 'PQR')
    {
    {% include 'Entity Form 2' %}
    // Write your custom code/html/css related to Entity Form 2 here. so that it will only work if page PQR gets loaded not for page ABC
    }


    So by adding this logic, your both Entity Form code will work indenpendently without impacting the code of each other.


    There might be few mistake in syntax as i have put the pshedu code. Use it as per your need,


    Mark it verfied, If you are able to resolve your issue.


    Cheers
    Arpit
    arpitmscrmhunt.blogspot.com

  • Suggested answer
    oliver.rodrigues Profile Picture
    4,052 on at
    RE: Two entity Forms of same entity in one web template

    Emmanuel

    there is no restriction

    are you using the standard {% entityform id: page.adx_entityform.id %} to render the Form ?

    not sure if I understood the issue you had, but have you tried leaving only one Entity Form at each time using the same Web Template.. to make sure both are ok using that Web Template ?

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
dkrishna Profile Picture

dkrishna 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans