Skip navigation
Currently Being Moderated

Submit Drop Down List

May 19, 2006 6:45 AM

We use Workflow Designer 5.0 and Server 6.2. At one point in the process I have the following actions:

Submit
Decline
Redo
Save

I use radio buttons for a user to indicate a Decline or Redo action. When they select one of the radio buttons, when they try to submit, it prompts them to change submit to Redo or Decline and then submit.

Is there a way when they select the Decline or Redo radio button, to have the action chosen display in JFWF_ACTION for that page? I tried this code on the Decline radio button click event, JFWF_Action_P2.ChoiceList = "Decline", and as you might expect, Decline is in the drop down (like I want) and they can submit, but unfortunately it goes into the great beyond.

On entering the page we have this code:
JFWF_Action_P2.ChoiceList = JFWF_ACTION.ChoiceList
to populate the JFWF_Action_P2 choicelist.

I need to find out if there is a way to do the above or find out that there is not a way. Then I (and the users) will know once and for all.

Thanks in advance.!

Mary
 
Replies
  • Currently Being Moderated
    May 19, 2006 7:18 AM   in reply to (Mary_Methven)
    Hello!

    Actually I think the solution to your problem is a little more simple. From what I can remember the value of the JFWF_ACTION field when the form is submitted is what the server uses to choose an action. The JFWF_CHOICE field has some code in it to update the JFWF_ACTION field when the form is submitted...

    So it sounds like what you want to do is remove the code from the JFWF_ACTION field that updates the JFWF_CHOICE field at submit time and make the drop-down hidden. When the user clicks on a radio button make sure to put the correct value in the JFWF_CHOICE field that corresponds with the Action they chose.

    Hopefully I didn't get any of that too messed up!

    Good luck,

    Will
     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)