rgiljohann Posted September 6, 2018 Report Share Posted September 6, 2018 I have an 'Update Single Record' Form that is working perfectly since I followed past forums, but I cannot figure out how to hide the original 'update' button. I am using a new HTML Block button to submit the form, and then go to a new page. I cannot use the canned 'go to new page' because I am deploying in Iframes. I was able to hide the button by going to 'styles' and changing the display to none, but the problem is that also hides my HTML Block button as well, and I need that to show. Do you have any idea on how to hide the original update button, but keep my HTML Block button? My code samples are below. Header: <script> function updateRecord(){ window.top.location('http://yahoo.com'); } </script> HTML Block Button: <input class="cbUpdateButton" id="Mod0EditRecord1" name="Mod0EditRecord" onclick="updateRecord()" onmouseout="cbButtonHover(this,'cbUpdateButton');" onmouseover="cbButtonHover(this,'cbUpdateButton_hover');" type="submit" value="Next Page" /> Footer: <script> document.getElementById("Mod0EditRecord").style.display = "none"; </script> Quote Link to comment Share on other sites More sharing options...
Kurumi Posted September 7, 2018 Report Share Posted September 7, 2018 Hi @rgiljohann, May we know your URL? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.