Changing Confirmatin Page

L

Lee Steele

I have set up a page (trivia.htm) with questions and Radio Button selections
for answers using the Form Page Wizard in FP 2003. What I would like to do
is have the confirmation page show the correct answers along with the
individuals answers.

I created a trivia_answers.htm page with the correct answers on it and
referenced it as the confirmation page on the Form Properties, Options,
Confirmation Page.

I published to my web site. When I click on the Submit button on
trivia.htm, I am correctly redirected to the trivia_answers.htm page, but
all that is displayed are the correct answers, not the individuals answers.
If I use the default confirmation page, of course all that is displayed is
the individuals answers.

Can I do what I'm trying to do and if so, how do I go about it?

Thanks

Lee Steele
 
L

Lee Steele

Kathleen,

I modified the questions and answers and I added a "Clear Form and Try
Again" button. I can clear the answers from the form but unless I hit the
refresh button on my browser, the score is cumulative (it adds the last
score to the current score). How can I clear the score from the form at the
same time I clear the answers from the form?

Thanks again.
Lee Steele
 
L

Lee Steele

Kathleen,
I solved the problem. I removed the Clear Form button and code and inserted
the following code.
<p>
<form>
<input type="button" value="Refresh page" onclick="location.reload(true)">
</form>
</p>
When the "Refresh Page" is clicked the previous answers and score are
cleared.

Thanks for your help.

Lee Steele
 
L

Lee Steele

I modified the form to have ten questions instead of five. When the
"Message from webpage" displays the answers and score, it is not scrollable
.. If you got all ten answers correct, it is no big thing as you can see
everything on the page displayed. If you got several answers wrong, the
bottom lines are not visible. How can I make that page scrollable so the
trivia taker could see the whole page?

If you would like to view what I mean, this is just a page with sample
questions.
https://www.chsclassof62.com/classsite/chstrivia.htm

Thanks,

Lee Steele
 
S

Stefan B Rusynko

You can't
You are using a JavaScript alert box
alert(answerText);
which is a modeless window w/o any scroll bars

All you can do is selectively remove some of the line breaks in the alert by deleting some of the
+"\n"


--

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


|I modified the form to have ten questions instead of five. When the
| "Message from webpage" displays the answers and score, it is not scrollable
| . If you got all ten answers correct, it is no big thing as you can see
| everything on the page displayed. If you got several answers wrong, the
| bottom lines are not visible. How can I make that page scrollable so the
| trivia taker could see the whole page?
|
| If you would like to view what I mean, this is just a page with sample
| questions.
| https://www.chsclassof62.com/classsite/chstrivia.htm
|
| Thanks,
|
| Lee Steele
|
| | > Kathleen,
| > It works like a charm.
| >
| > Lee Steele
| >
| > | >> That's great! I may add that code to my page, too.
| >>
| >> --
| >>
| >> ~ Kathleen Anderson
| >> Microsoft MVP - FrontPage
| >> Spider Web Woman Designs
| >> Expression Web Resources: http://www.spiderwebwoman.com/xweb/
| >> Expression Web Wiki: http://expression-web-wiki.com/
| >> FrontPage Resources: http://www.spiderwebwoman.com/resources/
| >> Please reply to the newsgroup for the benefit of others
| >>
| >>
| >> | >>> Kathleen,
| >>> I solved the problem. I removed the Clear Form button and code and
| >>> inserted
| >>> the following code.
| >>> <p>
| >>> <form>
| >>> <input type="button" value="Refresh page"
| >>> onclick="location.reload(true)">
| >>> </form>
| >>> </p>
| >>> When the "Refresh Page" is clicked the previous answers and score are
| >>> cleared.
| >>>
| >>> Thanks for your help.
| >>>
| >>> Lee Steele
| >>>
| >>>
| >>> | >>>> How are you clearing the answers from the form? Are you doing in the
| >>>> code or doing it manually in the browser?
| >>>>
| >>>> --
| >>>>
| >>>> ~ Kathleen Anderson
| >>>> Microsoft MVP - FrontPage
| >>>> Spider Web Woman Designs
| >>>> Expression Web Resources: http://www.spiderwebwoman.com/xweb/
| >>>> Expression Web Wiki: http://expression-web-wiki.com/
| >>>> FrontPage Resources: http://www.spiderwebwoman.com/resources/
| >>>> Please reply to the newsgroup for the benefit of others
| >>>>
| >>>>
| >>>> | >>>>> Kathleen,
| >>>>>
| >>>>> I modified the questions and answers and I added a "Clear Form and
| >>>>> Try Again" button. I can clear the answers from the form but unless I
| >>>>> hit the refresh button on my browser, the score is cumulative (it adds
| >>>>> the last score to the current score). How can I clear the score from
| >>>>> the form at the same time I clear the answers from the form?
| >>>>>
| >>>>> Thanks again.
| >>>>> Lee Steele
| >>>>>
| >>>>> | >>>>>> Kathleen,
| >>>>>> I just copied the code and will now modify it for what I want.
| >>>>>>
| >>>>>> Thanks a bunch.
| >>>>>>
| >>>>>> Lee Steele
| >>>>>>
| >>>>>> | >>>>>>> Hi Lee:
| >>>>>>> Take a look at this quiz:
| >>>>>>> http://www.cthealthpolicy.org/quiz/march2009.htm
| >>>>>>>
| >>>>>>> I got the source code here:
| >>>>>>> http://javascript.internet.com/miscellaneous/javascript-quiz.html
| >>>>>>>
| >>>>>>> --
| >>>>>>>
| >>>>>>> ~ Kathleen Anderson
| >>>>>>> Microsoft MVP - FrontPage
| >>>>>>> Spider Web Woman Designs
| >>>>>>> Expression Web Resources: http://www.spiderwebwoman.com/xweb/
| >>>>>>> Expression Web Wiki: http://expression-web-wiki.com/
| >>>>>>> FrontPage Resources: http://www.spiderwebwoman.com/resources/
| >>>>>>> Please reply to the newsgroup for the benefit of others
| >>>>>>>
| >>>>>>>
| >>>>>>> | >>>>>>>>I have set up a page (trivia.htm) with questions and Radio Button
| >>>>>>>>selections for answers using the Form Page Wizard in FP 2003. What
| >>>>>>>>I would like to do is have the confirmation page show the correct
| >>>>>>>>answers along with the individuals answers.
| >>>>>>>>
| >>>>>>>> I created a trivia_answers.htm page with the correct answers on it
| >>>>>>>> and referenced it as the confirmation page on the Form Properties,
| >>>>>>>> Options, Confirmation Page.
| >>>>>>>>
| >>>>>>>> I published to my web site. When I click on the Submit button on
| >>>>>>>> trivia.htm, I am correctly redirected to the trivia_answers.htm
| >>>>>>>> page, but all that is displayed are the correct answers, not the
| >>>>>>>> individuals answers. If I use the default confirmation page, of
| >>>>>>>> course all that is displayed is the individuals answers.
| >>>>>>>>
| >>>>>>>> Can I do what I'm trying to do and if so, how do I go about it?
| >>>>>>>>
| >>>>>>>> Thanks
| >>>>>>>>
| >>>>>>>> Lee Steele
| >>>>>>>
| >>>>>>>
| >>>>
| >>>>
| >>
| >>
 
L

Lee Steele

Thanks Stephan. That was good advise. I deleted some of the lines and it
looks much better.

Lee Steele

Stefan B Rusynko said:
You can't
You are using a JavaScript alert box
alert(answerText);
which is a modeless window w/o any scroll bars

All you can do is selectively remove some of the line breaks in the alert
by deleting some of the
+"\n"


--

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


|I modified the form to have ten questions instead of five. When the
| "Message from webpage" displays the answers and score, it is not
scrollable
| . If you got all ten answers correct, it is no big thing as you can see
| everything on the page displayed. If you got several answers wrong, the
| bottom lines are not visible. How can I make that page scrollable so
the
| trivia taker could see the whole page?
|
| If you would like to view what I mean, this is just a page with sample
| questions.
| https://www.chsclassof62.com/classsite/chstrivia.htm
|
| Thanks,
|
| Lee Steele
|
| | > Kathleen,
| > It works like a charm.
| >
| > Lee Steele
| >
| > | >> That's great! I may add that code to my page, too.
| >>
| >> --
| >>
| >> ~ Kathleen Anderson
| >> Microsoft MVP - FrontPage
| >> Spider Web Woman Designs
| >> Expression Web Resources: http://www.spiderwebwoman.com/xweb/
| >> Expression Web Wiki: http://expression-web-wiki.com/
| >> FrontPage Resources: http://www.spiderwebwoman.com/resources/
| >> Please reply to the newsgroup for the benefit of others
| >>
| >>
| >> | >>> Kathleen,
| >>> I solved the problem. I removed the Clear Form button and code and
| >>> inserted
| >>> the following code.
| >>> <p>
| >>> <form>
| >>> <input type="button" value="Refresh page"
| >>> onclick="location.reload(true)">
| >>> </form>
| >>> </p>
| >>> When the "Refresh Page" is clicked the previous answers and score
are
| >>> cleared.
| >>>
| >>> Thanks for your help.
| >>>
| >>> Lee Steele
| >>>
| >>>
| >>> | >>>> How are you clearing the answers from the form? Are you doing in
the
| >>>> code or doing it manually in the browser?
| >>>>
| >>>> --
| >>>>
| >>>> ~ Kathleen Anderson
| >>>> Microsoft MVP - FrontPage
| >>>> Spider Web Woman Designs
| >>>> Expression Web Resources: http://www.spiderwebwoman.com/xweb/
| >>>> Expression Web Wiki: http://expression-web-wiki.com/
| >>>> FrontPage Resources: http://www.spiderwebwoman.com/resources/
| >>>> Please reply to the newsgroup for the benefit of others
| >>>>
| >>>>
| >>>> | >>>>> Kathleen,
| >>>>>
| >>>>> I modified the questions and answers and I added a "Clear Form
and
| >>>>> Try Again" button. I can clear the answers from the form but
unless I
| >>>>> hit the refresh button on my browser, the score is cumulative (it
adds
| >>>>> the last score to the current score). How can I clear the score
from
| >>>>> the form at the same time I clear the answers from the form?
| >>>>>
| >>>>> Thanks again.
| >>>>> Lee Steele
| >>>>>
| >>>>> | >>>>>> Kathleen,
| >>>>>> I just copied the code and will now modify it for what I want.
| >>>>>>
| >>>>>> Thanks a bunch.
| >>>>>>
| >>>>>> Lee Steele
| >>>>>>
| >>>>>> | >>>>>>> Hi Lee:
| >>>>>>> Take a look at this quiz:
| >>>>>>> http://www.cthealthpolicy.org/quiz/march2009.htm
| >>>>>>>
| >>>>>>> I got the source code here:
| >>>>>>>
http://javascript.internet.com/miscellaneous/javascript-quiz.html
| >>>>>>>
| >>>>>>> --
| >>>>>>>
| >>>>>>> ~ Kathleen Anderson
| >>>>>>> Microsoft MVP - FrontPage
| >>>>>>> Spider Web Woman Designs
| >>>>>>> Expression Web Resources: http://www.spiderwebwoman.com/xweb/
| >>>>>>> Expression Web Wiki: http://expression-web-wiki.com/
| >>>>>>> FrontPage Resources: http://www.spiderwebwoman.com/resources/
| >>>>>>> Please reply to the newsgroup for the benefit of others
| >>>>>>>
| >>>>>>>
| >>>>>>> | >>>>>>>>I have set up a page (trivia.htm) with questions and Radio
Button
| >>>>>>>>selections for answers using the Form Page Wizard in FP 2003.
What
| >>>>>>>>I would like to do is have the confirmation page show the
correct
| >>>>>>>>answers along with the individuals answers.
| >>>>>>>>
| >>>>>>>> I created a trivia_answers.htm page with the correct answers
on it
| >>>>>>>> and referenced it as the confirmation page on the Form
Properties,
| >>>>>>>> Options, Confirmation Page.
| >>>>>>>>
| >>>>>>>> I published to my web site. When I click on the Submit button
on
| >>>>>>>> trivia.htm, I am correctly redirected to the trivia_answers.htm
| >>>>>>>> page, but all that is displayed are the correct answers, not
the
| >>>>>>>> individuals answers. If I use the default confirmation page, of
| >>>>>>>> course all that is displayed is the individuals answers.
| >>>>>>>>
| >>>>>>>> Can I do what I'm trying to do and if so, how do I go about it?
| >>>>>>>>
| >>>>>>>> Thanks
| >>>>>>>>
| >>>>>>>> Lee Steele
| >>>>>>>
| >>>>>>>
| >>>>
| >>>>
| >>
| >>
 

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