Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Email Problem

Status
Not open for further replies.

dhaveedh

Programmer
Aug 13, 2003
112
GB
Hi folks,

I am using ASP to send the contents of a form to an email address in outlook.

On the form I have some fields which are calculated and then set as "Disabled" (in code) on the form so that the user cannot edit them once calculated.

My problem is that when I send the form to the Email address, the disabled fields are NOT sent through.

Does anyone know how to solve this problem?

KISS - Keep It Simple Sugar!
 
mmmmm, do not use <INPUT disabled> fields is my first reaction.

hth,
Foxbox
ttmug.gif
 
use javascript to enabled the form fields before they are sent - or use hidden form fields to carry the data.

simon
 
Thanks you guys.

I will write a sub which enables all disabled fields when the submit button is clicked. I think that might work.

Simon,
I can't use hidden fields because the user needs to see what they are calculating before submitting.

Cheers

KISS - Keep It Simple Sugar!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top