Possible to "reinit" Umbraco forms on the front en...
# help-with-umbraco
c
Hey all, We've got a scenario where we would like to place a form inside of a simple JS accordion using an .active toggle class. However, if the form has conditionals - They stop working as the fields are initially display:none'd on DOM load. We are assuming thats the reason they stop working as the events / initialisation has nothing to bind to. As such we are wondering: Is it possible to recall the initialisation of a form via custom JS?
k
I did create a feature suggestion for this on github a while back. There is a workaround in there as well. https://github.com/umbraco/Umbraco.Forms.Issues/issues/1224
c
Ah fantastic, Thanks for the workaround and posting the issue!