I have a page built in JSF.
On it are some mandatory input fields.
I have two buttons - Submit & Cancel.
When a user hits Submit I want to ensure that everything is filled out, which works fine currently.
But when the user hits Cancel I want navigation to occur even though some of the inputs may be empty.
How can I achieve this?? Thanks!