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. Dan Phillips
  2. F2C article templating
  3. Monday, 01 October 2018
  4.  Subscribe via email
J1 3.8.12
F2C 6.17.2 and 6.17.3

I am using f2c on about 30 websites with very similar forms on all of them. Since updating from 6.16.x to 6.17.x users are getting the validation error "A Value for the 'title' field is required" when trying to save submissions. There is a default title value and the form template has not been changed. I am able to submit a form from the front end with no errors while logged in as Super User.

Is there a permissions change somewhere in the newer version? Do I need to re-save all of the content types?
Accepted Answer
Accepted Answer Pending Moderation
Has been solved in F2C 6.17.4, now available for download.
Please read the F2C documentation before asking questions! Thank you if you've done so ;)
Responses (12)
Accepted Answer Pending Moderation
Again, I can create an article in the front end while logged in to my Super Admin account, but regular users, who could do so in v. 6.16.x now get the "value in 'title' field is required" error.
  1. more than a month ago
  2. F2C article templating
  3. # 1
Accepted Answer Pending Moderation
Sorry for doing this piecemeal, but another factor just occurred to me - I have a default title set in the content manager, but do not have it showing on the submission form, as the title should be fixed. I don't know if the form should be shown along with the error message or not, but a screen shot of the error message and two sets of buttons, which is the appearance after trying to save, is attached.
Attachments (1)
  1. more than a month ago
  2. F2C article templating
  3. # 2
Accepted Answer Pending Moderation
I've now tried changing the title field to required:0 in the database with no change in results. In the Content Type manager, I switched "Use Submission Form Template" to NO and tried both with and without showing the title field in the front end. Still getting the "title field required" error. Again, I can submit a form successfully as Super User, but not as a regular registered user.
  1. more than a month ago
  2. F2C article templating
  3. # 3
Accepted Answer Pending Moderation
WHEW! I found the culprits. It was a permissions issue, but one which didn't show up in earlier versions with the same forms, and it has nothing to do with the title field. "Edit state own" was set to Not Allowed at the component permissions level.

Unfortunately, that doesn't solve the problem completely. The form can't be saved if the user group of the author is not allowed to edit state own. I have defaults set to "published" and "not featured" and would like to not allow the users to change those.

I don't remember having to mess with those settings in previous versions.
  1. more than a month ago
  2. F2C article templating
  3. # 4
Accepted Answer Pending Moderation
Hi Dan,

If I'm correct it boils down to:
The form can't be saved if the user group of the author is not allowed to edit state own.

It should be possible. We will check. I believe Joomla did mess with some permission structures.

Regards,
Patrick
Please read the F2C documentation before asking questions! Thank you if you've done so ;)
  1. more than a month ago
  2. F2C article templating
  3. # 5
Accepted Answer Pending Moderation
Hi Dan,

I have checked your configuration and can verify the bug. I will ask Julien to look at it asap. Apologies for the inconvenience.

Regards,
Patrick
Please read the F2C documentation before asking questions! Thank you if you've done so ;)
  1. more than a month ago
  2. F2C article templating
  3. # 6
Accepted Answer Pending Moderation
Has been solved in F2C 6.17.4, now available for download.

Thank you!
  1. more than a month ago
  2. F2C article templating
  3. # 7
Accepted Answer Pending Moderation
Sorry to reopen this thread, but apparently 6.17.4 does not completely fix the problem. Users can now create and save articles, but when trying to reopen and save an existing article, the error message:

Warning
Invalid field: state
Invalid field: featured

Pops up. I can fix this by allowing users to edit state, but I don't want to give them that option. Edit state own was already set to yes.
Accepted Answer Pending Moderation
Hi Dan,

Just to check because I don't have the issue (yet). You are not using a template override for the form which still has those fields?

Regards,
Patrick
Please read the F2C documentation before asking questions! Thank you if you've done so ;)
Accepted Answer Pending Moderation
No overrides, but I may have found the issue. Edit state was set to denied, but edit state own was allowed. When both are set to denied the error seems to have gone away. I may have created the setting when trying to get around the earlier bug.
Accepted Answer Pending Moderation
Hi Dan,

I believe I can reproduce the situation. Have to do some more checks but if so will let Julien know about it for the next update.

Regards, Patrick
Please read the F2C documentation before asking questions! Thank you if you've done so ;)
  • Page :
  • 1


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