I have 5 pages and each page contains mass amount of fields. Lets say I navigated till page 3 and want to cancel/exit the form and that time want to save the data to backend via a DD service. The service call will be repeated 3 times(once per page).
when I log the jsonified form data in console (Util.jsonify(data)), it prints all data but there is no marker to identify page specific data. I want to get data belongs to each particular page, so that I can pass per page data at a time to the service.
Any suggestion/help will be highly appreciated.
You can find all the items on a page (e.g. with id firstPage) with
var pageItems = Util.descendants(Form.items.firstPage)
You can put all their data in an object (e.g. called result) with
result[item.id] = data[item.id]