Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update default forms with new form attributes #1254

Closed
Tracked by #5312
maxpatiiuk opened this issue Apr 18, 2022 · 5 comments
Closed
Tracked by #5312

Update default forms with new form attributes #1254

maxpatiiuk opened this issue Apr 18, 2022 · 5 comments
Labels
1 - Request A request made by a member of the community 2 - Forms Issues that are related to the form system

Comments

@maxpatiiuk
Copy link
Member

For numeric fields, it may make sense to constrain min, max and step (https://github.com/specify/specify7/wiki/Form-System#:~:text=min%20(positive%20integer%2C%20optional))

For example, min=0 makes sense for Preparation.countAmt

Could also set default value for some fields

@maxpatiiuk maxpatiiuk added the 1 - Request A request made by a member of the community label Apr 18, 2022
@grantfitzsimmons
Copy link
Member

Is there any documentation that includes all of the new forms capabilities that we can share?

@maxpatiiuk
Copy link
Member Author

That's the one I linked above - https://github.com/specify/specify7/wiki/Form-System
It describes all the features that forms have

Of those, here are the new additions:
Support for default arguments for all fields
Support for sorting picklist items using the PickList.sortType field
Added a step parameter for numeric fields and the coordinates plugin (LatLongUI), which allows to round the numbers (https://github.com/specify/specify7/wiki/Form-System#:~:text=be%20set%20to.-,step%20(positive%20floating%2Dpoint%20number%2C%20optional),-If%20the%20field)
Added a sortField parameter to subviews and grid views to set the default sort order (https://github.com/specify/specify7/wiki/Form-System#:~:text=sortField%20(string%2C%20optional%2C%20case%2Dinsensitive))
In grid view, you can also click on a column header to change the sort order live
Date fields can be set not only to today's date using the today default value, but also some relative date like today + 3 days or today - 4 weeks (https://github.com/specify/specify7/wiki/Form-System#:~:text=(string%2C%20optional)-,The%20default%20value%20for%20the%20field.,-For%20date%20fields)

@maxpatiiuk maxpatiiuk removed this from Form Changes Mar 8, 2023
@grantfitzsimmons grantfitzsimmons added the 2 - Forms Issues that are related to the form system label Jul 2, 2023
@grantfitzsimmons grantfitzsimmons moved this to Todo in Form Changes Aug 6, 2023
@grantfitzsimmons
Copy link
Member

Conditional forms and other great features should be included in the future by default.

@grantfitzsimmons
Copy link
Member

The Agent form should be updated with the 7 conditional form system instead of the one used in 6

@grantfitzsimmons
Copy link
Member

Begin addressing in 688e4dc

@specify specify locked and limited conversation to collaborators Dec 20, 2024
@grantfitzsimmons grantfitzsimmons converted this issue into discussion #5573 Dec 20, 2024
@github-project-automation github-project-automation bot moved this from Todo to Done in Form Changes Dec 20, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
1 - Request A request made by a member of the community 2 - Forms Issues that are related to the form system
Projects
Status: Done
Development

No branches or pull requests

2 participants