HOME ➔ SUPPORT ➔ Community ➔ General CourseLab issues ... value.length not working
value.length not working
  View type:
Hi there,

I used the $OBJ_ID.value.length javascript code in foms (text field) in course lab 2.3 and it worked but it is not working in v2.4 is there a workaround for this issue?
[:)]
 
Hi, DG,

In fact, it should not working in 2.3 too, it was kind of undocumented feature [:)] If you are familiar with JavaScript, then you can use JAVASCRIPT action and JavaScript access to CourseLab variables (field value is always stored in variable). If the scope of field variable is set to Slide, then the value is stored in

g_arSlideVars["var_name"]

If the scope is Entire Module:

g_arVars["var_name"]



 
 
Hi Slav,

Many thanks for your response.Great job guys, and the upgrade is superb.
Cheers
Dan[:)]
Subject:
Message options
No additional options