Jump to content
Sign in to follow this  
satch

Create a button to go to another Datapage

Recommended Posts

Hi,

 

I've searched the forum but cannot find it.

I'm looking for a button to go to another datapage within my app.

I can create a link to another data page, but no button (It hink it goes wrong because it asks for class="cbMenuItem"")

The style of the button should be preferably in the style of the Submit button used on datapages.

Share this post


Link to post
Share on other sites
2 hours ago, peterhanse said:

<input id="klant" class="cbSubmitButton"  type="button"   value="klant" name="klant" onClick="window.location.href='[@app:your app page]'">

maybe this will help , regards peter

It sure does Peter, thanks!

1 more question:

Although the button class is cbSubmitButton, it doesn't use the style of the chosen CSS style.

Any thoughts how to achieve that?

Share this post


Link to post
Share on other sites

Thanks Peter, my goal is reached!

To answer my own (last) question:

Add this to the Styles/Form-Details/Buttons

 

input[type=button]
{
    display:inline-block;
    min-width: 50px;
    width: 200px;
    border: 1px solid #8a7a46;
    color: #ffffff;
    background: #8a7a46;
    padding: 10px 20px;
    border-radius: 6px;
}
input[type=button]:hover
{
    background: #474222;
}

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
Reply to this topic...

×   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...