Miva Merchant Development by Scot's Scripts

JS: Console.log View Form Data

Miva Knowledge Base
JS: Console.log View Form Data

WARNING:

This information is offered "AS IS" for internal reference only. Use at your own risk.
Does AI actually understand your Miva Merchant store? Our smart JSON-LD schema generator makes sure it does. Contact us to get started. (more info)

JS: Console.log View Form Data

Scot Ranney • December 19, 2023 (updated: December 19, 2023)


THIS CODE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED;
THE AUTHOR DISCLAIMS ALL LIABILITY FOR ANY DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR STORE DISRUPTIONS ARISING FROM ITS USE.


for (var pair of formData.entries()) {
	console.log(pair[0]+ ', ' + pair[1]+ ', ' + pair[2]+ ', ' + pair[3]+ ', ' + pair[4]+ ', ' + pair[5]); 
}

https://www.scotsscripts.com/mvblog/js-consolelog-view-form-data.html

mvkb_js