In the file field settings form I want to add an extra checkbox field just like the required field but I am unable to do that.
I can add it to the
webform_component_edit_form like the following
$form['validation']['check'] = array( '#type' => 'checkbox', '#title' => t('Check'), '#default_value' => ($component['check'] == '1' ? TRUE : FALSE), '#description' => t('Check this option if the user should be able to upload files.'), '#weight' => -1, '#parents' => array('check'), );
But it is not displaying in the
formbuilder file settings edit form
Is there any way to add a field to
form_builder_field_configure form and save with the node just like other fields?