You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Update an Array from Javascript

edited May 1, 2019 8:51PM in Visual Builder 14 comments

Summary

Update an Array from Javascript after assigning field values in one column

Content

Hello,

I create the following screen included below.

I've created a function that iterates over the array and assigns a sequence number in one field for every row.  The sequence number is generated using a range.  This range will represent check numbers.  The idea is to update all payment rows with the check number.

range -     10  to 20

rows         check number

1               10

2                11

3               12

10             20

I can get this to work in pure javascript in Sublime but I am unable to get it to work in VBCS.

The function accept two parameters from the Page (paymentArray, lowNumber).

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!