Last active
September 13, 2023 04:49
-
-
Save aimahdi/511b2650525e4e0832f7936ec470c079 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter('fluentform/response_render_tabular_grid', function ($response, $field, $form_id, $isHtml = false) { | |
$field['raw']['settings']['grid_columns'] = ['Ashik'=>'Ashik', 'Ruman'=>'Ruman']; | |
$field['raw']['settings']['grid_rows'] = ['Ibrahim'=>'Ibrahim', 'Nadim'=>'Nadim', 'Tahmid'=>'Tahmid', 'Mahdi'=>'Mahdi']; | |
return \FluentForm\App\Modules\Form\FormDataParser::formatTabularGridFieldValue($response, $field, $form_id, $isHtml); | |
}, 9, 4); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment