?
avatar drmenzelit
drmenzelit
23 Jun 2021

Steps to reproduce the issue

Create a contact with contact form
Activate the plugin "Content - Confirm Consent" and configure an article to be linked with.
Go to the contact in frontend
The field "Privacy Note" is a required field, you can't send the form without check in the box. But besides the label you will see the text "(optional)"

Expected result

No optional if field is required

Actual result

Wrong "optional" text
grafik

System information (as much as possible)

Additional comments

avatar drmenzelit drmenzelit - open - 23 Jun 2021
avatar joomla-cms-bot joomla-cms-bot - change - 23 Jun 2021
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 23 Jun 2021
avatar brianteeman
brianteeman - comment - 23 Jun 2021

I'm sure we have had this before

avatar brianteeman
brianteeman - comment - 23 Jun 2021
avatar drmenzelit
drmenzelit - comment - 23 Jun 2021

Same behaviour with a radio custom field
grafik

avatar drmenzelit
drmenzelit - comment - 24 Jun 2021

#22194

I think the Confirm Consent plugin needs a rewrite... but for the beginning it seems that removing components/com_contact/layouts/joomla/form/renderfield.php solves the problem...

avatar drmenzelit drmenzelit - change - 24 Jun 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-06-24 10:09:48
Closed_By drmenzelit
avatar drmenzelit drmenzelit - close - 24 Jun 2021
avatar drmenzelit
drmenzelit - comment - 24 Jun 2021

Closing with PR #34617

Add a Comment

Login with GitHub to post a comment