Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.

How can i define _TABEL_VENIT it already exists but it gives me an error

Avatar

Level 2

Hello, I am a newbie and I have a form that I`m working on and it gives me this error:

ReferenceError: _TABEL_VENIT is not defined

4:XFA:form1[0]:tabelAnexa[0]:Row[1]:veg2[0]:veg1[0]:prod[0]:frmO[0]:change

But TABEL_VENIT already exists...what can i do to repair the error ? Please help

This is the code that gives the error:

    _TABEL_VENIT.setInstances(0);

    _TABEL_VENIT.setInstances(1);

2 Replies

Avatar

Level 2

I solved it..I didn`t reference it correctly

Avatar

Level 2

Correct reference is :

     body2.activitati._TABEL_VENIT.setInstances(1);