I have searched through the forums and see mention of this issue but no solid solutions. I have five display elements that are used to provide information based on a dropdown selection. The issue is when opening an existing record all 5 of the display elements are shown then 4 are hidden to show the element that is expected. This momentary showing or flashing of elements that I expect to be hidden simple looks bad.
I have tried a number of suggestions such as hiding the element then using JavaScript to show the element which for the display element requires me to change the type to 'field', hide then save, then change back to Display and save, as the Display does not have a hide attribute. This does hide the element creating another issue that the JavaScript is not able to show the element. I know my JavaScript is correct as when the Display element is not forcefully hidden it works just fine.
I also have tried both using the pre-defined JavaScript options to show/hide elements as well as putting the code in the form_??.js.
Any suggestions on how to clean this up would be great.
-Eugene
I have tried a number of suggestions such as hiding the element then using JavaScript to show the element which for the display element requires me to change the type to 'field', hide then save, then change back to Display and save, as the Display does not have a hide attribute. This does hide the element creating another issue that the JavaScript is not able to show the element. I know my JavaScript is correct as when the Display element is not forcefully hidden it works just fine.
I also have tried both using the pre-defined JavaScript options to show/hide elements as well as putting the code in the form_??.js.
Any suggestions on how to clean this up would be great.
-Eugene