Hi,
Is this something possible to do ??
I have sub form in that i need 2 buttons , one button to upload pdf file and second button to view the uploaded file that is related that row.
Thank you very much for your support in advance.
Regards,
Sandeep
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.
File upload and open file in subform
-
- Posts: 41
- Joined: Thu Jan 25, 2018 3:51 pm
Re: File upload and open file in subform
Sandeep,
The easiest way to save and call a file is by
1. Using the File Form as a Lookup.
2. A Button that opens the same Form with a Popup() that opens just the record selected by the Lookup.
Steven
The easiest way to save and call a file is by
1. Using the File Form as a Lookup.
2. A Button that opens the same Form with a Popup() that opens just the record selected by the Lookup.
Code: Select all
function showFile(e){
var p = $(e.target).attr('data-nu-prefix');
var f = $('#' + p + 'pro_zzzzsys_file_id').val();
if(f == ''){
nuMessage(['No File Selected']);
}else{
nuPopup('nufile', f);
}
}
Steven
You do not have the required permissions to view the files attached to this post.