Wizard Edit Not Working

gr8sale 08 Nov, 2009
Hi there,
I am new to ChronoForms, and I had a question.
After creating a form with the wizard and saving it, I can no longer edit it with the wizard. Is this right? I select the form and click on wizard edit, the wizard comes up just like when you create a form, but I cannot click on anything? I see icons on the form fields but cannot click on them. When I hover over the drag and drop form fields I see the drag and drop pointer put cannot pick up anything, I can go to the other steps in the wizard but cannot do any edits there either.

It looks like I should be able to edit the form I created with the wizard, are the forms editable after save?

Thanks for any help!
GreyHead 08 Nov, 2009
Hi gr8sale,

You should be able to edit a form with the Wizard Edit. Sounds as though there is a JavaScript conflict somewhere on the admin page. You might get some clues with a JavaScript debugger. We've seen problems like this a few times before but there is no consistent pattern.

You could try a different browser - especially if you are using IE; or you can manually edit the form HTML in the Form EDitor.

Bob
gr8sale 09 Nov, 2009
Thanks for the speedy reply, I thought it might be that the JavaScript was not working. I wonder why it works to make the form, but not to edit the form.
I have tried IE, Firefox, Safari, and Chrome.

In FireFox web developer I get these error messages:

$empty is not defined
media/systems/js/model.js LINE22

Sqeezebox is undefined
administrator/index.php?option=com_chronocontact LINE158

$empty is not defined
media/systems/js/model.js LINE22

Sqeezebox is undefined
administrator/index.php?option=com_chronocontact LINE157

var SqueezeBox = {

	presets: {
		onOpen: $empty,<------------------- LINE 22
		onClose: $empty,
		onUpdate: $empty,
		onResize: $empty,
		onMove: $empty,
		onShow: $empty,
		onHide: $empty,
		size: {x: 600, y: 450},
		sizeLoading: {x: 200, y: 150},
		marginInner: {x: 20, y: 20},
		marginImage: {x: 50, y: 75},
		handler: false,
		target: null,
		closable: true,
		closeBtn: true,
		zIndex: 65555,
		overlayOpacity: 0.7,
		classWindow: '',
		classOverlay: '',
		overlayFx: {},
		resizeFx: {},
		contentFx: {},
		parse: false, // 'rel'
		parseSecure: false,
		shadow: true,
		document: null,
		ajaxOptions: {}
	},


		window.addEvent('domready', function(){ var JTooltips = new Tips($$('.hasTip'), { maxTitleChars: 50, fixed: false}); });
window.addEvent('domready', function() {var Tipcf_Authorize_dotnet = new Tips($('cf_Authorize_dotnet'));var Tipcf_CURL = new Tips($('cf_CURL'));var Tipcf_cb_registration = new Tips($('cf_cb_registration'));var Tipcf_confirmation_page = new Tips($('cf_confirmation_page'));var Tipcf_email_verification = new Tips($('cf_email_verification'));var Tipcf_image_resize = new Tips($('cf_image_resize'));var Tipcf_joomla_registration = new Tips($('cf_joomla_registration'));var Tipcf_multi_language = new Tips($('cf_multi_language'));var Tipcf_multi_page = new Tips($('cf_multi_page'));var Tipcf_paypal_api = new Tips($('cf_paypal_api'));var Tipcf_profile = new Tips($('cf_profile'));var Tipcf_recaptcha = new Tips($('cf_recaptcha'));var Tipcf_redirect = new Tips($('cf_redirect'));var Tipcf_watchman = new Tips($('cf_watchman'));});
		window.addEvent('domready', function() {

			SqueezeBox.initialize({});<-------------------------- LINE 158, 157 

			$$('a.modal').each(function(el) {
				el.addEvent('click', function(e) {
					new Event(e).stop();
					SqueezeBox.fromElement(el);
				});
			});
		});


I don't know if this helps, I am not very good with JavaScript.
GreyHead 09 Nov, 2009
Hi gr8sale,

I suspect that your modal.js may be corrupt somehow.

I don't expect to see PHP variable names like $empty in JavaScript files. My version of modal.js looks like this:
var SqueezeBox = {

	presets: {
		size: {x: 600, y: 450},
		sizeLoading: {x: 200, y: 150},
		marginInner: {x: 20, y: 20},
		marginImage: {x: 150, y: 200},
		handler: false,
		adopt: null,
		closeWithOverlay: true,
		zIndex: 65555,
		overlayOpacity: 0.7,
		classWindow: '',
		classOverlay: '',
		disableFx: false,
		onOpen: Class.empty,
		onClose: Class.empty,
		onUpdate: Class.empty,
		onResize: Class.empty,
. . .
And, as far as I can see, ChronoForms only uses Squeezebox to show the warning message on loading the Wizard editor.
Bob
This topic is locked and no more replies can be posted.