Populate selected user name once attestation checkbox is checked
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-03-2024 08:34 AM
Hi All,
I am having a requirement in one catalog item with 1 checkbox variable - Attestation. Once this is checked, next to this variable , I need to display the name of the person which is available in Requested for.
Label should not appear, only name should be visible . Is this possible?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-08-2024 04:25 AM
I tried the above code, but in form level once the RITM is created, the below error is appearing.
And also, the label is not hidden on form level. Please guide
onChange script error: TypeError: Cannot read properties of undefined (reading 'id')
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-08-2024 06:27 AM
Hi @Renu9 ,
you can set default value gs.getUserID() to populate loggedin user and show that variable only if the checkbox is checked