Welcome to the nuBuilder Forums!

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

embed browse in form

Questions related to using nuBuilder Forte.
Post Reply
Timo
Posts: 217
Joined: Thu Mar 15, 2018 9:26 pm
Has thanked: 1 time

embed browse in form

Unread post by Timo »

I'm looking for a possibility to embed a browse form in another (edit) form. The browse form's purpose is to display data and no edit form should be opened when a record is clicked.
Also, no search field or other buttons should be shown. Is this possible?
toms
Posts: 785
Joined: Sun Oct 14, 2018 11:25 am

Re: embed browse in form

Unread post by toms »

Hi,

Add an object (Type: Run) with Run Method iFrame. This will embed the selected form.

Add this Code to "Custom Code" -> JS of your embedded form:

Code: Select all

$('.nuActionButton').hide();
$('#nuSearchField').hide();
$('#nuActionHolder').hide();
$('#nuBreadcrumbHolder').hide();
$('body').css('height', '200px'); // maybe set the body height to disable the vertical scrollbar.

function nuSelectBrowse(e) {
// do nothing when a record is clicked
}
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: embed browse in form

Unread post by admin »

Timo,

I agree with toms,

https://wiki.nubuilder.cloud/ ... #Tab_-_Run

Set Method to iFrame.

To answer your second question, try this...

https://wiki.nubuilder.cloud/ ... oveHolders


Steven
Timo
Posts: 217
Joined: Thu Mar 15, 2018 9:26 pm
Has thanked: 1 time

Re: embed browse in form

Unread post by Timo »

I got it done. Thank you.
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: embed browse in form

Unread post by admin »

.
Post Reply