A custom DatoCMS plugin that provides form management and validation tools.
1 - Install yarn dependencies
yarn
2 - Configure your environment variables in .env file by using .env.example
3 - Run the server
yarn run start
This plugin adds the following functionality.
- Adds a "Forms" tab to the Top Menu that can be used to access "Form related" tools.
- The first tool
Campaign Searchallows users to searchLead Generation FormModels that contain a specificmarketing_form_campaignvalue. - The second tool
Issue Scanner, goes through all theLead Generation FormModels checking for some common issues.
- The first tool
- Adds a small validation when modifying a
marketing_form_campaignfield to try to avoid invalid values.
The plugin can be easily extended to further tailor to the Factorial needs.
- This is not a true validation, the plugin has no way to prevent the user from saving. This may change in the future with updates to the Dato Plugin SDK.
- The validation does not work when the modal is closed right after saving. This is specially a problem because some DatoCMS views close by default after saving.
Adds an alert for Demo Landing Page model in case the limits of variant are exceeded.