autocomplete one field after filling one

A place for users and developers of the Xataface to discuss and receive support.

autocomplete one field after filling one

Postby samhans » Tue Feb 21, 2012 6:49 am

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
samhans
 
Posts: 96
Joined: Fri Feb 10, 2012 1:22 am

Re: autocomplete one field after filling one

Postby shannah » Wed Feb 22, 2012 12:31 pm

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
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 13 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved