Highlighted
SchnNov Absent Member.
Absent Member.
253 views

Designer 3.5.1/Idm 3.6.1 uncheck MVCheckbox array values


(I created the same thread in IM:Designer forum, but was wrong there).

Hi, I am a new user of Designer and have a problem with scripting.
Maybe someone can help:

I have a MVCheckbox form field, which contains an array of checkbox
values (set by field.setValues()). The array contains dn values.

The checkbox values are changed programmatically by an event triggered
by another form field (also a checkbox). Setting works good by using
field.activate(), but I cannot find any command to unselect them.
Workaround is to delete all values and recreate empty, but this is
causing timing problems.

Best regards
Joerg


--
SchnNov
------------------------------------------------------------------------
SchnNov's Profile: http://forums.novell.com/member.php?userid=123885
View this thread: http://forums.novell.com/showthread.php?t=452288

Labels (1)
0 Likes
1 Reply
hello_amigo1 Absent Member.
Absent Member.

Re: Designer 3.5.1/Idm 3.6.1 uncheck MVCheckbox array values


SchnNov;2175844 Wrote:
> (I created the same thread in IM:Designer forum, but was wrong there).
>
> Hi, I am a new user of Designer and have a problem with scripting.
> Maybe someone can help:
>
> I have a MVCheckbox form field, which contains an array of checkbox
> values (set by field.setValues()). The array contains dn values.
>
> The checkbox values are changed programmatically by an event triggered
> by another form field (also a checkbox). Setting works good by using
> field.activate(), but I cannot find any command to unselect them.
> Workaround is to delete all values and recreate empty, but this is
> causing timing problems.
>
> Best regards
> Joerg


There is no way to unselect a particular checkbox, as I know. Just pass
an array with the values you want to select to field.select function,
like this: field.select([value1,value2,...,valueN]);


--
hello_amigo
------------------------------------------------------------------------
hello_amigo's Profile: http://forums.novell.com/member.php?userid=101672
View this thread: http://forums.novell.com/showthread.php?t=452288

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.