Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

How to add Multiple Radio Button under each other

Naveen87
Tera Guru

Hey Guys,

I have a requirement , Where i have to field == Desk phone.

When Desk phone is selected , 2 radio buttons should be appear. A and B.

When A is selected , it will have C and D under it.

find_real_file.png

How to achieve this??

 

 

Please suggest.

Thank you

1 ACCEPTED SOLUTION

I've done as below:

find_real_file.png

find_real_file.png

find_real_file.png

View solution in original post

30 REPLIES 30

Hi Naveen,

then not possible as all those are in single variable but different options

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 10x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

How can i create individual Radio button option?

When i tried creating, It looks like label.

Ex:-find_real_file.png

Hello Naveen,

Add the one choice in each multiple choice.

To show the message below the variables, you need to use the

	g_form.showFieldMsg('<variable-name>', '<message>', '<type: info/error>');

 

Another alternative is use the Annotation and add your message above the field.variables.

 

Thanks,

Sagar Pagar

The world works with ServiceNow

Hi Sagar,

 

I have created a field called Option(Multiple choice - type).

Under this i have added all the required Option.

find_real_file.png

 

How can i show a info msg under New Hire here.

 

Please suggest.

Hi Naveen,

you can only show field messages to variables and not to the choices. it won't work

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 10x ServiceNow MVP  ||  ✨ ServiceNow Community Leader