Buy Now
Sign in

Chronoform7 and Google Chrome

ewadrel , June 14 2021, 10:26
E
ewadrel 20
June 14 2021, 10:26 #396666
Hello,
I have created a form with 2 pages with uploads fields on each page, and conditional fields on page 2 (IF field X equals Y, then I display other fields). On Google Chrome, I have an error on an upload field (see the Javascript error attached). The file doesn't accept to be embeded in the field (field stays blank, with no attached file).
It does work on Firefox even though the error is visible in the Console. Gg Chrome doesn't seem to accept the "bug" while Firefox "accepts" it (the file is embeded on FF, not in Gg Chrome).
Any idea where the problem comes from Bob ?
Thanks,
Philippe
E
ewadrel 20
June 14 2021, 12:03 #396667
Hmmm, I think I found where the problem comes from. I suspect the JQuery call to create Conflict as many JQuery calls are being made (Joomla + template + Chronoform component). I managed to make only one JQuery call using SimplifyyourWeb JQueryEasy plugin (https://simplifyyourweb.com/documentation/jquery-easy). It clears code for making only on call. However it still hasn't resolved my problem... I'm searching
Philippe
E
ewadrel 20
June 14 2021, 15:01 #396670
I have managed to fix my JQuery duplicates. Errors in console have disappeared. However, problem is NOT resolved. On page 2 on my form, I can't upload any file using Gg Chrome. No error are thrown out. Bob, any idea to help me out ? Maybe it is a browser related issue (as read on https://bugs.limesurvey.org/view.php?id=16415 for example) ? I'm on Chrome 91.
Thanx for your ideas.
Philippe
GreyHead 65
June 15 2021, 09:12 #396680
Hi Philippe,
Please post or PM a link to your form so we can take a quick look.
Bob
If you'd like to buy me a coffee or two, thank you very much
E
ewadrel 20
June 15 2021, 09:27 #396685
Hello,
Email sent using your form on https://www.chronoengine.com/contact.
Thank you for your help.
Philippe
E
ewadrel 20
June 16 2021, 13:56 #396697
Hello Bob,
any news regarding this point above ?
Thank you,
Philippe
GreyHead 65
June 16 2021, 14:32 #396698
Hi Philippe,
Thank you for the link. I have taken a look but can't work out exactly what is happening. I guess I am not familiar enough with the workings of CFv7 to track down the problem.
I suspect it is because when the radio button selection changes the validation on the part of the form that is then hidden is not working correctly so the hidden file input is still required. But I can't be sure of this :-(
My solution would probably be to put the hidden parts of the form into separate form pages so that on this page are just the radio buttons, then on submit you load either one of the two input forms, or, if the Radio selection is No, then complete the submission.
Max - the owner and developer - might well have a different suggestion, unfortunately he is away at the moment.
Bob
If you'd like to buy me a coffee or two, thank you very much