length of time using form

B

beauty_bobaloo

I have been playing around with frontpage forms for about a week now and
can't seem to get my form right. I have I don't have any problem with making
it look right, I just can't seem to find a way to customize it like I want.

I am trying to measure the length of time that a user has the form open. To
do this I have added another button to my form which the user presses when
they start the form. This adds the time into a textbox. Then when the user
hits submit, the time is then added to another textbox before the form is
submitted.

The problem is that the time (on both requests) is the same as it is
inputting the time that the page was opened. Does anyone know how to specify
the time at that exact moment to be inserted?

I have also looked at different timer scripts and possible putting something
on the page to record these details but have not had any success.

Any help would be greatly appreciated,

thanks in advance
Melissa
 
S

Stefan B Rusynko

Search Google for JavaScript timers

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


|I have been playing around with frontpage forms for about a week now and
| can't seem to get my form right. I have I don't have any problem with making
| it look right, I just can't seem to find a way to customize it like I want.
|
| I am trying to measure the length of time that a user has the form open. To
| do this I have added another button to my form which the user presses when
| they start the form. This adds the time into a textbox. Then when the user
| hits submit, the time is then added to another textbox before the form is
| submitted.
|
| The problem is that the time (on both requests) is the same as it is
| inputting the time that the page was opened. Does anyone know how to specify
| the time at that exact moment to be inserted?
|
| I have also looked at different timer scripts and possible putting something
| on the page to record these details but have not had any success.
|
| Any help would be greatly appreciated,
|
| thanks in advance
| Melissa
 
B

beauty_bobaloo

thankyou so much for your reply.

I have already searched for java timer scripts and found some that I have
tried to implement. The problem is that I cannot customize any of these
timers to record the end value when I hit the submit button on the form.

Should I maybe put a post on a java forum?

Melissa
 
B

beauty_bobaloo

Thankyou for your help. I found a java script that I am able to use. It
records the current time in a textbox so I can read the value of the text box
whenever a button is pressed allowing me to do what I wanted to do.

It is actually a lot less complicated than I thought it would be.

thanks again

Melissa

beauty_bobaloo said:
thankyou so much for your reply.

I have already searched for java timer scripts and found some that I have
tried to implement. The problem is that I cannot customize any of these
timers to record the end value when I hit the submit button on the form.

Should I maybe put a post on a java forum?

Melissa

Stefan B Rusynko said:
Search Google for JavaScript timers

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


|I have been playing around with frontpage forms for about a week now and
| can't seem to get my form right. I have I don't have any problem with making
| it look right, I just can't seem to find a way to customize it like I want.
|
| I am trying to measure the length of time that a user has the form open. To
| do this I have added another button to my form which the user presses when
| they start the form. This adds the time into a textbox. Then when the user
| hits submit, the time is then added to another textbox before the form is
| submitted.
|
| The problem is that the time (on both requests) is the same as it is
| inputting the time that the page was opened. Does anyone know how to specify
| the time at that exact moment to be inserted?
|
| I have also looked at different timer scripts and possible putting something
| on the page to record these details but have not had any success.
|
| Any help would be greatly appreciated,
|
| thanks in advance
| Melissa
 

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