Jump to content
  • 0

How to swap placement of Caspio DataPage buttons on Details page?


EricB

Question

2 answers to this question

Recommended Posts

  • 1

Hi Eric,

What I suggest hide the button update and Back and then add header and Footer to add the the custom code back and update.

You may use this code for hide the button and the container, you may insert in the Header of the details page:

<style>
.cbBackButtonContainer {
Display:none;
}
</style>

You may use this code for replacing of the button, you may insert in the footer of the details page:
<a href="URL"><Button class="cbBackButton">Back</Button></a>
<input type="submit" name="Mod0EditRecord" value="Update" class="cbUpdateButton">

I hope this helps.

Link to comment
Share on other sites

  • 0

Hi Telly,

Thanks for the response. I was thinking something along these lines. I got this working by adding it to an HTML block above the footer so it was above the next record arrows and not below it.

I do have one problem now. For some reason if I now click the Back button the "Insert & Update acknowledgment" is now being sent via email saying the record is Approved even though I clicked the back button. I tested the Update record and that still works normally.

See screenshot on how the back button is now on the left

https://imgur.com/a/0OgIcC0

Link to comment
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...
×
×
  • Create New...