I have one label that upload files, and below the label I have link "Upload more" that when I click on it, it have to create me another label same like the previous one. I'm doing this in Appian.
<a href="javascript:callShowHideLabel1("label2")">Upload More</a>
where label2 is my next label, and this goes to Instructions (if someone is familiar with Appian)
Here is my function:
function ShowHideLabel1(label){
var l = FormAPI.getValue(label).id;
window.FormAPI.show(label);
return true;
}
Where do I go wrong?