Hi,
I am trying to create a new field type.
It should function the same as the existing text input field. However, I am not use how to set this up.
I am looking at the code formidable provides and it is simple to add the field, but it has not text input nor a read only function.
https://formidableforms.com/knowledgebase/add-a-new-field/
add_filter( 'frm_available_fields', 'add_basic_field' ); function add_basic_field( $fields ) { $fields['new-type'] = array( 'name' => 'My Field', 'icon' => 'frm_icon_font frm_pencil_icon', // Set the class for a custom icon here. ); return $fields; }
Any help would be appreciated. Thanks!
Please login or Register to submit your answer