Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Autocomplete forms


BadDude

Recommended Posts

Hi,

I found this script very useful and easy to add:

http://www.mattkruse.com/javascript/autoco...lete/index.html

In the 'products_attributes.php' area I found very tiresome to search for the product in those small dropdown lists. With this script the only thing you have to do is to include this :

<INPUT TYPE="text" NAME="input1" VALUE="" ONKEYUP="autoComplete(this,this.form.products_id,'text',true)"> in the row 763 and in row 648 (about ;)), right above the dropdown list's select field, and include that javascript I linked

(for example <script language="JavaScript" src="includes/javascript/autocomplete.js"></script> in line 93), and then you have a photoshop's font list like autocomplete field.

You just have to start type the name of the product, and the script will look for the matching names, and switch the select box to it.

Much comfortable.

<% BD %>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...