Commit aa4db13d by Leonard Ambros II

resolution on WG-393

parent a311a866
...@@ -46,7 +46,7 @@ export async function WriteForm(e,metrics,doctype,section) { ...@@ -46,7 +46,7 @@ export async function WriteForm(e,metrics,doctype,section) {
}); });
fields[Object.keys(lookup[fid]).includes('aka') ? lookup[fid].aka.replace("field", "") : fid] = selectedValue; fields[Object.keys(lookup[fid]).includes('aka') ? lookup[fid].aka.replace("field", "") : fid] = selectedValue;
i += radioButtons.length; //increment the number of radio buttons to skip the other radio button inputs. i += radioButtons.length - 1; //increment the number of radio buttons to skip the other radio button inputs.
continue; continue;
} }
...@@ -69,7 +69,7 @@ export async function WriteForm(e,metrics,doctype,section) { ...@@ -69,7 +69,7 @@ export async function WriteForm(e,metrics,doctype,section) {
}); });
fields[Object.keys(lookup[fid]).includes('aka') ? lookup[fid].aka.replace("field", "") : fid] = selectedValue; fields[Object.keys(lookup[fid]).includes('aka') ? lookup[fid].aka.replace("field", "") : fid] = selectedValue;
i += checkboxButtons.length; //increment the number of checkboxes to skip the checkboxes input i += checkboxButtons.length - 1; //increment the number of checkboxes to skip the checkboxes input
continue; continue;
} }
fields[Object.keys(lookup[fid]).includes('aka') ? lookup[fid].aka.replace("field", "") : fid] = Nodes[i].value; fields[Object.keys(lookup[fid]).includes('aka') ? lookup[fid].aka.replace("field", "") : fid] = Nodes[i].value;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment