Custom button script

B

bogardude

I am trying to set up a page with a FrontPage form that will require the
viewer to enter the answer to a question on the text field to be able to
go to a following page. I first tried to do it by validating the field
by defining the Data Value by setting the "Field Must Be" rule to be
"Equal to" the answer to the question so that when the viewer presses
the submit button the data will be validated and the confirmation page
will be the next page I want to display. So far this works fine,
however, when the answer does not match the validation rule, the
browser displays a message asking the viewer to enter the correct data
which is actualy provided in the same error message window. The
validation properties of the form allows to set up a confirmation
failure page in case the viewer enters the wrong answer in the field.
However, this is not ever happening. Instead I get the error message
window asking to enter the data that is given in the same window. Is
there a way to fix this issue? Or should I use a custom script to set
up a normal button that will validate the answer entered by the viewer
and let him/her go on to the next page? If this is the case can you
spare the script code and the way to set up the normal button to do
this?

Thanks!!
 
S

Stefan B Rusynko

Any client side scripting will always somehow display (or allow the user to find ) the correct answer
- best done w/ server side scripting which depend on your host OS (PHP or Perl or ASP, etc)




|
| I am trying to set up a page with a FrontPage form that will require the
| viewer to enter the answer to a question on the text field to be able to
| go to a following page. I first tried to do it by validating the field
| by defining the Data Value by setting the "Field Must Be" rule to be
| "Equal to" the answer to the question so that when the viewer presses
| the submit button the data will be validated and the confirmation page
| will be the next page I want to display. So far this works fine,
| however, when the answer does not match the validation rule, the
| browser displays a message asking the viewer to enter the correct data
| which is actualy provided in the same error message window. The
| validation properties of the form allows to set up a confirmation
| failure page in case the viewer enters the wrong answer in the field.
| However, this is not ever happening. Instead I get the error message
| window asking to enter the data that is given in the same window. Is
| there a way to fix this issue? Or should I use a custom script to set
| up a normal button that will validate the answer entered by the viewer
| and let him/her go on to the next page? If this is the case can you
| spare the script code and the way to set up the normal button to do
| this?
|
| Thanks!!
|
|
|
| --
| bogardude
| ------------------------------------------------------------------------
| Posted via http://www.forum4designers.com
| ------------------------------------------------------------------------
| View this thread: http://www.forum4designers.com/message292430.html
|
 

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