It would be great if you could add the following to/patch form_display.php:
@@ -1508,6 +1508,7 @@
$target_input_id = $field_id;
$description = self::get_description(rgget("description", $field),"gfield_description");
$field_content = sprintf("%s<label class='gfield_label' for='%s'>%s%s</label>{FIELD}%s%s", $admin_buttons, $target_input_id, esc_html($field_label), $required_div , $description, $validation_message);
+ $field_content = apply_filters("gform_field_content", $field_content, $field, $form_id);
break;
}
It would allow plugin authors to add (more) complex custom fields with
add_filter( "gform_field_content", "my_quite_complex_custom_field_content", 10, 3 );
Thanks ;-)