Forums

Events have Disappeared

NickOg 30 May, 2013
Hi

An odd one - suddenly the events have disappeared from the Wizard. The form still seems to function OK but I can't edit it. Any ideas how I can get around it? I can't even see the page to recreate the form by adding new pages. It will be a pain to have to start from a backup.

backup attached.😢

Nick
ps - if I switch to code view then I can see the events but if I switch back to Wizard they disappear again.
GreyHead 30 May, 2013
Hi Nick,

I'm afraid that I don't have a solution for you. The problem appears to be a missing </div> tag on the page and I think that the cause is the strange <p></p> tags wrapping the div here
><div class="input_header_element_view wizard_element preview_element" id="input_header_element_106">
		<p><div id='njjoAppFormContainer' ></p>
	<input type="hidden" id="input_header_106_multiline_start" value="0" name="chronofield[106][input_header_106_multiline_start]" />
	<input type="hidden" id="input_header_106_multiline_add" value="0" name="chronofield[106][input_header_106_multiline_add]" />
	
	<textarea name="chronofield[106][input_header_106_code]" id="input_header_106_code" style="display:none"><div id='njjoAppFormContainer' ></textarea>
I think that they are illegal HTML - you can't have a <p><div></p>. . .</div> sequence.

What I can’t work out is how to fix it. I can add an extra </div> in the page HTML to get the actions to show but the form still isn't editable :-(

Bob
NickOg 30 May, 2013
Thanks Bob - looks like it was my error somewhere then. 😶 A pain but not too difficult to recover. Odd that that should cause such a situation though.

Regards
Nick
GreyHead 31 May, 2013
Hi Nick,

It's next to impossible to untangle when the 'form' HTML gets tangled up with the 'Wizard' HTML. There are about 30,000 lines of HTML on the Wizard page when I 'prettify' it and one misplaced <div> can ripple down the page. What happened here was that the Events tab was 'inside' the 'Preview' tab and so didn't display.

Sometimes you can fix errors like this in the database table but I couldn't fix this one yesterday :-(

Do make sure that you have the latest ChronoForms release because there was one that didn't close some container divs correctly.

Bob
NickOg 31 May, 2013
Hi Bob,

Thanks for trying. I have recreated the form and tidied & improved some stuff on the way through so it wasn't all a waste of time. I haven't found where that code error was. I am backing up the form frequently now - just in case. There would be a useful plug in - a timed backup of forms during development 🙂🙂 . I had missed that update - getting that in a tic after a backup.

Thanks for the help
clovismmbr 16 Feb, 2014
The same happen to me. Its happen because i missed an open div tag in custom element. After i close it the event tab back normaly. Hope this case helps
This topic is locked and no more replies can be posted.