Hi,
I'm using a lookup on a subform with Default SQL select '#browse_filter#'. This is a great improvement.
Only thing not working is the update of other fields with the lookup. (before I added select '#browse_filter#' the other fields where updated so that part was working)
Johan
Welcome to the nuBuilder forums!
Please register and login to view forums and other content only available to registered users.
Please register and login to view forums and other content only available to registered users.
lookup with select '#browse_filter#'
-
- Posts: 392
- Joined: Sun Feb 27, 2011 11:16 am
- Location: Belgium
-
- Posts: 392
- Joined: Sun Feb 27, 2011 11:16 am
- Location: Belgium
Re: lookup with select '#browse_filter#'
Steven,
I've added a browse screen in edit form as discribed in http://www.youtube.com/watch?v=6d_nYErMGPI.
The browse_filter works fine.
In my lookup I have some fields to update but that part does'nt work when I' m using select '#browse_filter#'. Without browse_filter the update of other fields works fine.
Hope this explaines my question.
Johan
I've added a browse screen in edit form as discribed in http://www.youtube.com/watch?v=6d_nYErMGPI.
The browse_filter works fine.
In my lookup I have some fields to update but that part does'nt work when I' m using select '#browse_filter#'. Without browse_filter the update of other fields works fine.
Hope this explaines my question.
Johan
-
- Posts: 503
- Joined: Thu May 24, 2012 2:08 am
- Location: Milan, Italy
- Contact:
Re: lookup with select '#browse_filter#'
Johan,
you are right.
I find a workaround using display objects on second form and few lines of JavaScript to change them to what I need (a textarea in this example): This don't fix the problem, but maybe can be a temporary solution.
Max
you are right.
I find a workaround using display objects on second form and few lines of JavaScript to change them to what I need (a textarea in this example): This don't fix the problem, but maybe can be a temporary solution.
Max
-
- Posts: 392
- Joined: Sun Feb 27, 2011 11:16 am
- Location: Belgium
Re: lookup with select '#browse_filter#'
Max,
Thanks for your reply. That's a possibility.
I started from an existing form where I have some hidden text fields to be updated with the lookup. In that case (for me) display is not the correct option.
Johan
Thanks for your reply. That's a possibility.
I started from an existing form where I have some hidden text fields to be updated with the lookup. In that case (for me) display is not the correct option.
Johan
-
- Site Admin
- Posts: 2781
- Joined: Mon Jun 15, 2009 2:23 am
- nuBuilder Version: 4.5
- Been thanked: 1 time
Re: lookup with select '#browse_filter#'
Johan,
Populating extra fields will be done if you change the lookup manually and that's the only way it has ever worked..
But, you can fake this manual change on nuLoadThis()
(codetra_customer_id) is the code part of the lookup.
I hope this makes sense.
Steven
Populating extra fields will be done if you change the lookup manually and that's the only way it has ever worked..
But, you can fake this manual change on nuLoadThis()
Code: Select all
function nuLoadThis() {
if($('#recordID').val() == '-1'){
$('#codetra_customer_id').change();
}
}
I hope this makes sense.
Steven
-
- Posts: 392
- Joined: Sun Feb 27, 2011 11:16 am
- Location: Belgium