Skip to content
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

Save forms to file instead of just email them #62

Open
plirof opened this issue Mar 24, 2021 · 2 comments
Open

Save forms to file instead of just email them #62

plirof opened this issue Mar 24, 2021 · 2 comments

Comments

@plirof
Copy link

plirof commented Mar 24, 2021

I have tried p01contact and it seems very poweful.

I'ts nice to post form entries to an email but It would be even better to be able to store entries to a file (eg a csv). This would help to make questionaires and be able to do a statistica analysis. Even just a simple log that could be parsed later could do the trick.

If you don't plan on implementing such a feature could you give any clues on where to modify the code to try and implement this;

Thanks

@nliautaud
Copy link
Owner

Hi, logs are currently stored for each request, in a log.json file. There is a corresponding parameter in the settings.

Feel free to describe an improved behaviour that you may think of.

@plirof
Copy link
Author

plirof commented Apr 1, 2021

Hello.
Thanks , I didn't noticed that.
I was thinking of 3 possible "solutions". The first 2 will need for me to make a parser but it's not a big problem.

  1. Store each form in different file
  2. (maybe the easiest)Keep them in one file but somehow add a tag to seperate different form data (I think the work-arround here could be to add a dummy field).
  3. Save them directly as csv (possibly different file per form). This was the way I exported data from Drupal webform.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants