Welcome to the nuBuilder Forums!

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

how to add javascript to subform?

Questions related to using nuBuilder Forte.
Post Reply
coldfish
Posts: 2
Joined: Sat Oct 30, 2021 6:37 pm

how to add javascript to subform?

Unread post by coldfish »

i have an INVOICE PROCESS subform under INVOICE.

Then I use run object button to open the list of the INVOICE PROCESS subform.

On the list of the INVOICE PROGRESS, when I click a record, I can't edit it on a new tab.

I can edit records on a new browser tab using the following for a form:

Code: Select all

function nuSelectBrowse(e){
    var r   = $('#' + e.target.id).attr('data-nu-primary-key');
    nuForm(nuGetProperty('form_id'), r, '', '', '2');
}
But there's no place to edit subform records on a new tab.
kev1n
nuBuilder Team
Posts: 4297
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 445 times
Contact:

Re: how to add javascript to subform?

Unread post by kev1n »

Hi,

Could you upload a screenshot?
kev1n
nuBuilder Team
Posts: 4297
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 445 times
Contact:

Re: how to add javascript to subform?

Unread post by kev1n »

...this would help me to better understand what you are trying to accomplish.
coldfish
Posts: 2
Joined: Sat Oct 30, 2021 6:37 pm

Re: how to add javascript to subform?

Unread post by coldfish »

kev1n wrote:...this would help me to better understand what you are trying to accomplish.
Thank you.

Looks like subforms are not for heavy use. I've replaced them with Browse & Edit forms and they are working greatly.
Post Reply