Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

add java to admin/categories page?


kev@num

Recommended Posts

Posted

does anyone have any idea how to add this to /admin/categories... or the correct file it needs to go in...

 

 

basically, on the "new product" admin page when the admin has typed out the "products name" i want it to duplicate this entry in the "Products model" field further down....

 

i have found this code which is an example of the javascript to do it:

 

<form name=userform>

Name:	 <input type=text name=name size=15 value="" onChange="this.form.userid.value=this.value;">


User ID:  <input type=text name=userid size=15 value="" onChange="this.value=this.form.name.value;">

<input type=button name=action value="Done!">

</form>

 

so i belive i need to add the following somewhere to ehe input box for "products model" somewhere..

 

onChange='this.value=this.form.products_name[1].value;'

 

does anyone know/have any ideas about this?

Archived

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

×
×
  • Create New...