Jump to content
  • 0
Sign in to follow this  
MostlyJava

Update Button For Detail Report

Question

Hello there,

I want to add some additional buttons to the report. The thing is, those buttons are not aligned with the UPDATE button that comes with the report, so I want to recreate that button to be able to align it with the rest and desable (display: none) the one that comes with the form.

I was already successful with the submission one:

 

<a href="javascript:window.submit()">SUBMIT</a>

 

<script>
function submit() {
document.getElementById("caspioform").submit();
}
</script>

 

But I still cant find the way to do this for the UPDATE one. Does anyone knows how to do this?

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Hello MostlyJava,

 

As far as I know, you can use the same code for the Update button (you can change the name of the link, if you want).

I have tested it on a Single Update Form, and the Form was submitted and the data was updated.

 

Does you have any problem with this code?

Share this post


Link to post
Share on other sites

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.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...