How to configure a Checkbox / Radio Button in the fieldset component to create a form?

What Data Type and Data Source should be provided if I want to display the data along with that element ?

For an instance:

checkbox

1 Like

Hi @simran.sachdeva
To configure a checkbox/ Radio button in the fieldset component, we have to follow these steps:-

  1. First of all we have to create one Enumeration in Data Modeller.
  2. Now go to vFlow configurator and under that fieldset go to elements option.
  3. Click on create option at the top.
  4. Provide the name and select the type as checkbox/ radio button.
  5. Provide the label of that element.
  6. Come to data option.
  7. Under data source select data type as “enum”.
  8. Under data source select that Enumeration which you have created in the Data Modeller.
  9. Under Data Path provide the data path using getVal(“”) function.
  10. Save the element, commit it and deploy it.

In case you don’t want the label of radio button/ check box then you have to apply custom css for that.