1

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?

5
  • 1
    List the "multiple options" you've tried, please. We also need to know more about your versions and how you are "dynamically rendering" the WFFM form. Please see: meta.sitecore.stackexchange.com/questions/136/…
    – Mark Cassidy
    Commented Feb 9, 2017 at 16:24
  • Is there anything outside of WFFM hiding that div. Something in the CSS that is different?
    – RReilley
    Commented Feb 11, 2017 at 15:12
  • @RReilley .. I cross-checked it and this is not the case. Commented Feb 13, 2017 at 7:14
  • @MarkCassidy I updated question with more details. Commented Feb 13, 2017 at 7:15
  • May i know what is the use case for this approach?
    – Masoud
    Commented Feb 13, 2017 at 15:29

1 Answer 1

2

I am able to resolve this by

  • Reinstalling WFFM CM package on server
  • Republishing all WFFM related items
  • Clear the Sitecore Cache

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.