Datepicker fields on multipage forms - not working after page 1

paddywanless 12 Aug, 2015
Hi,

Whenever I try to use a datepicker field on a multipage form it works fine on the first page, but not on the others.

The calendar does not appear at all.

Is anyone else able to reproduce this and is it a bug?

Thanks for any help with this.

Paddy
GreyHead 13 Aug, 2015
Hi Paddy,

Impossible to say from the information here. The most likely explanation is a JavaScript error on the later page. Do you see any error messages in the browser console?

Bob
paddywanless 13 Aug, 2015
Hi Bob,

Thanks for responding (as always🙂 ).

No Javascvript errors at all.

I've done some further testing because I've been tearing my hair out for a long, long time trying to get this form to do the numerous things I need it to do.

So to summarise the simple form set-up to reproduce the issue.

Two page form
Date picker field on both pages.
Simple submit button on both pages.

When the HTML Renderer is configured to use Ajax then the Datepicker field on the 2nd page does not work.
When the HTML Renderer is NOT configured to use Ajax then it all works.

I was hoping someone could test the above and see if they have the same results. If they do, then I was wondering if it is a bug?

As always Bob, thanks for your help!!
GreyHead 13 Aug, 2015
Hi Paddy,

Please post a link to the form so I can take a quick look.(Use the Private content tags if you prefer.)

Bob
paddywanless 13 Aug, 2015
Hi Bob,

I've just sent you a PM.

Cheers, Paddy
GreyHead 13 Aug, 2015
Hi Paddy,

There is a JavaScript Error on the second page which is form ChronoForms, but not an error that I recognise. Uncaught ReferenceError: chronoforms_validation_signs is not defined It appears to be from the ChronoForms AJAX submission code.

I think that the problem is that the chronoforms_validation_signs isn't being loaded - or perhaps isn't accessible when you use Ajax to submit the form in a multi-page mode like this.

What are you actually trying to achieve here? Do you need the Ajax submission?

Bob

PS I looked at the Code and the function should be loaded if Sing Required Labels is set to Yes in the HTML (Render form) action - please check that setting and see if it is set to No.
This topic is locked and no more replies can be posted.