Hi glazweb ,
Difficult to know :-( The error looks as though it comes from the Locales - language files - code. I've not seen problems with that before.
Please take a Form Backup using the icon in the Forms Manager and post it here and we can take a closer look to see if we get the same error.
Bob
Hello GreyHead,
and many thanks for helping.
Here is the backup of the form.[file=11193]CFV5_FormsBackup_ON_https___www.3ponts.edu_20_Nov_2018_10_45_25.cf5bak[/file]
Hi glazweb,
Thank you, so far I've not found the source of the problem. The form restores OK but when I try to edit it I see the same Javascript Error (plus some others about duplicate ids).
I've also unpacked the cfbak file to look at the saved form data but don't see anything obvious there (though I'm not very familiar with the packed version that is saved there). There is only one mention of locale and a few {N}s that all look OK.
I'll scratch my head some more and see if I can spot anything else.
Bob
Hello Bob.
Thank you for the time you spent on my problem.
You say you've unpacked the file. How did you proceed ? I could have a look as well, if you give me the method.
Thank you.
By the way, can you explain shortly what is N}s ?
I've done a full copy of the whole website (staging). Could it be the cause of the problem ?
Thank you
Hi glazweb,
To open up a backup file you need first to unzip it - you may need to change the file name suffix; then you will find a very long text string. If you base64 decode (there are on-line tools that will do that for you) this you will find something that looks like a very long json-encoded array of data. You can't do much with this directly, but picking through it you can find much of the data used to create your form. It is all there but some is not human readable in any easy way.
The {N} is typically used as a place holder for some form element that multiplies - i.e. the {N} is replaced by 1 , 2, 3, . . .
Bob
Hello GreyHead.
You're right : nothing human in the decoded file ^^
I guess I will have to create the form once again...
Many thanks for your help and your expertise.
Best regards