Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Accessing Form Variables


Not applicable
I need to change some of the form variables via

DEF-0121 is the page name

sec1 is a table

detail is a row group that includes 'info' and 'infoMore'

docTitle is a text field

I tried to change the form variable under the click event in docTitle with the following code:


where as docFocus is a form variable I set up with an initial value of 0.

console.println(this.parent.index) tells me that its returning the desired value, however, when I tried console.println(docFocus.value), it still prints the initial value of docFocus, which is 0.

It probably sounds simple but any help to the right direction would be appreciated, thanks

0 Replies


Level 10
Can you add an app.alert(docFocus.rawValue) before the var nIndexTo statement and see what it returns?


Not applicable
Hello, i have one var array in js and i put on it data from database. The first time it run ok but when an avent fire, my var lose values. It can be? variables lose values?

I only need two combos whit relation. For example country and states but i can't get to work.


Level 10
Can you post a sample of your issue to and I will have a look at your form.