{"id":27125435,"url":"https://github.com/dubit/unity-forms","last_synced_at":"2025-04-07T14:53:20.402Z","repository":{"id":49567899,"uuid":"135585617","full_name":"dubit/unity-forms","owner":"dubit","description":"Forms is designed to get Unity user interface forms built quickly.","archived":false,"fork":false,"pushed_at":"2021-06-14T09:03:17.000Z","size":45,"stargazers_count":10,"open_issues_count":2,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2023-08-03T20:22:29.612Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dubit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-31T13:12:44.000Z","updated_at":"2023-08-03T20:22:29.612Z","dependencies_parsed_at":"2022-09-17T15:53:15.945Z","dependency_job_id":null,"html_url":"https://github.com/dubit/unity-forms","commit_stats":null,"previous_names":[],"tags_count":1,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dubit%2Funity-forms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dubit%2Funity-forms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dubit%2Funity-forms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dubit%2Funity-forms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dubit","download_url":"https://codeload.github.com/dubit/unity-forms/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247675602,"owners_count":20977376,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-04-07T14:53:19.725Z","updated_at":"2025-04-07T14:53:20.384Z","avatar_url":"https://github.com/dubit.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# unity-forms\n\n## What is it?\nForms are designed to make UserInterface forms quicker. A form can hold multiple fields with pre-made fields available such as:\n\n* Text Input\n* Radio button\n* Dropdown\n* Checkbox\n\nHowever you can extend AbstractFormField.cs and make a custom field.\nAlso included are Validators, validators are components you can add to the field GameObject that determine if the form can be submitted successfully. Validators available are:\n\n* Regex\n* FieldMatch\n* CheckBox IsOn\n* NullOrEmpty\n* Text length\n\nWith options like clear field on submit and the OnValidationFailed event you can customize the users experience and feedback.\n\n## How to use it.\nCreate your fields and assign unique id's to each one.\nReference the fields in the form component.\nApply an extra validator components to the fields.\nAssign the submit button to the Form component.\n\n```c#\nform.OnSubmitForm += HandleFormSubmitted;\n\nprivate void HandleFormSubmitted(Dictionary\u003cstring, AbstractFormField\u003e fields)\n{\n\tvar email = fields[\"email\"].GetStringValue();\n\tvar password = fields[\"password\"].GetStringValue();\n}\n```\n`OnSubmitForm` will only Invoke if all validators return valid.\n\n## Examples\nExamples are included in the Examples folder. \nIt includes an example login and registration form with form field validation messages.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdubit%2Funity-forms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdubit%2Funity-forms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdubit%2Funity-forms/lists"}