You would have use JavaScript to calculate the value and then insert it in the hidden form fields at
the time the form is submitted or you will need to use server-side scripting to write a custom form
handler that can do what you want as well as send the form data via email to you.
--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
"Sammich5" <(E-Mail Removed)> wrote in message
news:64989764-11FE-4C03-8B28-(E-Mail Removed)...
> Sorry if I'm being incredibly dense but . . .
> When I create the hidden form field, I'm prompted for a value. I want the
> value to be calculated not some default value that I put it. How do I get
> this hidden field to calculate it?
>
> "Thomas A. Rowe" wrote:
>
>> You would need to calculate any values on the form and then submit the values with the form data
>> via
>> hidden form fields.
>>
>> --
>> ==============================================
>> Thomas A. Rowe (Microsoft MVP - FrontPage)
>> ==============================================
>> If you feel your current issue is a results of installing
>> a Service Pack or security update, please contact
>> Microsoft Product Support Services:
>> http://support.microsoft.com
>> If the problem can be shown to have been caused by a
>> security update, then there is usually no charge for the call.
>> ==============================================
>>
>> "Sammich5" <(E-Mail Removed)> wrote in message
>> news:809A6F52-F156-495C-A290-(E-Mail Removed)...
>> >I have a very simple Front Page form, that mails the results to my e-mail.
>> > The confirmation page display the user's inputs correctly. Below is the
>> > script for the confirmation field (again, this part works):
>> >
>> > Question 1: <!--webbot bot="ConfirmationField" S-Field="Q1" --></p>
>> > <p>Question 2: <!--webbot bot="ConfirmationField" S-Field="Q2" --></p>
>> > <p>Question 3: <!--webbot bot="ConfirmationField" S-Field="Q3" --></p>
>> >
>> > In addition to displaying the user's inputs, I would like to display the sum
>> > of three of the inputs on the confirmation page. I'm not certain that
>> > variables are picking up the value from the confirmation field. This is the
>> > script that I'm currently using:
>> >
>> > var Q1Data = ParseInt(window.document.Q1.value);
>> > var Q2Data = parseInt(window.document.Q2.value);
>> > var Q3Data = parseInt(window.document.Q3.value);
>> >
>> > Var Sec1Total = Q1Data + Q2Data + Q3Data;
>> >
>> > Would you be so kind as to:
>> > 1) confirm that what I'm trying to do is possible
>> > 2) confirm that my "var" statements will or will not work (and how to
>> > correct them)
>> >
>> > Thanks
>>
>>
>>