[velo] email type from user form changed

Question:
My code suddenly broke. After hours of debugging I realized that an input field which I used to collect emails, was returning “email” as type rather than “string”. I fixed by changing the type of variable (from the input field) to string. Example: email.toString().

I am wondering if this changes happened recently in Wix (converting a input type to “email” rather than “string”)? I am so confused why my code has always worked by treating that field as a string and in the recent 2 weeks it broke because that field type was either not a string anymore or something similar which resulted in the need of converting this field to a string.

Product:
Velo Javascript

What are you trying to achieve:
Send an input from form as a parameter to external service. It worked before, it stopped working maybe ~1-2 weeks ago. I fixed by changing the type of variable (from the input field) to string. Example: email.toString();

Thanks for reporting. Will raise with the team!

1 Like