Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Wizard Form Template vs Modals with Conditional Branches (APEX 19.2)

McRiversDec 15 2020 — edited Dec 15 2020

I have a master / detail page that will manage users:
master_detail.jpgThere will be two different process flows (for lack of a better term) CREATE and UPDATE.
CREATE (****when a new user is created):
Click the Add User button to begin the flow
User Info modal form is displayed to enter username, FN, LN, etc..., it is validated & saved to database
If User Info saved successfully, display User Roles modal form to assign user roles to the user, it is validated & saved to database
If User Roles saved successfully, then display Confirmation modal with User Info & User Roles
UPDATE (when a user's info or roles are updated):
Click the Edit User button, Add Role button or Edit link (User Roles) to begin the flow
All actions open the associated modal, validates and saves the data, and then closes modal (It is not part of a chain flow like the CREATE process is, each is an independent action)
There is no Confirmation modal for UPDATE process
So with all that explained, my question is what is the best way to do this in APEX. Should I use APEX's Wizard Form template or just use After Submit Branches with Server-side conditions based on the :REQUEST type? Are there pros & cons to either approach? Or being new to APEX, is there something I'm over looking in either approach? Or does it just come down to a style preference?
Thanks in advance,
Mike

Comments
Post Details
Added on Dec 15 2020
4 comments
285 views