Pre-entered Data

Archived from the Web Auction Discussion forum.

sauden — Wed Oct 21, 2009 10:11 am

Where would I go to put Pre-entered data into the item description field when adding a new product? All items will have a particular link that just needs a number to be edited manully and I’d like to have the auction manager just edit the number and not have to enter the whole url by hand each time a product is added.

Thanks!


shannah — Thu Oct 22, 2009 9:19 am

You can set the default value for any field by adding a method to the products delegate class using the naming conventions

\_\_default() e.g. If you wanted to set the default value of the minimum\_bid field you would have something like function minimum\_bid\_\_default(){ return 100; } --- **sauden** — Thu Oct 22, 2009 10:24 am awesome, thank you!