Skip to content

Commit 2d526cd

Browse files
authored
docs: add form field plugin example (#4395)
1 parent 4ccd5d8 commit 2d526cd

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/developer/form-field-plugins/introduction.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,15 @@ They are injected directly into the form and can be used for a variety of purpos
1515

1616
---
1717

18+
### Reference form field plugin implementation
19+
20+
You can use a form field plugin to generate unique patient identifiers and implement custom business logic directly within enrollment and event forms.
21+
This reference implementation demonstrates how to create a plugin that automatically generates patient IDs in a specific format and provides field locking functionality to prevent accidental modifications.
22+
23+
Check out the [Reference Form Field Plugin](https://github.com/dhis2/reference-form-field-plugin) for a complete example with Docker setup, plugin configuration, and customization guidelines.
24+
25+
---
26+
1827
### Civil registry integration
1928

2029
You can use a form field plugin to make external API calls to any existing service, such as a civil registry.

0 commit comments

Comments
 (0)