I have added a large block of instructional text to the top of table view via the tablename_header() function in the hook file.
This worked flawlessly in 5.12. In 5.31, however, a button appears superimposed on the header text with the caption "Submit Query". This is an unstyled, generic grey button.
Testing reveals that it only appears when the custom header block reaches a certain size (height). This size does not need to be particularly large (more than about 80px will do...).
It appears to be coming from this code:
Code: Select all
<input id="EnterAction" type="submit" onclick="return enterAction();" style="position: absolute; left: 0px; top: -250px;">
Code: Select all
<input id="EnterAction" type="submit" style="position: absolute; left: 0px; top: -100px;" onclick="return enterAction();">
If I change the code in datalist.php to generate a top position of -100 instead of -250 it just moves the button further down the page! Something less obvious is going on.
Can you please help?
Thank you.