Radio button default value based on user form field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā10-21-2020 05:57 AM
Hi,
I have a requirement that
Created a Field type: Radio Buttons on Order guide
Options: a)IG
b)AG, SDG
Default value: In user form I have a field called group If group is AG my default value should AG
if group is SDG or AG my default value should be AG,SDG
I don't know how to get user table data in default value .can anyone help me.
Thank you,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā10-21-2020 06:01 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā10-21-2020 06:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā10-21-2020 07:15 AM
In this case you need Glide Ajax to get the value form the table
Read this
https://docs.servicenow.com/bundle/paris-application-development/page/script/ajax/topic/p_AJAX.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā10-22-2020 01:01 AM
Hi Anurag,
I will try Glide Ajax or Scratchpad to get data.
where I'm facing a problem is when I get operating value I need to check with radio button here I can't able to get order guide value.
table:sc_cat_item_guide
type:onload
if ((g_form.getValue('name') == 'order_guide_sys_id')) {
alert(hello);
Here atleat I'm trying to show alert message