Data order on response form

D

Doug Sanders

A client has a form which is filled out and submitted by visitors and was
working pretty well.

A new anti-virus software install is now attaching a few lines to the bottom
of the received form from the web site stating ie "No Virus found in this
incoming message." plus additional data about the virus protection program,
date, time,etc.

The last data entry field on the form was a comments firld.

I tried to add an additional field on the end called 'EOF' pre-loaded with
"eofeofeof" so my import program can ignore everything after the 'EOF'
field. The data in the EOF field is made invisible by masking the font
color.

The comments field keeps showing up last no matter how I arrange things.

How do I specify the absolute order that these fields are sent?

Thanks,

Doug Sanders
 
S

Stefan B Rusynko

1) The addition to the bottom of the messages has nothing to do with the sender of the email
- it is added by his anti-virus software on receipt of the email
2) All textarea fields are always added to the end of all forms
- you can't change that unless you use server side scripting to send the form

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


|A client has a form which is filled out and submitted by visitors and was
| working pretty well.
|
| A new anti-virus software install is now attaching a few lines to the bottom
| of the received form from the web site stating ie "No Virus found in this
| incoming message." plus additional data about the virus protection program,
| date, time,etc.
|
| The last data entry field on the form was a comments firld.
|
| I tried to add an additional field on the end called 'EOF' pre-loaded with
| "eofeofeof" so my import program can ignore everything after the 'EOF'
| field. The data in the EOF field is made invisible by masking the font
| color.
|
| The comments field keeps showing up last no matter how I arrange things.
|
| How do I specify the absolute order that these fields are sent?
|
| Thanks,
|
| Doug Sanders
|
|
|
 
D

Doug Sanders

Thanks for your response.

I don't know if that option is available, but I would like a way to
terminate the response form in a controlled way so I can create solution
that will work for any anti-virus or what ever can be appended.

Thanks

Doug Sanders
 
D

Doug Sanders

Thank ou for your response.

I understand the addition to the message is happening on the receiving side.

Is there a way to append a text string, ie "eofeofeof" onto the comments
field so I can detect the end of that field and ignore all that follows?


Thanks,

Doug Sanders
 
R

Ronx

You could use JavaScript to append the eof marker to the comments field,
but you will have to rewrite any FrontPage validation that you may be
using.

<script type="text/javascript">
function addEOF(theForm) {
theForm.comments.value = theForm.comments.value + " eofeofeof";
return true;
}
<form name="commentsForm" onsubmit="return addEOF(this)" method="post"
action= rest of form tag here >


The above assumes no FrontPage validation (which will change the form
name and overwrite the onsubmit attribute), the form is named
commentsForm and the comments field is named comments.

It will fail if JavaScript is not running in the browser.
--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.

http://www.rxs-enterprises.org/fp
 
D

Doug Sanders

Thanks, I'll give it a try.

Doug


Ronx said:
You could use JavaScript to append the eof marker to the comments field,
but you will have to rewrite any FrontPage validation that you may be
using.

<script type="text/javascript">
function addEOF(theForm) {
theForm.comments.value = theForm.comments.value + " eofeofeof";
return true;
}
<form name="commentsForm" onsubmit="return addEOF(this)" method="post"
action= rest of form tag here >


The above assumes no FrontPage validation (which will change the form
name and overwrite the onsubmit attribute), the form is named
commentsForm and the comments field is named comments.

It will fail if JavaScript is not running in the browser.
--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.

http://www.rxs-enterprises.org/fp
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top