- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-27-2024 09:19 PM
When I am trying to make a field (type- reference) mandatory and read-only, I am not able to do it. It is only possible if I change the mandatory action to leave alone.
Never I have seen this behaviour, why is it not working.
The below screenshots shows how the field is read-only when mandatory is 'leave alone'.
The below screenshots for mandatory changed to true in UI policy action.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-27-2024 09:33 PM
Making a field mandatory means the user must select or enter a value before submitting the form. However, if the value is automatically populated based on another field, making the field read-only is sufficient. In this case, marking the field as mandatory doesn't make sense, as the value is pre-filled and cannot be changed by the user. Setting it to read-only ensures the value remains fixed and cannot be modified.
Regards,
Pradeep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-27-2024 09:28 PM
Then just make it read-only why to make mandatory as value is populated on field.
Regards,
Pradeep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-27-2024 09:29 PM
So we cannot have mandatory field if we are having read-only action, even if it is auto-populating.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-27-2024 09:33 PM
Making a field mandatory means the user must select or enter a value before submitting the form. However, if the value is automatically populated based on another field, making the field read-only is sufficient. In this case, marking the field as mandatory doesn't make sense, as the value is pre-filled and cannot be changed by the user. Setting it to read-only ensures the value remains fixed and cannot be modified.
Regards,
Pradeep