Welcome to the nuBuilder Forums!
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
Hawkman
Posts: 2 Joined: Wed Nov 21, 2012 8:20 am
Unread post
by Hawkman » Wed Feb 06, 2013 6:48 pm
Code: Select all
document.getElementById('hidden_fabid').value = nuGetRowObjectValue('albd_concepto_id');
This works well if the field is type text, but does not work if lookup type. How I can get the value of lookup code?
Sorry for my bad English
admin
Site Admin
Posts: 2825 Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 30 times
Unread post
by admin » Fri Feb 08, 2013 6:12 am
Hawkman,
If albd_concepto_id is the lookup id, codealbd_concepto_id is the code.
I hope this helps
Steven
Hawkman
Posts: 2 Joined: Wed Nov 21, 2012 8:20 am
Unread post
by Hawkman » Fri Feb 08, 2013 1:48 pm
Thanks, solved, this was what I wanted
Code: Select all
document.getElementById('alb_facturado').value = document.getElementById('code'+nuGetRow()+'albd_cantida').value;