PC Review


Reply
Thread Tools Rate Thread

Compare and Confirm 2 Drop Down Boxes

 
 
=?Utf-8?B?TWljaGVsbGU=?=
Guest
Posts: n/a
 
      4th Dec 2005
I have a form that asks for an email address and I want it to have a field
that makes the user confirm the address. I found a J-Bots script that doesn't
allow the user to get past the 2nd field if the information isn't the same as
the 1st field. That's great. But, I also have a drop down box that offers
multiple choices that I want people to confirm as well in a 2nd drop down
box, so I want each box to be identical.

I tried to use the J-Bots script on the drop down boxes, but apparently it
will only allow me to compare 2 fields (the email addresses).

Is there a script that will force the user to enter the same selection in
both drop down boxes that will not interfere with the script that compares
the email fields?

In short, I want people to confirm their "email address" in a 2nd text field
and I want them to also confirm their "selection" in a 2nd drop down box in
the same form.
--
Thanks a million. Michelle
 
Reply With Quote
 
 
 
 
=?Utf-8?B?SmltIEJ1eWVucw==?=
Guest
Posts: n/a
 
      4th Dec 2005
Are you using a FrontPage "Save Results" component to process the form input
after it arives at the Web server?

Jim Buyens
Microsoft MVP
http://www.interlacken.com
Author of:
o-----------------------------------------------------
o--> Microsoft Visual Web Developer 2005 Express Edition: Build a Web Site
Now!
o--> Microsoft Office FrontPage 2003 Inside Out
o--> Microsoft Windows SharePoint Services Inside Out
o--> Faster Smarter Beginning Programming
o-----------------------------------------------------


"Michelle" wrote:

> I have a form that asks for an email address and I want it to have a field
> that makes the user confirm the address. I found a J-Bots script that doesn't
> allow the user to get past the 2nd field if the information isn't the same as
> the 1st field. That's great. But, I also have a drop down box that offers
> multiple choices that I want people to confirm as well in a 2nd drop down
> box, so I want each box to be identical.
>
> I tried to use the J-Bots script on the drop down boxes, but apparently it
> will only allow me to compare 2 fields (the email addresses).
>
> Is there a script that will force the user to enter the same selection in
> both drop down boxes that will not interfere with the script that compares
> the email fields?
>
> In short, I want people to confirm their "email address" in a 2nd text field
> and I want them to also confirm their "selection" in a 2nd drop down box in
> the same form.
> --
> Thanks a million. Michelle

 
Reply With Quote
 
Thomas A. Rowe
Guest
Posts: n/a
 
      5th Dec 2005
Why would you need to people to confirm a drop down choice where they are making a selection that
you have provided? Use FP Form Field Validation and set the first choice as not allowed, this will
force to the user to select another item from the list.

The email compare function is to make sure that the user has spelled the email address correctly,
and doesn't in sure that they have provide a correct or valid email address.

--
==============================================
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.
==============================================

"Michelle" <(E-Mail Removed)> wrote in message
news:43099164-4288-4245-BA33-(E-Mail Removed)...
>I have a form that asks for an email address and I want it to have a field
> that makes the user confirm the address. I found a J-Bots script that doesn't
> allow the user to get past the 2nd field if the information isn't the same as
> the 1st field. That's great. But, I also have a drop down box that offers
> multiple choices that I want people to confirm as well in a 2nd drop down
> box, so I want each box to be identical.
>
> I tried to use the J-Bots script on the drop down boxes, but apparently it
> will only allow me to compare 2 fields (the email addresses).
>
> Is there a script that will force the user to enter the same selection in
> both drop down boxes that will not interfere with the script that compares
> the email fields?
>
> In short, I want people to confirm their "email address" in a 2nd text field
> and I want them to also confirm their "selection" in a 2nd drop down box in
> the same form.
> --
> Thanks a million. Michelle



 
Reply With Quote
 
=?Utf-8?B?TWljaGVsbGU=?=
Guest
Posts: n/a
 
      5th Dec 2005
I know how to disallow first choice. My concern is that the user may
accidentally click on the wrong drop down item and not realize it, as I've
seen it happen in the past, in which case I want them to confirm their choice
so they can't argue later "Ooops, I made a boo boo", if that answers your
"not very well thought out" question.

--


"Thomas A. Rowe" wrote:

> Why would you need to people to confirm a drop down choice where they are making a selection that
> you have provided? Use FP Form Field Validation and set the first choice as not allowed, this will
> force to the user to select another item from the list.
>
> The email compare function is to make sure that the user has spelled the email address correctly,
> and doesn't in sure that they have provide a correct or valid email address.
>
> --
> ==============================================
> 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.
> ==============================================
>
> "Michelle" <(E-Mail Removed)> wrote in message
> news:43099164-4288-4245-BA33-(E-Mail Removed)...
> >I have a form that asks for an email address and I want it to have a field
> > that makes the user confirm the address. I found a J-Bots script that doesn't
> > allow the user to get past the 2nd field if the information isn't the same as
> > the 1st field. That's great. But, I also have a drop down box that offers
> > multiple choices that I want people to confirm as well in a 2nd drop down
> > box, so I want each box to be identical.
> >
> > I tried to use the J-Bots script on the drop down boxes, but apparently it
> > will only allow me to compare 2 fields (the email addresses).
> >
> > Is there a script that will force the user to enter the same selection in
> > both drop down boxes that will not interfere with the script that compares
> > the email fields?
> >
> > In short, I want people to confirm their "email address" in a 2nd text field
> > and I want them to also confirm their "selection" in a 2nd drop down box in
> > the same form.
> > --
> > Thanks a million. Michelle

>
>
>

 
Reply With Quote
 
Thomas A. Rowe
Guest
Posts: n/a
 
      5th Dec 2005
Have you consider using server-side scripting and taking a user to review page before actually
processing the submission?

--
==============================================
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.
==============================================

"Michelle" <(E-Mail Removed)> wrote in message
news:41072F94-654A-465E-B7B5-(E-Mail Removed)...
>I know how to disallow first choice. My concern is that the user may
> accidentally click on the wrong drop down item and not realize it, as I've
> seen it happen in the past, in which case I want them to confirm their choice
> so they can't argue later "Ooops, I made a boo boo", if that answers your
> "not very well thought out" question.
>
> --
>
>
> "Thomas A. Rowe" wrote:
>
>> Why would you need to people to confirm a drop down choice where they are making a selection that
>> you have provided? Use FP Form Field Validation and set the first choice as not allowed, this
>> will
>> force to the user to select another item from the list.
>>
>> The email compare function is to make sure that the user has spelled the email address correctly,
>> and doesn't in sure that they have provide a correct or valid email address.
>>
>> --
>> ==============================================
>> 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.
>> ==============================================
>>
>> "Michelle" <(E-Mail Removed)> wrote in message
>> news:43099164-4288-4245-BA33-(E-Mail Removed)...
>> >I have a form that asks for an email address and I want it to have a field
>> > that makes the user confirm the address. I found a J-Bots script that doesn't
>> > allow the user to get past the 2nd field if the information isn't the same as
>> > the 1st field. That's great. But, I also have a drop down box that offers
>> > multiple choices that I want people to confirm as well in a 2nd drop down
>> > box, so I want each box to be identical.
>> >
>> > I tried to use the J-Bots script on the drop down boxes, but apparently it
>> > will only allow me to compare 2 fields (the email addresses).
>> >
>> > Is there a script that will force the user to enter the same selection in
>> > both drop down boxes that will not interfere with the script that compares
>> > the email fields?
>> >
>> > In short, I want people to confirm their "email address" in a 2nd text field
>> > and I want them to also confirm their "selection" in a 2nd drop down box in
>> > the same form.
>> > --
>> > Thanks a million. Michelle

>>
>>
>>



 
Reply With Quote
 
=?Utf-8?B?SmltIEJ1eWVucw==?=
Guest
Posts: n/a
 
      5th Dec 2005
Well, there are ways to do what you want, but they're not built into
FrontPage. In fact, if you're currently using FrontPage form field validation
or the FrontPage facility for saving results to e-mail, a file, or a
database, you would have to switch all that to custom code.

So, I ask again: Are you currently using FrontPage form field validation or
the FrontPage facility for saving results to e-mail, a file, or a database?

Also, I tend to agree with Tom's implied observation that forcing the
visitor to make identical selections in two drop-down boxes is unusual, and
therefore likely to be confusing. An "Are you sure?" dialog box (or page) is
much more common and familiar.

Have you thought about why this is such a problem? For example, do you have
too many choices in your drop-down list. or is it too hard to detect and
correct mistakes later?

Jim Buyens
Microsoft MVP
http://www.interlacken.com
Author of:
o--> Microsoft Visual Web Developer 2005 Express Edition: Build a Web Site
Now!
o--> Microsoft Office FrontPage 2003 Inside Out
o--> Microsoft Windows SharePoint Services Inside Out
o--> Faster Smarter Beginning Programming


"Michelle" wrote:

> I know how to disallow first choice. My concern is that the user may
> accidentally click on the wrong drop down item and not realize it, as I've
> seen it happen in the past, in which case I want them to confirm their choice
> so they can't argue later "Ooops, I made a boo boo", if that answers your
> "not very well thought out" question.
>
> --
>
>
> "Thomas A. Rowe" wrote:
>
> > Why would you need to people to confirm a drop down choice where they are making a selection that
> > you have provided? Use FP Form Field Validation and set the first choice as not allowed, this will
> > force to the user to select another item from the list.
> >
> > The email compare function is to make sure that the user has spelled the email address correctly,
> > and doesn't in sure that they have provide a correct or valid email address.
> >
> > --
> > ==============================================
> > 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.
> > ==============================================
> >
> > "Michelle" <(E-Mail Removed)> wrote in message
> > news:43099164-4288-4245-BA33-(E-Mail Removed)...
> > >I have a form that asks for an email address and I want it to have a field
> > > that makes the user confirm the address. I found a J-Bots script that doesn't
> > > allow the user to get past the 2nd field if the information isn't the same as
> > > the 1st field. That's great. But, I also have a drop down box that offers
> > > multiple choices that I want people to confirm as well in a 2nd drop down
> > > box, so I want each box to be identical.
> > >
> > > I tried to use the J-Bots script on the drop down boxes, but apparently it
> > > will only allow me to compare 2 fields (the email addresses).
> > >
> > > Is there a script that will force the user to enter the same selection in
> > > both drop down boxes that will not interfere with the script that compares
> > > the email fields?
> > >
> > > In short, I want people to confirm their "email address" in a 2nd text field
> > > and I want them to also confirm their "selection" in a 2nd drop down box in
> > > the same form.
> > > --
> > > Thanks a million. Michelle

> >
> >
> >

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Drop down boxes/tick boxes Jane Microsoft Excel Worksheet Functions 1 28th Oct 2008 04:02 PM
Making Drop boxes in forms into check boxes =?Utf-8?B?R2FyeQ==?= Microsoft Access Forms 1 29th May 2007 09:01 PM
clearing confirm boxes does not stop warnings =?Utf-8?B?R2FydGho?= Microsoft Access Queries 2 12th Jan 2006 07:42 PM
Vertical Menu Slide Out Boxes vs. Drop-Down Boxes ? =?Utf-8?B?Z29uZWZpc2hpbmc=?= Microsoft Frontpage 2 16th Oct 2005 11:58 PM
Re: Hiding rows containing drop-down list boxes and check boxes Dan E Microsoft Excel Misc 0 11th Jul 2003 07:59 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:02 AM.