"Submit" and then "Submit" Again?

A

auerbach

I'm building a site for a law firm. They can't accept messages (from a
form mailer) unless the sender agrees that the message does not constitute
an engagement for legal services. (Hey, to them it makes sense. Don't ask.)
I know I can include a field in the form that requires the sender to
click an acknowledgement of this condition before the form can be sent.
However, I wonder if it is possible to do a "double" form -- that is, a
visitor fills out the form, clicks the "submit" button, and instead of a
confirmation page he sees a page that includes the disclaimer clause, with a
requirement that a second "submit" button be clicked to actually send the
message.
I'm not arguing that this is the best solution. I'm simply wondering if
it is possible within Frontpage 2003, without requiring special scripting,
etc.

TIA,

Alex
 
T

Thomas A. Rowe

Here is what I have done...

I add the disclaimer statement with a note that indicates the user must type YES in all caps, then I
set the form field validation to text, other and then enter the letters YES, set required to min and
max characters to 3.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
A

Andrew Murray

maybe they mean it is an enquiry form, and no guarantee of acquiring their
services.

auerbach said:
I'm building a site for a law firm. They can't accept messages (from a
form mailer) unless the sender agrees that the message does not constitute
an engagement for legal services. (Hey, to them it makes sense. Don't ask.)
I know I can include a field in the form that requires the sender to
click an acknowledgement of this condition before the form can be sent.
However, I wonder if it is possible to do a "double" form -- that is, a
visitor fills out the form, clicks the "submit" button, and instead of a
confirmation page he sees a page that includes the disclaimer clause, with a
requirement that a second "submit" button be clicked to actually send the
message.
I'm not arguing that this is the best solution. I'm simply wondering if
it is possible within Frontpage 2003, without requiring special scripting,
etc.

TIA,

Alex
It perhaps would be easy to do it like this :

you have the enqiry form, then the preamble and user agreement etc then have
two radio buttons like "Do you agree with the above agreement Yes | No.....so if
you choose no, and a submit button....a script will test which radio button is
"checked" and do one of two actions if "NO" is checked then the form will go back
to a "sorry you need to agree to proceed" page or something, and if "YES" is
checked then it proceeds to the enquiry form. The form will not submit at all,
and if you press yes, the form will send the data.

I don't know if the Frontpage form validation is that 'smart' but you could do
the 'test' with ASP or even Javascript probably.

That is one way at least.....

A second way may be similar like this:

You might have a page as you say with separate forms, one is the agreement page
with yes, no options or an "I agree" and "I disagree" buttons, so "I disagree"
goes elsewhere and "I agree" goes in to the form page. One thing, you'd need to
put in place a safety-net so people can't bypass the agreement page such as a
cookie indicating they have clicked "Yes", and if they haven't clicked anything,
then the page should not be able to be entered.

Sort of like the software EULA - where you say "I agree with this licence
agreement" and it lets you install the software and quits if you disagree. or
something like that.

I don't know if these suggestions are much help.....
 

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

Similar Threads


Top