nliautaud / p01contact

Create contact forms by writing simple tags. Also a plugin for GetSimple and Pico CMS.
MIT License
16 stars 15 forks source link

Log of results #49

Open bddrey opened 5 years ago

bddrey commented 5 years ago

I have a local version that writes all the results to a log file per page for database tracking and analytics. I think this feature is very useful and could placed in the master.

Not a log of contact events; it is a flat file database of all the results of the form submission.

nliautaud commented 5 years ago

Hi !

Improving logs would be useful indeed. Feel free to submit a Pull Request and documenting the advantages and uses cases of your implementation, especially concerning the storage.

Note that it may need some thoughts in terms of UX, for example to determine if options to enable/disable some type of logs would be needed.

plirof commented 3 years ago

p01contacts seems extremelly powerful. Getting the responses in a simple file would be very useful (I don't really want to get 50 mail and the fill an excel file by opening all the mails). So I give a "thumbs up" to this feature.

I'm posting here my question because I think it is related. I will post it at get-simple forums also.

I'm trying to use p01contacts to extract the submitted forms in a CSV file. I managed to do this per form but I'm having trouble with checkboxes/radio buttons. If I give options AA,BB,CC,DD and I select CC & DD it will return 2,3. How can I get the values selected (CC,DD) by text value?