Auto-populate address field for current user
add_filter(‘frm_get_default_value’, ‘auto_populate_address_field’, 10, 2); function auto_populate_address_field( $new_value, $field ) { if ( $field->id == 250 ) { //change 250 to the ID of the field you want to autopopulate global $wpdb; $user = wp_get_current_user(); $get_field_id = ‘256’; $get_field = FrmField::getOne(…Continue reading