Entity:
Degree
Forms:
- Graduation
- Post Graduation
Requirement:
When user clicks on New, the Graduation form opens up. Now, using the left navigation pane, I can choose Post Graduation and then the Post Graduation form opens up. I have also written the JS which will flip between the two forms (based on the value selected in the new_degreetype) for existing records. It is undoubtedly ugly because it loads the form twice.
Question:
How do I get this to work with new forms. That is, when the user clicks on New, I want to display a pop up where the user is supposed to pick Graduation or Post Graduation and depending upon the value chosen there, I open the right form in Create mode.
How can I prevent the user from choosing the other form via the Left Navigation pane. So, when the user tries to change the form from Graduation to Post Graduation, display a Message and say "Sorry! This is not allowed". Alternatively, can I remove that completely - not give the user the option to be able to flip the form.