Now the problem i am facing is it is replacing the field but not putting/rendering that field exactly where the previous field was located in the form.
Here is a code:
The frm.fields_list is used to determine the index of the “new” field in the form layout. Then, the splice method is used to replace the “new” field with the dynamic field at the same index. Finally, the refresh_section method is called on the form layout to update the form’s fields. By using these modifications, the dynamic field should be rendered in the same position where the previous field (“new”) was located in the form
Hey @VINOTH,
Thank you for your response but i am getting error when using indexOf() the error is typeError: Cannot read properties of undefined (reading ‘indexOf’).