Please read and follow the COMMON ISSUES first!
Always add your version information in every new post! Thank you!

Form2Content Forum

Questions and answers for Form2Content, a Joomla CCK.
  1. Marc
  2. F2C field types
  3. Tuesday, 13 March 2018
  4.  Subscribe via email
J3.8.5 / F2C6.16.0

There is a problem when I have a date pick field and an image field in the same content type (backend form).
I can not load anything in the image field: I click on "select", the popup opens, I select an image on the server, I click on "insert" and nothing happens.
In the console I have the error:
ReferenceError: jBusyUploading is not set > f2c_imageupload.js: 92: 18

All is working fine when I remove the date pick field.
Any idea?
Accepted Answer
Marc Accepted Answer Pending Moderation
Hi Julien,

Well this one has driven me crazy but I've found the culprit!
The probleme arise when there is an apostrophe in the date picker's Field caption.

- L'évènement = Doesn't work
- L évènement = It works!


Responses (5)
F2C webmaster Accepted Answer Pending Moderation
Hi Marco,

Is this in the default Joomla back-end template? If not can you test it using that template?

Please read the F2C documentation before asking questions! Thank you if you've done so ;)
Marc Accepted Answer Pending Moderation
Yes, isis default template.
Same behaviour with the hathor template.

Julien Accepted Answer Pending Moderation
Hi Marc,

I tried to reproduce this issue on my machine, but here it works without a problem.
Can you give me an admin account on your site, so I can see it myself?
Do you also have Akeeba Back-up installed so I can take a back-up when I need one for debugging?

You can send the credentials to julien at opensourcedesign dot nl


Julien Accepted Answer Pending Moderation
Hi Marc,

Thank you, your remark pointed me to the bug!

If you want to edit it, please find the file <website root>/components/com_form2content/libraries/form2content\field\datepicker.php line #85.
This line now says:
$script .= 'alert(\'' . sprintf(JText::_('COM_FORM2CONTENT_ERROR_DATE_FIELD_INCORRECT_DATE', true), $this->title, $displayFormat) . '\'); ';

Change it into:
$script .= 'alert(\'' . sprintf(JText::_('COM_FORM2CONTENT_ERROR_DATE_FIELD_INCORRECT_DATE', true), JText::_($this->title, true), $displayFormat) . '\'); ';

I will also update this bug in future releases.

  • Page :
  • 1

There are no replies made for this post yet.
However, you are not allowed to reply to this post.