I have the following bit of code on my form, which is working fine, except that it is causing LF Forms to throw a validation error on the field in the table that this effects, when I try to submit.
Anyone have any advice?
$(document).on("lookupcomplete",function(){ setTimeout(function(){ $('.link [type="text"]').each(function(e,el){ var link=$(el).val(); $(el).replaceWith($('<a href="http://www.my.path.com/myfiles/' + link + '.pdf" target="_blank">' + link + '</a>')); });}, 500); });
Errors encountered during forms submission:
Field Name: Application ID, Position: 5, Error: Invalid number of rows in collection/table. [LFF9313-InvalidNumberOfElementsInCollection] [LFF9312-ErrorOccuredDuringFormsValidation]
You can click the back button on the browser to correct and resubmit the form. [LFF9320-FormsValidationAggregateException]