You can use code to pass data from a html component to a page and then use code on your page to save the returned data. You can also do it the other way around too and pass data from a page to a html component.
https://support.wix.com/en/article/corvid-working-with-the-html-element
https://www.wix.com/corvid/reference/$w.HtmlComponent.html