Make WbPlanView better detect if a field is required or not #5549
maxpatiiuk
started this conversation in
Feature Requests
Replies: 1 comment
-
|
Another case: This is why if you set a table as "must match", all of its required fields start to show up as optional |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Some fields are marked as required, yet do not actually prevent an upload (Locality > Locality Name)
Some fields are marked as not required but would prevent upload if not mapped (Collection Object > Catalog Number)
Knowing whether a column is required is more complicated than it seems and the field being marked as required or not required may not always align with the real expectation of the uploader (due to business rules).
For example, Latitude/Longitude Type is not required, yet must be provided if Latitude2/Longitude2 is provided.
Similarly, a Catalog Number is not required, but it must be unique, which is only possible when the value is provided.
Also, required often simply means that a field must have a value before it is stored, but it doesn't tell whether the value has to be supplied by the user or by the uploader.
For now, the best way to find out if a field is required is to run validation.
Beta Was this translation helpful? Give feedback.
All reactions