Page 1 of 1

autocomplete one field after filling one

PostPosted: Tue Feb 21, 2012 6:49 am
by samhans
hai Steve and all,
i want to autocomplete one field such as log book number after some one selects thecomputer serial number in my form.

ie when i select computer serial no. the log book no fields get automatically filled by the respective logbook no.

i have the table having logbook no and computer no. in my database .


thanks in advance

Re: autocomplete one field after filling one

PostPosted: Wed Feb 22, 2012 12:31 pm
by shannah
I think you'll need to use some custom javascript to do this. You can create an onchange handler for the serial number field then make an AJAX request to a custom action to get information to fill in the remaining fields.

-Steve