Number CiviCRM field does not use civicrm_number

Created on 12 June 2023, over 1 year ago
Updated 13 June 2023, over 1 year ago

1.0 Problem/Motivation

Hello, we have detected that a CiviCRM custom field of type number field in webform is created as a text field.

2.0 Detailed steps to reproduce (embed screenshots)

  1. Create a custom field in CiviCRM of type number
  2. Assign the field in a webform and check the field type, note that you can't put type number

3.0 Proposed resolution

Maybe it would be better to create this field as civicrm_numer and take advantage of the benefits this brings to the field configuration.

A possible patch/fix in case of improvement of the module is attached.

Thanks!

🐛 Bug report
Status

Active

Version

6.2

Component

CiviCRM Data Handling

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024