Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2020 03:31 PM
You can do this with a little jQuery (if your client script isn't isolated)
var allFields = this.jQuery('[id*="element."]');
var thisTable = allFields[0].id.match(/element\.([\S\s]+)\./)[1];
this.jQuery.each(allFields,function(field){
var fieldName = allFields[field].id.replace('element.'+thisTable+'.','');
console.log(fieldName + ' = ' + g_form.getValue(fieldName));
});