Yes, you can provide a formTemplate to display specific fields.
Check layerInfos here.
@MohammedZaki Is there any way render an html form in the editor. right now I am trying to render checkbox question but I was not able to render it so looking to see if its possible to leverage html form and the editor
Thank you