How to set default value in first row of child table only?

Hello everyone, my requirement is I want to set a default value to the first row of the child table only when the form loads, and after the first row that field value should be empty.

@niraj_regmi your can use form scripts to update the first child when refreshing or on load.