Code: Select all
nuPopup($('#myDOMObjectId')[0].dataset.nuFormId, $('#myDOMObjectId')[0].dataset.nuObjectId, '');
Code: Select all
nuPopup($('#myDOMObjectId')[0].dataset.nuFormId, $('#myDOMObjectId')[0].dataset.nuObjectId, '');
Code: Select all
nuCurrentProperties()
Code: Select all
nuLookupRecord()->ID
Nope, just gives the properties of the form, not the Lookup object on the form.admin wrote:tonyd,
Try this...
http://wiki.nubuilder.net/nubuilderfort ... PropertiesCode: Select all
nuCurrentProperties()
Steven
Came back as undefined.toms wrote:Hi,
You could useto retrieve the record id.Code: Select all
nuLookupRecord()->ID
http://wiki.nubuilder.net/nubuilderfort ... okupRecord
Did you run it in the PHP After Browse Event?tonyd wrote: Came back as undefined.
Code: Select all
nuSetFormValue('yourDOMFieldToStoreTheRecordId', nuLookupRecord()->ID);
toms wrote: My idea would be to retrieve the primary key of the picked record and then store it in a field.Then, wenn you call nuPopup(), you pass that value as parameter.Code: Select all
nuSetFormValue('yourDOMFieldToStoreTheRecordId', nuLookupRecord()->ID);