Workflow Soluiton

 View Only
  • 1.  Multiple Form Types in One Form Request

    Posted Sep 07, 2010 04:13 PM
    Hello,

    I'm trying to create a form that will dynamically change what fields are displayed when a radio button is selected to select the form type.  This is an RFA request form where a user can select to request to create a new user, change a user, or delete a user.  Depending on what he/she selects, certain fields will be displayed on the form to fill out.

    Right now I have a Dialog Workflow that contains one form builder component, but it seems like the dynamic visibility custom events within each field are not the most efficient way to do this.  Is there any way to create a form for each, and have it load that form when the radio button is displayed instead?  For example, if someone selected the "New User" radio button, the corresponding New User form would be displayed.  Then if they decided they wanted to switch to the Delete User instead, the delete user form would then be displayed.  In other words, the radio button selections would be static, and the fields or form below would be dynamic depending on the option selected.

    I'm not too familiar with Altiris Workflow, so screenshots would definitely help.

    ~Mark


  • 2.  RE: Multiple Form Types in One Form Request

    Posted Sep 09, 2010 06:10 PM
    Hi mlee22,

    The way you are describing what you want to do I think is only possible by stacking panels on top of each other to make it look like the form is changing dymanically. This way would only have to show/hide three panels instead of all the controls Basically what you have to do the following:
    1. Add a form and make it big enough to hold three panels with all your contols
    2. Add a panel on a form, add the controls you want to show for say "New User" and in that panel
    3. Add another panel and add the controls you want to show for "Change a User" in that panel
    4. Add another panel and add the controls you want to show for "Delete User" in that panel
    5. Add the dynamic visibility custom events on the radio button. This may be a little difficult because the name of the panels will all be the same even after changing them so you will have to do some trial and error on it
    6. Stack the panels on top of each other so it only looks like there is one panel on the form
    7. Resize the form
    Doing it this way will give it that appearance that everything is on one form. The only bad thing about this is that if you want to make changes to a panel, you have to "dig" it out in order to do so and the maintenance is more difficult. If you already have your forms built, you can just add a button to leave the form and use a matches rule to go to the form they selected which would be easier to maintain. If you need more clarification please let me know but that's the only way I can think of doing it but maybe someone else has a better way.


  • 3.  RE: Multiple Form Types in One Form Request

    Posted Sep 09, 2010 08:02 PM
      |   view attached
    Here's a sample project with what I described above. By stacking the panels you can use the same space on the form but the hardest thing is showing/hiding the panels and making changes.

    Attachment(s)

    zip
    DynamicFormSample.zip   915 KB 1 version