I am working on WFFM form where I am dynamically rendering WFFM form on web page which is working perfectly fine on my local machine by using below code
@Html.Sitecore().Rendering("{F2CCA16D-7524-4E99-8EE0-78FF6394A3B3}", new { Datasource = "<id of the form item>" , UniqueId = "<unique id of the form rendering>"})
But when I deployed it on our server, WFFM form and its fields are rendering propely as I can identify it from View Source my webpage on browser. But interestingly WFFM form and its fields are rendering as hidden.
I tried multiple options like
- Disabling project CSS and javascripts
- Republishing items
- Try it on different server
but unable to resolve it.
I am using Web Forms For Marketers 8.1 rev. 151217.
Do anybody face the similar situation of WFFM form hidden state while rendering?