Thank you @Suvrutt_Gurjar
I’ll try to re-phrase my previos question.
I want to have 2 views which are almost identical since both views are for adding a “transaction” into the TRANSACTIONS table.
But, I have 2 types of transactions… “Incomes” and “Expenses” (and that is the main difference). I differ them by having a column [transactionType] which is an Enum that can be either “INCOME” or “EXPENSE”.
Then, I want to have 2 views… one to “Add Income” and another to “Add Expense”, and I want them to show on the bottom of the scree as 2 buttons.
What I wish, is that if the user hits on the “Add Income” button, the view will be displayed and the [transactionType] would be already selected as “INCOME”.
In similar way, when the user will hit the “Add Expense” button, then the view will be displayed and the [transactionType] would be already selected as “EXPENSE”.
Eventually, the idea is to even not show the [transactionType] in the view (as long as the proper values are pre-filled, depending on the button the user is hitting).
All of this is just to prevent the user would be wrongly adding an “income” but by mistake have the [transactionType] as “EXPENSE” (or viceversa).
I hope that this explains better my user case.