-
Notifications
You must be signed in to change notification settings - Fork 8
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
XML Sending and custom field mapping #22
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM and it's good to keep easyform functionalities.
Can you please update also the changelog and readme with some infos about this new feature?
@cekk I've updated the changelog and docs. Docs aren't my strong point so would you mind having a look over them before merging? 🙂 |
looks good..can you provide some tests for this new feature (sorry, i forgot to tell you) |
@cekk Added test! |
Cool, thanks! |
Requires collective/volto-form-block#52
This PR adds supports for attaching an XML file containing the data submitted in the form to the email. This feature is available in collective.easyform and may be useful to those transitioning to Volto. To further help transition collective.easyform users who may be reliant on specific field IDs when using collective.easyform, the ability to customise the label for sending/ downloading XML and CSV was also added.
The below video demonstrates the custom value mapping when downloading the CSV file. The XML after the video was the contents of the file attached to the email sent when submitting the form.
Screen.Recording.2022-11-23.at.7.33.22.pm.mov