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. David
  2. Form2Content Lite & Pro
  3. Friday, 12 May 2017
  4.  Subscribe via email
Joomla 3.7
PHP 7.1
F2C Pro 6.16.0

Since upgrading to J3.7 and F2CPro 6.16.0 I cannot save articles that include the Date Picker field. None of the Joomla "Save", "Save & Close" buttons work. If I open console I get the following error when I click the "Save" button:

Uncaught TypeError: Cannot read property 'trim' of undefined
at Object.CheckRequired (Datepicker.js:5)
at eval (eval at F2C_CheckRequiredFields (f2c_frmval.js?49f0814…:17), <anonymous>:1:41)
at F2C_CheckRequiredFields (f2c_frmval.js?49f0814…:17)
at Object.Joomla.submitbutton (index.php?option=com_form2content&view=form&layout=edit&id=1145:525)
at HTMLButtonElement.onclick (index.php?option=com_form2content&view=form&layout=edit&id=1145:444)
Responses (2)
David Accepted Answer Pending Moderation
Just to add, the javascript file where the error exists is located at media/com_form2content/js/fields/Datepicker.js
  1. more than a month ago
  2. Form2Content Lite & Pro
  3. # 1
Julien Accepted Answer Pending Moderation
Hi David,

This could be a caching issue, since the file Datepicker.js has changed.
Can you clear the cache in your browser for this page? In most browsers it's a reload with ctrl + F5.

  1. more than a month ago
  2. Form2Content Lite & Pro
  3. # 2
  • Page :
  • 1

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