Yes we can have fields shown as mandatory based upon the view that you are in.
1. Add a field to your main dom.
2. Add an onSwitchView event to your code
3. Here set the current view to the field added in step 1 (thisXDocument.View.Name; will give you the curent view name)
4. Now change your datavalidation to be based up on the field that is added in step 1.
Let me know if you want more details.