Hi @nithesh.ramanan Thanks for asking, This query is similar to the query already been asked in Dynamo Form.
Please refer to these following post:
Hope this helps.
Ashwani