Confirmation email through google script stopped working. Checked and the csv file contains illegal response which should have been filtered in the form.
Downloaded the csv and xls
Steps to Reproduce
Regex used to check email:
^[A-Za-z0-9.%±]+@[A-Za-z0-9-]+([.][A-Za-z]+)+(,[A-Za-z0-9.%±]+@[A-Za-z0-9-]+([.][A-Za-z]+)+)*$
Check the form, the illegal text shouldn’t have been accepted so this might have happened after the response was submitted (data was omitted) or somehow the form didnt work (or update) for that particular user
No, it doesnt capture my use cases. Its only good for common domains (gmail.com/yahoo.com) but doesnt work on domain.xxx.xx it also doesnt allow for multiple emails
In my form (and in regex101.com), the regex works as intended, it doesnt allow the illegal response ‘email_01@domain.xx email_02@domain.xx’ because multiple emails should be separated by ‘,’ per my regex.
Again there is nothing wrong with the regex. The problem here is I got an illegal response in the csv while its not even allowed in the form.
If the regex were the problem the illegal response wouldn’t have been flagged (as illegal) in the form and in the regex tester. I would have changed my regex instead of reporting it here.
I think this happened because the respondent had an outdated version (the one prior to april 20) of the form (one without the regex) so he/she was able to submit.
@mkmortera, would you also be able to share with us the sample of the issues that you had while exporting your data to CSV? If you feel this should be treated confidentially you could share it with us through private message.
You could see this with the KoBo metadata: start, submission_time. Additionally, you could try to enter and submit an equal invalid case. If you can’t the cause is the past condition.