Hi @ahmad-farid
There are two ways to create multi-column form layouts in Dynamics 365.
enable_layout allows you to render tab columns accurately. However, it doesn’t render multiple cells in one section row.
Make sure your form uses tab columns instead.
Thanks
it dos not work with me!
this is the short code i am using: [msdyncrm_form entity=”lead” name=”BS Subscribe” mode=”create” enable_layout=”true” hide_form=”true”]
link for the website form: https://www.bayanat-sudair.com/contact-us/
link for the crm form: https://www.bayanat-sudair.com/wp-content/uploads/2019/04/crm1.png
what is wrong please?
@ahmad-farid You’re using sections for columns, in shortcode we only support tabbed column layout, i.e. two tabs side-by-side.
Alternatively, try using twig form (recommended) https://docs.alexacrm.com/wpcrm/twig/#forms
HTH
George
Dear sir,
can you please guide me how to put two tabs side-by-side at the CRM when i insert a new tab it appears under the first one, while the second method is more advanced,
where to put the {% form %}{% endform %} tags at the wordpress page?
Hi @ahmad-farid
we just retested the functionality and the layout should work in your scenario. Try creating a Quick Create form instead of a full form (just to eliminate issues associated with the first tab that I can see on the screenshot).
Twig version would look like the following:
[msdyncrm_twig]
{% form entity="lead" name="BS Subscribe" mode="create" %}{% endform %}
[/msdyncrm_twig]
Thanks
George
Hi @ahmad-farid
the layout generated is actually multi-column. I can see appropriate classes generated to support multi-column layout (classes like row and col-sm-4). We’re using bootstrap classes so it’s up to you to ensure that they are rendered correctly. You can try including standard bootstrap css.
Thanks
George