{"id":15490749,"url":"https://github.com/sammarks/drupal-form-api-add-remove","last_synced_at":"2025-03-28T16:28:08.963Z","repository":{"id":17947804,"uuid":"20930508","full_name":"sammarks/drupal-form-api-add-remove","owner":"sammarks","description":"Example repository for AJAX add/remove functionality on Drupal forms.","archived":false,"fork":false,"pushed_at":"2014-06-17T16:23:58.000Z","size":152,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-02T16:56:13.528Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sammarks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-06-17T16:09:34.000Z","updated_at":"2017-09-21T13:21:45.000Z","dependencies_parsed_at":"2022-09-24T20:01:49.428Z","dependency_job_id":null,"html_url":"https://github.com/sammarks/drupal-form-api-add-remove","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sammarks%2Fdrupal-form-api-add-remove","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sammarks%2Fdrupal-form-api-add-remove/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sammarks%2Fdrupal-form-api-add-remove/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sammarks%2Fdrupal-form-api-add-remove/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sammarks","download_url":"https://codeload.github.com/sammarks/drupal-form-api-add-remove/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246061898,"owners_count":20717523,"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":"2024-10-02T07:23:36.871Z","updated_at":"2025-03-28T16:28:08.702Z","avatar_url":"https://github.com/sammarks.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Drupal Form API Add/Remove Example (with AJAX)\n\nThis module is an expansion of Drupal's AJAX add more example ([found here](https://api.drupal.org/api/examples/ajax_example%21ajax_example_graceful_degradation.inc/function/ajax_example_add_more/7)).\n\nThis example expands it to allow the user to remove specific rows instead of removing just the last row. It also bundles it up into a single module so it's much easier to read.\n\nThis repository is meant to serve as an example, and as such isn't intended to be used on a production website.\n\nYou could extend this module and add an implementation of `hook_schema` and use `drupal_write_record` to store the contents of the form in the database.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsammarks%2Fdrupal-form-api-add-remove","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsammarks%2Fdrupal-form-api-add-remove","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsammarks%2Fdrupal-form-api-add-remove/lists"}