|
|
|
|
167
|
// return: a block containing the field and a label describing it (if enabled)
|
167
|
// return: a block containing the field and a label describing it (if enabled)
|
168
|
function getField(fieldInfos) {
|
168
|
function getField(fieldInfos) {
|
169
|
var block = document.createElement('div');
|
169
|
var block = document.createElement('div');
|
170
|
- block.setAttribute('id', fieldInfos.name);
|
|
|
|
|
170
|
+ block.setAttribute('id', 'form_' + fieldInfos.name);
|
171
|
|
171
|
|
172
|
// Declare the variable first
|
172
|
// Declare the variable first
|
173
|
let field = {};
|
173
|
let field = {};
|