Step Option in Number
-
Hi, This is another handy & useful add-on by you.
Before you released this, I was use to with this code, which I modified slightly to add step option in list fields number column. This ‘step’ option helps me to increase or decrease number value by mouse with given steps.add_filter( 'gform_column_input_content_38_287_3', 'change_column_content_number', 10, 6 ); //Form-ID_Field-ID_Column-number function change_column_content_number( $input, $input_info, $field, $text, $value, $form_id ) { //build field name, must match List field syntax to be processed correctly $input_field_name = 'input_' . $field->id . '[]'; $tabindex = GFCommon::get_tabindex(); $new_input = '<input type="number" name="' . $input_field_name . '" ' . $tabindex . ' value='. $value . ' max= "100.00" min= "0.00" step="0.01"/>'; return $new_input; }
Is it possible to add this feature on your plugin?
https://www.ads-software.com/plugins/list-field-number-format-for-gravity-forms/
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Step Option in Number’ is closed to new replies.