wixLocation.query empty upon form submission

  1. It’s better use curretnMember.getmember() or at least wixData.get(‘Collection’, id) no need to use wixData.query.

  2. Try to add console.log() 's to locate the problem.