UI Builder inter-relating two fields.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2023 06:55 AM
Hello,
I have created a container in which I have used a repeater and under repeated I have used a stylized text and checkbox.
I want to configure that when I select a checkbox, the stylized text field above the checkbox gets selected.
I want an interrelation between checkboxes and stylized text.
How to configure that?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2023 04:35 AM
Hi @Anand Gupta ,
Selected meaning value to be stored somewhere ex in a client state?
If so, you can create a client state parameter of type JSON.
then for the check box call the client script where you can push the values to the client state. Since its repeater component suggesting the Object type.
On click of check box 2 events are required.
1) updating a string type client state parameter value(ex: rowValue) will be updated dynamically: @item.value.FIELD_NAME.value or displayValue.
2) Calling the client script where you will do a push operation to object type client state parameter created using the updated client state (rowValue);
This way if you have the repeater component you can store the values in Array of object with sys_id as well.
let me know if it was helpful.
Thanks