bkurzbuch Posted July 22, 2020 Share Posted July 22, 2020 I have a job that looks like the perfect job for the multi-Line Record Input feature, but I'm unsure has how to proceed. I've attached a sample template with data and a sample output. I've create a 3 column text box for this data and defined it as a multi-Line Record. From here I'm a little lost. I know I ned to call out the FusionPro.GetMultiLineRecords(), but unsure how. Once again i know what I need to say just not how to say it it javascript. Ugh. I need to rerun the "Check Num", "Check Date and "Check Amount" for each record. The record changes is every time the name changes. FusionPro 11.1.2 Mac Indesign 2020 and latest Acrobat. Thanks for the help.Sample_Job_Collect.zip Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted July 24, 2020 Share Posted July 24, 2020 This rule should work: var result = ""; var data = FusionPro.GetMultiLineRecords(); for (var r = 1; r <= data.recordCount; r++) { result += "Check#: " + data.GetFieldValue(r, "Check Number") + "\n"; result += "Check Date: " + data.GetFieldValue(r, "Check Date") + "\n"; result += "Amount: " + data.GetFieldValue(r, "Check Amt") + "\n\n"; } return result; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.