| KevGilmour 2004-05-14, 12:55 pm |
| Hi there I'm new to Microsoft Commerce Server and web development so I'm hoping someone here might be able to help.
I'm trying to customize the 'product_new.asp' page to include my own extra fields which will be posted into my SQL db.
My form is populated with 2 types of fields...text boxes and check boxes.
<INPUT TYPE="text" SIZE="32" NAME="name" VALUE="<%= Request("name") %>" onChange="dirty = true"><input type="checkbox" name="web_publish" value="<%= Request("web_publish") %>" onChange="dirty = true" checked>
I've been trying to use the following code to update the fields in the db.
name = mscsPage.RequestString("name", "", 1, 255)
web_publish = mscsPage.RequestNumber("web_publish", "0", 1, 255)
The name value works okay... web_publish does not. I really don't know what I'm doing someone please help!
Thanks
|