Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

Embedded List Make Field Read Only

Michela
Tera Contributor

Hello everyone!
i need help with an embedded list.
I have a table 'x' with an embedded list that belongs to a table 'y'.

Table 'y' has two fields 'A' and 'B'.
'A' is a choice field, so when i change the value of A (that is mandatory) I need to create a rule that put the field 'B' read only, based on the selected choice (like the attachment, if I choose 'Choice 1' I need 'B' read Only).

I tried with the client script with the onChange method, but obviously this doesn't work, and I also tried with the business rule, but this doesn't work unless I save the form first.

 

How can I get a read-only field visible in the embedded list without saving first?
Thank you

0 REPLIES 0