@pcndlozi
check the page source. Sometimes CSS and the form don’t play well together and some elements end up non-visible. If that’s not the case then send us a screenshot of the form definition in Dynamics 365 vs how it appears in WordPress (if you have it surfaced on a public page, send us a link).
Thanks
George
Thank you for responding
I checked the source the label tag is not even there compare to other fields
Here’s the link to the page App Form
@pcndlozi
can you send a screenshot of the same form displayed in Dynamics 365? Because to me it looks like those labels are set to hide in Dynamics 365
Thanks
Hi @alexacrm
Please see the link to the screenshot Screenshots
@pcndlozi
this is really odd.
I assume you have published the form and refreshed metadata in the plugin.
Do you have any other languages besides English installed in your instance?
Thanks
@alexacrm
I have done all the checks you mentioned.
I eventually changed script for form and used the [msdyncrm_form] which is deprecated but with this all the fields label are visible
I am not sure why twig template is not showing all the fields labels.
Also if i add more fields on form those fields label will not be visible
@pcndlozi
if you add more fields and none of them visible, it sounds like metadata is out of date. Publish the form then on Connection tab in plugin use Refresh Metadata button.
Another test you can do is to use Save As functionality in CRM and save the form with the new name (avoid conflicting names like Information). Then try to display that updated form. It may give us some clues as to why it’s not working. Let us know what’s the outcome of that one is.
Thanks
Hi @alexacrm
Thank you for your assistance
What i have done was to switch from DEV to Prod, even from the production environment it was the same thing.
I eventually decided to hide this field and publish then unhide them and publish again
That actually resolved the issue
On a side note, how do you hide a form on successful submission
Hi @alexacrm Is there a functionality where you are able to add multiple attachment on wordpress site and sent to D365
Glad to see it resolved.
Side note reply: https://ww.wp.xz.cn/support/topic/how-to-hide-the-form-after-submit-button-is-clicked/
Regarding multiple attachments – there is nothing out of the box, I’m afraid. For multiple attachments you’d need to add file controls yourself then add an action below and inside that action grab the files and attach them to, well, where you need them.
add_action( 'wordpresscrm_twig_form_submit_success', function( \AlexaCRM\WordpressCRM\Form\Model $model, \AlexaCRM\CRMToolkit\Entity $record ) {
...
}