Adding Choices in a Sub-Form Dropdown

Adding Choices in a Sub-Form Dropdown

Hi,

Has anybody tried Adding Choices to a Dropdown in a Zoho Creator Sub-Form programmatically?

My Deluge code adds rows to a subform with 2 fields A and B.
A - text field. B - dropdown. My Deluge script adds the row and displays A successfully. For the dropdown B, i want to set these options "Option 1" and "Option 2". How do i achieve this simple functionality?