How to pass HTML hidden input to script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2023 01:03 AM
Hello all,
I'm listing records that meet certain criteria. I'd like to add a button next to each that will create a child record on press. Most of it is in place, however I would like to pass the short description and sys_id of the parent into the child.
In short, in the code below I'm trying to pass the HTML values {{::item.short_description}} and {{::item.sys_id}} to the server script lines
I thought HTML hidden inputs would be the way, but that doesn't seem to work. Any help would be appreciated.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2023 01:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2023 01:43 AM
Thanks for the reply Harish. I have it working that users can enter data into an HTML input and work with that in the server script. It just doesn't work for the HTML input type hidden. Basically I want to pass the sys_id and short_description from the ticket next to the button.