First I created a form using the "Fast Form" function and now a button is displayed on the "Home" page.
Clicking this button brings me to the "Browse/Search Screen". Now I'd like to have it directed to the "New Record" screen right away.
How can this be done?
Thomas
Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
Jump to "New Record" on button click
-
- Posts: 785
- Joined: Sun Oct 14, 2018 11:25 am
Re: Jump to "New Record" on button click
I solved it by adding a piece of js-code:
Home ► nuBuilder Form ► nuBuilder Form ► Custom Code ► Javascript
I'm just wondering if there is an inbuilt way to do this?
Home ► nuBuilder Form ► nuBuilder Form ► Custom Code ► Javascript
Code: Select all
function nuLoadBrowse() {
nuOpenForm(nuFORM.parent_form_id, nuFORM.parent_record_id, '5aa2ea6f69f15ab', '-1', 'MyForm', nuFORM.filter);
}
-
- Posts: 54
- Joined: Fri Oct 23, 2015 12:34 am
Re: Jump to "New Record" on button click
On your button, on the tab that shows the form you are trying to open, put -1 in the record field.
-
- Posts: 785
- Joined: Sun Oct 14, 2018 11:25 am