Home

Results 1 to 2 of 2

Thread: Designer 3.5.1/Idm 3.6.1 uncheck MVCheckbox array values

Hybrid View

  1. #1
    Join Date
    Feb 2012
    Posts
    3

    Designer 3.5.1/Idm 3.6.1 uncheck MVCheckbox array values


    (I created the same thread in IMesigner 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


  2. #2
    Join Date
    Jan 2011
    Location
    Kiev, Ukraine
    Posts
    58

    Re: Designer 3.5.1/Idm 3.6.1 uncheck MVCheckbox array values


    SchnNov;2175844 Wrote:
    > (I created the same thread in IMesigner 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


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •