Quantcast
Viewing all articles
Browse latest Browse all 6251

Can Input parameters be defined dynamically?

Is there a way to populate the input UI in a dynamic way? Suppose we have a list of fields for which we need to get input parameters and this list is output of a REST command in xml format, can we build a UI based on this? 

(Alternatively, can we have input parameters which are hidden by default but are made visible based on fields in the xml file)

Example: In the xml output below, the input field should take a number with the description for input being "Number of volumes"

<field>
<label>Number Of Volumes</label>
<name>numberOfVolumes</name>
<type>number</type>
<initial_value>1</initial_value>
<lockable>false</lockable>
<min>1</min>
<omitNone>false</omitNone>
<required>true</required>
<select>one</select>
</field>
Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 6251

Trending Articles