php - jQuery Autocomplete one input, then populate other relevant inputs? -
i'm using formidable pro wordpress plugin create editable forms. each form has several different "contact info" areas (in below picture, 1 such area "general contractor", , 1 "mechanical engineer"), , each area has several inputs.
what i'm looking create:
- enter first few letters of persons name in "contact" input
- select name resulting autocomplete drop-down
- populate nearby fields contact's respective information (company, email, phone, fax, tax id, , address)
the first image below shows 2 of "contact info" areas (the first of drew in each input's id). second image shows how each contact's information stored in mysql table.
so there autocomplete wordpress or jquery plugins can me accomplish this, , if so, how go implementing feature?
i'm guessing drop-downs you're using dynamic fields? replace these lookup fields , can automatically populate values of other fields so:
for each field want auto-populated, go field settings , check option 'dynamically retrieve value lookup field'. then, 'get value from' options, you'll need select form , field want data from. then, 'watch lookup fields' option you'll need select lookup field (which 'contact' input users typing into).
Comments
Post a Comment