How do I set value to dynamically added elements in form?

https://snippet.webix.com/9hoep8a3

Here I add Display name field dynamically and I want to set value to that field.So how can I do this?

I have two fields dynamically added in form and want to set value to that two fields

Hey @pratikshadatir1, you can set the value of the text input using setValue() right after you’ve dynamically added it to the layout.

For example, you can use it straight after the addView function call in your code: https://snippet.webix.com/4dgvtys1.

Or, as another example, you can modify your function to accept a value that you want to set (or don’t accept a value and set a placeholder value) and use setValue inside your function: https://snippet.webix.com/duwycgn2.