Here is the original layout...
But when "Amplifier" is selected, some fields will be hidden, but can the fields inside the blue box in the below image be moved up automatically by themselves?
In Preview Mode, yes the fields could slide up. But in Browse Mode, no. So if this is for data entry purposes in Browse mode, you might consider a different layout design in order to avoid this situation.
If this is for Print or Preview, there are options on the Position tab of the inspector that you can experiment with to see if you can get them to slide up.
You could use different tabs in your layout and through script triggers navigate to the correct tab.
For example you would have one tab with the complete field set and another one with the minimalistic field set.
In your example, if Amplifier is selected, a script would fire and display the 2nd tab.
This may make life easier.
Always think about the data entry workflow and how to make the job easier for the user.
Secondly consider what it will take to maintain what you have built.
Their is no one way to do this best as every use case is different.
hiding controls, using hidden tabs and sliders, building many layouts, implementing structured data entry screens with a next/back workflow...
Take a look at the bigs (ms, apple, oracle etc) and see how they have done things because most of them have an army of UI/UX pros.
Retrieving data ...