FAQ
Products Showcase Download Extras Support
 
Home :: Support :: Community :: CourseLab Issues

value.length not working

value.length not working 
Author:  DG    
Date: 29.05.2008 17:51:08
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?

 
...
Re: (1) value.length not working 
Author:  Slav Shchinov   [Courselab Team]
Date: 09.06.2008 01:42:30
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"]



 
...
Re: (2) (1) value.length not working 
Author:  DG    
Date: 11.06.2008 23:52:28
Hi Slav,

Many thanks for your response.Great job guys, and the upgrade is superb.
Cheers
Dan  
...

Reply

You can also post this message as registered user. [Log in]
Author:
E-mail:
Subject:
Options:  Notify me if there is a new reply
Message emoticon:
Message body:
Insert smilie into text:
 
Jump to thread: