Classic ASP Send Form Email
- Status Closed
- Budget N/A
- Total Bids 12
This is pretty simple, but tedious.
We have a Classic ASP form/page here:
[url removed, login to view]
If you view source, you'll see that each field is named with a pretty detailed name.
When the form is submitted, we have code that will loop through the Form collection and write out each field in a big list with the label and the value. Our client doesn't like this, they want the full form layout to be emailed to them with the values that were input on the form embedded in the email keeping the layout intact.
The task (as we see it, you may have a better idea):
Create a HTML page with a copy of the Form code. Strip out the input fields and replace with a placeholder like %%last-name%% %%first-name%% ETC....for every field, every radio button group...
Then, write some ASP code that will read the HTML page using XMLHTTP object
Then, loop through Form collection and dynamically replace each placeholder with the value submitted in the form.
The resulting string variable of all of the HTML will be what is emailed.
Need a quick turnaround on this project.Get free quotes for a project like this
Looking to make some money?
- Set your budget and the timeframe
- Outline your proposal
- Get paid for your work
Hire Freelancers who also bid on this project
Looking for work?
Work on projects like this and make money from home!Sign Up Now
- The New York Times
- Wall Street Journal
- Times Online