4.1.3.1.3.2 Programmatic Dynamic Forms and Fixed Dynamic Forms

A dynamic form is a user input field that is generated from the code of a paragraph. Dynamic forms allow users to bind free variables in a paragraph.

The Programmatic Dynamic Forms and Fixed Dynamic Forms scripts are supported.

For Example:

Textbox

The Textbox dynamic form allows users to input any string of characters.

Click Add Python Paragraph to add a paragraph in the notebook and fetch the runtime parameters. This is available for all the interpreters. For example, enter the command as follows:

%python
ds.textbox('Name', 'Default Value', 'Label')
Click Play icon to run the script and display the label.

Note:

In the current release, the notebook supports Textbox, Select, Slider, Checkbox, Date Picker, Time Picker and DateTime Picker dynamic forms.