- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-03-2022 03:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-03-2022 03:39 AM
Hi Shweta,
You can do this using ui policy (if service catalog then catalog ui policy)But It will set only mandatory variable not readonly.But their is no point to make both readonly and mandatory at once.
I applied to one variable please check SS
and the result is
IIf my answer helped you in any way, please then mark it as helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-05-2022 03:53 AM
I agree with Mark, though, I would like to know the functional case. By selecting both mandatory and read-only, you are telling the end user:
- If the field is empty, you MUST enter a value to proceed.
- You ARE NOT ALLOWED to enter a value.
At this point the user throws their laptop out the window.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-24-2025 05:39 AM
Easy, a quick way to add a marker to indicate a field is correct or something.
So a quick check on field and update a checkbox (read only, mandatory and hidden) to be true to allow the form to submit, or false and not.
Why, a single onChange script to show immediate feedback and saves writing an onSubmit
I can think of other ways around this issue, but that is a quick n dirty reason