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
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
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 ?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156