Hi,
I am creating a web site that asks people some questions.
Within this page there are three text fields and three multi-line text fields.
I allow users to submit as many forms as they like (just using a unique reference - which I ask the user for - to store the information against)
When each form is submitted all data is stored to an Access database.
On another page I allow the user to view ALL the data (forms) they have entered just before emailing (using CDO) all data contained within the page. This information displays fine without any problems.
Now I need to save all this information to a hidden field so I do the following:
<input type="hidden" name="AllFields" value="<%=tRef + newline + (rsBCMsend.Fields.Item("fnBCMRef".value) + newline + newline + tBus + newline + (rsBCMsend.Fields.Item("fnDependencies".value) + newline + newline + tAcc + newline + (rsBCMsend.Fields.Item("fnDowntime".value) + newline + newline + tRec + newline + (rsBCMsend.Fields.Item("fnCapabilities".value) + newline + newline + tTo + newline + (rsBCMsend.Fields.Item("fnRecover".value) + newline + newline + tCos + newline + (rsBCMsend.Fields.Item("fnBenefit".value) + newline + newline%>">
This saves everything to the hidden field, and I retrieve this info on the next page using the Request.Form object, but when I receive the mail it displays everything thing apart from the multilined fields. Where the value is null.
I am creating a web site that asks people some questions.
Within this page there are three text fields and three multi-line text fields.
I allow users to submit as many forms as they like (just using a unique reference - which I ask the user for - to store the information against)
When each form is submitted all data is stored to an Access database.
On another page I allow the user to view ALL the data (forms) they have entered just before emailing (using CDO) all data contained within the page. This information displays fine without any problems.
Now I need to save all this information to a hidden field so I do the following:
<input type="hidden" name="AllFields" value="<%=tRef + newline + (rsBCMsend.Fields.Item("fnBCMRef".value) + newline + newline + tBus + newline + (rsBCMsend.Fields.Item("fnDependencies".value) + newline + newline + tAcc + newline + (rsBCMsend.Fields.Item("fnDowntime".value) + newline + newline + tRec + newline + (rsBCMsend.Fields.Item("fnCapabilities".value) + newline + newline + tTo + newline + (rsBCMsend.Fields.Item("fnRecover".value) + newline + newline + tCos + newline + (rsBCMsend.Fields.Item("fnBenefit".value) + newline + newline%>">
This saves everything to the hidden field, and I retrieve this info on the next page using the Request.Form object, but when I receive the mail it displays everything thing apart from the multilined fields. Where the value is null.