disable field in the user edit form
#nothing works!!!
where is this futures ?!!!
only that i see is
and if set this option to "NO" it's disabled field not only in the profile edit form, but in profile page too!!
Joomla 3.9.6
php 7.2
Labels |
Added:
?
|
Labels |
Added:
J3 Issue
|
Status | New | ⇒ | Information Required |
@franz-wohlkoenig basically yes. i just can't find out, is it i'm missing something, or it's just really bugs. because custom fields exists quite long time in Joomla. and this is not full list of their bugs.
@Quy no, we are pursuing the same goal, as I understand it. But these are different bugs. we use different options.
and there is one more
if you not allow edit custom field values in field permissions
if this field is present in user profile edit form(which i can't disable with Joomla options), so you get an error, when you save the form
my goal:
ok, so here is a quick, if someone need this future now
find:
<?php if ($field->hidden) : ?>
in my case it's line 68
add before this line:
<?php if ($field->disabled){ continue; } ?>
you're done, BUT, if you have only one field in fieldset group, you will have an empty fieldset in edit form, so hide it with css, or assign field to other fieldset group with more than one field.
i can't believe this. custom fields starts from J3.7, and no one don't use it like this. or am i an idiot:)
and what it for ??
if field is hidden, for what reason to show field input ??
Status | Information Required | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-02-03 19:22:29 |
Closed_By | ⇒ | alikon |
Closing this due to not receiving required information to determine if this is a bug or not. If you feel this still needs review, please open a new tracker entry with as much information as possible to ensure it can be reviewed properly
@kat0d thanks for your Report. Is it the same you asked at #24754 (comment)?