I currently have a cost to hire calculator widget I made as an HTML plugin, and I am trying to store the result along with other text fields in a wix database collection. I read that you can use messaging to communicate between the page and the iframe, and you can use ‘wix-data’ library insertion function to store result in the database. After several days of trying to plug this in, I have had no luck.
My html code and page code can be retrieved at https://github.com/asbaca93/Calc
The webpage is https://www.cannanmstaff.com/test
I have a database collection in wix called calculator, and for now there is only one column named title, but the plan is to add more columns, and pass a structure of fields from the html plugin in the iframe to the page code, then to the database collection
Any Suggestions?
Thanks