Hi Feras,
You may have to change some things to make the example provided by Anney work on your site.
This section of the code will save an email, image and name to a collection. “email”, “image” and “firstName” are the field IDs for the collection. If your field IDs are different you will have to change the code to suit them.
“yourCollection” would be the ID for your collection where you want to save the information.
You can learn more about debugging your code with the following article.
Corvid: Testing and Debugging Your Code
Hope this helps!
Dara | Corvid Team