how to add javascript to subform?

Questions related to using nuBuilder Forte.

how to add javascript to subform?

Unread postby coldfish » Tue Nov 09, 2021 11:53 am

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.
coldfish
 
Posts: 2
Joined: Sun Oct 31, 2021 2:07 am
nuBuilder Version: 4.5

Re: how to add javascript to subform?

Unread postby kev1n » Tue Nov 09, 2021 2:14 pm

Hi,

Could you upload a screenshot?
kev1n
nuBuilder Team
 
Posts: 2135
Joined: Mon Oct 15, 2018 2:13 am
nuBuilder Version: 4.5

Re: how to add javascript to subform?

Unread postby kev1n » Wed Nov 10, 2021 3:02 pm

...this would help me to better understand what you are trying to accomplish.
kev1n
nuBuilder Team
 
Posts: 2135
Joined: Mon Oct 15, 2018 2:13 am
nuBuilder Version: 4.5

Re: how to add javascript to subform?

Unread postby coldfish » Sat Nov 13, 2021 4:16 pm

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.
coldfish
 
Posts: 2
Joined: Sun Oct 31, 2021 2:07 am
nuBuilder Version: 4.5


Return to General

Who is online

Users browsing this forum: No registered users and 27 guests

cron