Project Description:
This is pretty simple, but tedious.
We have a Classic ASP form/page here:
http://www.irvmat.com/HR-Application/
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.