Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Next/back button for record navigation Topic is solved

Questions related to customising nuBuilder Forte with JavaScript or PHP.
Post Reply
tpolimeni28
Posts: 25
Joined: Mon Apr 04, 2022 4:00 pm
Has thanked: 1 time

Next/back button for record navigation

Unread post by tpolimeni28 »

Hello I was looking at the GitHub page, I was trying to get the next and back button function to operate when using the code provided there I wasn't seeing the said buttons. I have deployed the JS code however I am not seeing the buttons. When I open a records I do not get the option for next or back.

source code from this link

https://github.com/KanRule/nuBuilder-4. ... _navigator
kev1n
nuBuilder Team
Posts: 4297
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 445 times
Contact:

Re: Next/back button for record navigation

Unread post by kev1n »

Are you using the simple or advanced code (with PHP) ?
tpolimeni28
Posts: 25
Joined: Mon Apr 04, 2022 4:00 pm
Has thanked: 1 time

Re: Next/back button for record navigation

Unread post by tpolimeni28 »

Simple
kev1n
nuBuilder Team
Posts: 4297
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 445 times
Contact:

Re: Next/back button for record navigation

Unread post by kev1n »

You need to create the buttons:
Add two button objects to you form:

A First Button with Title "Next" and in Custom Code, add an onclick event with the Javascript openRecord(1);
A Second Button with Title "Back" and in Custom Code, add an onclick event with the Javascript openRecord(-1);
Post Reply