I don't know whether to call something a bug if it's simply unwanted behavior, but is also expected behavior.
I suspect that choosing to make it interactive necessitates it be visible in front of other objects to facilitate user interaction.
Is it possible to select the container field object in layout mode and assign it a transparent background with the Inspector panels? Or does the text still disappear?
The field is empty and I've tried with both no fill and a colored fill with 0% opacity.
Not sure what else I might be able to do.
I think this problem is an artifact of the interactivity setting, which, if I remember correctly, FM implements via a form of webviewer. Thus, it imposes a default background color (white) to the interactive field when it's empty.
I think we're stuck with this unless FM changes the method of delivering interactivity to containers.
A workaround idea:
How about placing a merged-text global variable in front of the container, and have a script trigger for both onRecordLoad and onObjectModify (for the container field object) which sets the text to contain the instruction if the field is empty and clears the text out so nothing shows if the container has a file in it?
- If [ isEmpty(myContainerField)]
- Set Variable [ $$instructionMergeText ; "Drag and Drop your file here" ]
- Set Variable [ $$instructionMergeText ; " " ]
- End If
Just tried. The behavior is the same. Interactive I guess is set up to always be on top.
Thanks still Stephen.
One last idea, in conjunction with the script triggered $$variable:
Can you get the text to be on top of the top-left corner anchor point of the merge-text is outside of the container field area but with the text aligned right-bottom to overlap the container area?
Something warns me that FM might not respect this either, but positioning sometimes overcomes other controls, so worth a try?
That was the original discussion where the web browser workings came from FMI engineering, and we realized we were stuck with this issue for the present. Thank's for digging up something to remember -- blasts from the past.