Single Choice Common field options: make a first choice default

Hi Team,

I have this choice option from common fields in plumsial forms (single choice).
image

And it displays more than one option according to the required details, I want o make the first option default selected. I am using this one from the form and these are the properties of that field.
image

Thank you in advance.

Navpreet

Hello @navpreet,

You can set the field value on form load, thus the specific value will be selected by default:

fd.spRendered(function() {
    fd.field('Field1').value = 'Item 1'
});

Hi @mnikitina,

This is not working
fd.spRendered(function() {
fd.field('Field1').value = 'Item 1'
});

and I have values coming from rest call when form renders.

@navpreet,

You need to replace Field1 in the code with your field internal name. And also change the Item 1 with the value that is loaded on rest call.