Editing Required Fields

37 views
Skip to first unread message

reidb...@gmail.com

unread,
Mar 21, 2025, 5:18:51 PMMar 21
to ResourceSpace
on RS 10.5, it is not possible to edit required/mandatory dynamic keyword fields. Attempting to remove a value trigger the error. Screenshot attached.

Screenshot 2025-03-21 at 5.16.45 PM.png

Dan Huby

unread,
Mar 24, 2025, 4:48:29 AMMar 24
to ResourceSpace
I think this must only occur in conjunction with a particular configuration otherwise I'm sure this would have been widely reported or spotted by our own team, but I'll raise this internally and see if we can repeat it. I might need to come back to you for your config file if that's OK (passwords/keys suitably removed of course).

Dan


Dan Huby

unread,
Mar 24, 2025, 6:15:03 AMMar 24
to ResourceSpace
I've spoken to the head of our software team, and this is by design, because removing the last item means you would be saving it with nothing selected, which isn't permitted for a required field. You can add a second item then remove the first.
We could probably improve the UX around this. Because we auto-save, you have to get the warning right away.

reidb...@gmail.com

unread,
Mar 24, 2025, 9:44:56 AMMar 24
to ResourceSpace
Ok understand the auto save consideration. The challenge is when the dynamic keyword type field has the field constraint set to "Single select" to limit only a single option. Something like a field that holds the name of an event, etc that should only be one thing at once. In this setup, the user is completely unable to edit the field.

reidb...@gmail.com

unread,
Jun 28, 2025, 11:59:28 PMJun 28
to ResourceSpace
RS Devs - following up on this after some time. At least in RS 10.6, I think there is an easy(ish) solution to this. In the pages/edit_fields/9.php file, it looks like the check for required field in the removeKeyword function can just be removed. Removing this check solves the problem and allows the user to remove a last remaining tag set on a dynamic keyword field. The other autosave and/or manual save logic still protects a field as required. This is also true and solves the problem when setting a required dynamic keyword field on upload. Thoughts and maybe this is an easy solution?
thanks

Reply all
Reply to author
Forward
0 new messages