Add custom field key separator
add_filter( ‘frm_unique_field_key_separator’, ‘use_custom_field_key_separator’ ); function use_custom_field_key_separator() { return ‘___’; }Continue reading
Join 2,000,000+ Professionals who use WPCode to Future-Proof Their Websites!
add_filter( ‘frm_unique_field_key_separator’, ‘use_custom_field_key_separator’ ); function use_custom_field_key_separator() { return ‘___’; }Continue reading
add_filter( ‘frm_unique_form_key_separator’, ‘use_custom_form_key_separator’ ); function use_custom_form_key_separator() { return ‘___’; }Continue reading
add_filter(‘frm_email_control_settings’, function( $options ) { $options[‘limit’] = 200; // Change 200 to your limit return $options; } ); add_filter(‘frm_form_action_limit’, function( $limit ) { return 200; //Change 200 to your limit } );Continue reading
add_filter(‘frm_validate_field_entry’, ‘add_alt_text_form_images’, 10, 4); function add_alt_text_form_images($errors, $posted_field, $posted_value, $args){ if ( $posted_field->id == 14548 ) { // Change 14548 with the ID of your repeater field $image_field_id=14550; // Change 5844 to the ID of the file upload field $alt_text_field_id=14551; //…Continue reading
add_filter(‘frm_time_to_check_duplicates’, ‘change_duplicate_time_limit_every_form’); function change_duplicate_time_limit_every_form() { return 31536000; }Continue reading
add_filter( ‘frm_reg_password_strength_check’, ‘__return_false’ );Continue reading
add_filter( ‘frm_currencies’, ‘remove_euro_symbol_padding’ ); function remove_euro_symbol_padding( $currencies ) { $currencies[‘EUR’][‘symbol_padding’] = ”; return $currencies; }Continue reading
add_filter( ‘frm_form_enctype’, ‘custom_form_enctype’, 10, 2 ); function custom_form_enctype( $enctype, $form ) { $target_form_id = 832; // change 832 to your form ID. if ( $target_form_id === (int) $form->id ) { $enctype = ”; } return $enctype; }Continue reading
add_filter( ‘frm_validate_entry’, ‘remove_spam_error’ ); function remove_spam_error( $errors ) { if ( ! array_key_exists( ‘spam’, $errors ) || FrmAppHelper::get_ip_address() ) { return $errors; } if ( __( ‘Your entry appears to be spam!’, ‘formidable’ ) === $errors[‘spam’] ) { unset( $errors[‘spam’]…Continue reading
add_filter(‘frm_formatted_entry_values_content’, ‘show_field_name_in_api_result’, 10, 2); function show_field_name_in_api_result( $content, $args ) { $entry_id = 58191; // change 58191 to your entry ID if ( $entry_id !== (int) $args[‘entry’]->id || ! is_array( $content ) || ‘array’ !== $args[‘format’] ) { return $content; }…Continue reading