nocodb icon indicating copy to clipboard operation
nocodb copied to clipboard

🔦 Feature: Need option to add validation to each column before values are added

Open PrasanthKumar77 opened this issue 3 years ago • 4 comments

Please confirm if feature request does NOT exists already ?

  • [X] I confirm there is no existing issue for this

Describe the usecase for the feature

i would like to have a validation feature for each column. i have usecases where

  1. i want to have a column with validation of max length 10 and min length 2
  2. i want to have date column in particular format only
  3. i want age should be only greater than some value

Suggested Solution

provide a option to add validations for each column. depending on the field type and custom regex should be possible. the validations should work when adding data through api or bulk inserts like csv updload

Additional Context

No response

PrasanthKumar77 avatar Sep 30 '22 14:09 PrasanthKumar77

hi @o1lab, may i know if this is currently in your roadmap?

PrasanthKumar77 avatar Oct 13 '22 07:10 PrasanthKumar77

Hi @o1lab , May i know if this is in your roadmap for future releases? we want to enforce unique values in a particular column before adding/bulk adding rows along with above mentioned validations.

PrasanthKumar77 avatar Dec 26 '22 09:12 PrasanthKumar77

Hi @o1lab , Is it present in roadmap? We are expecting,

  1. We need to be able to add Custom Validation for Columns similar to any normal SQL database Check Constraints.
  2. If User input any error in the data, then it should highlighted to user mentioned what is the issue before update. Thanks!

cons-barathan avatar Oct 27 '23 07:10 cons-barathan

We plan to introduce this feature for form based input to start with (a simple range validation mechanism for various types). And depending on the use case, we might consider expanding it to other input mechanisms.

dstala avatar Mar 31 '24 08:03 dstala

form based input validation is supported now in nocodb-cloud.

dstala avatar May 12 '24 03:05 dstala