Gangadhar Godse

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Issue with rule to set multi-choice field #30401
    Gangadhar Godse
    Participant

    Hi Alex,

    I am facing problem with triggering rules on multi-choice checkbox field using javascript.

    Here is the scenario.

    I have choice field, with choices like Software, Hardware and others.

    I have set rules for each of them using DFFS forms. So when I check “Software” choice, the dffs forms open “ShowSoftwareSection”, When I check Hardware choice, it open ShowHardware section and when I check the Others choice, it open “ShowOthersSection”. All the above rules works fine when I do these activities manually.

    The problem start when I try to load the multi-choice checkbox control dynamically using javascript.

    On button click, if my script brings 2 values in array i.e. Software and others. I am using SetValueField(“controlName”,”Software,Others”) function to select the checkboxes and trigger their respective rules to open the sections.

    Both options get selected on multi-choice control, but only first option’s rule gets triggered and it shows only first section.

    Any help would be appreciated.

    Thanks & Regards
    Gangs

Viewing 1 post (of 1 total)