Hoppa till huvudinnehållet

How to 'index' or identify the check boxes in a checkbox group - workflow5. Need Help!

Kommentarer

2 kommentarer

  • Deep Bhari

    Workflow5_question!

    0
  • Ken Lyon

    Hi Deep,

     

    I've attached an example that will hopefully point you in the right direction.

     

    Here's a summary of what it does:

    1. Show a form with a checkgroup of hard-coded items. The final one has a value of "all".
    2. Add a "change" event handler on the Check Group.
    3. In the change subworkflow:
      1. Use the Get Form Event Data activity to get the details of the change.
      2. If the value is "all", this means the last checkbox was just checked. (When unchecking it, the value would be undefined.)
      3. Use the Set Form Element Item Property activity to set checked to false for the other checkboxes.
      4. If the value was not "all", make sure the "All" checkbox is not checked.

     

    0

Du måste logga in om du vill lämna en kommentar.