Display Form; ways to 'submit' besides buttons?
Is there more than one way to Submit a form than using Buttons?
What i'm trying to achieve could be done in one Display form, i'm showing/hiding form elements based on values of a DropDownList...
its going to get... 'busy', so i was thinking if i could submit and load another Display form when the drop down changes then i would skip the show / hide functions.
Just wondering what my options are...
-
Hi Ryan,
I'm not aware of any way to submit a form outside of the buttons, but an alternative you might look into is nesting the second Display Form inside a change event.
So, it would look something like:
Display Form > Dropdown > Change Event subworkflow with Display Form #2.
Then you could put the remaining workflow activities inside a change or submit event subworkflow in the second form (instead of putting them in the starting workflow area).
0 -
That's kind of what i was thinking ...
except can you cascade display form #2's submit to #1, so that you could run common logging/cleanup, or would you have to exit the workflow from #2 when done...
0 -
Hi Ryan,
In a case like that, using a button to submit form #2 would run the rest of the change event subworkflow. Once that's complete you'll be sent back to form #1.
If you need to do cleanup and avoid the backwards navigation, you could add the cleanup activities to the subworkflow, and make the last activity in the subworkflow an Exit. That way the workflow stops without sending the user back to form #1.
0 -
Update: GW5 Developers can use the Set Property activity to set the result property on a display form, which submits the form.
Update: Some values do not work as results. String values work though, such as Submit or Cancel.
1 -
Thanks? Peter
Used your suggestion to submit a form from a geometry picker change event without the form reopening and having to click the submit button.
Greg
0
Please sign in to leave a comment.
Comments
5 comments