Vindy Posted April 29, 2019 Report Share Posted April 29, 2019 I have an additional save button added on my detail page apart from the one at the bottom. I’m wondering if there is a way to configure these two to do two different actions. Preferred way is: additional save button to save and load the same page where the button at the bottom to save the record and display a confirmation message. at the moment both buttons save and load the same form after hit save. below is the code for the additional save button. <div style="margin-left: 1350px;"> <input class="cbSubmitButton" id="Submit" name="Submit" onmouseout="cbButtonHover(this,'cbSubmitButton');" onmouseover="cbButtonHover(this,'cbSubmitButton_hover');" type="submit" value="Save" /></h3></div> Appreciate your ideas. Cheers Vindy Quote Link to comment Share on other sites More sharing options...
Alison Posted May 14, 2019 Report Share Posted May 14, 2019 Hi @Vindy, To display a confirmation message after the additional save button has been clicked you should add the onclick attribute with the alert function in it. Please try the following code for the button: <input class="cbSubmitButton" id="Submit" name="Submit" onclick="alert('The record has been saved')" type="submit" value="Save" /> 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.