Forms and Check Boxes

G

Guest

Hi, I hope you all are doing well.

I'm trying to create a menu using a form to list various menu entres for a
restaurant. I thought I could create a text box and associate a check box
with it so when the check box beside a particular menu item was selected and
the submit button was clicked, the menu item would be identified in the reply
sent to the emai address.

I'm having difficulty with and am wondering if I have the right idea but do
not know how to set up or if I'm in the wrong ball park and need to regroup.

Any help will be greatly appreciated.
KP
 
T

Thomas A. Rowe

You would have to assign the menu item name to each checkbox in order for it to be passed to the
email or you would have use a custom written server-side scripting solution in whatever scripting
language is supported by your web host.

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

Guest

Hi Ken,

You could check out basic form tutorials at my site. You wouldn't really
have the checkbox next to the textbox in this way, as they are separate form
fields.

Let's say we are choosing an apetiser from a list using radios. : In the
following, we have 4 choices and require a response. None is added as a
choice so they can decline, since a choice is required.

------------------------------------------------------------
<form method="POST" action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults" <p --><input type="radio" name="Appetiser"
value="Soup">Soup<Br>
<input type="radio" name="Appetiser" value="Salad"> Salad<br>
<input type="radio" name="Appetiser" value="Bread & Sauce"> Bread &Sauce<br>
<input type="radio" name="Appetiser" value="None"> None
<p><input type="submit" value="Submit" name="B1"><input type="reset"
value="Reset" name="B2"></p>
</form>
------------------------------------------------------------


In the next example we allow the user to choose all or none using checkboxes
(checkboxes are generally used when more than one choice is allowed): None
has been removed since a response isn't required.

------------------------------------------------------------
<form method="POST" action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults" <p --><input type="checkbox" name="Soup"
value="Soup">Soup<br>
<input type="checkbox" name="Salad" value="Salad">Salad<br>
<input type="checkbox" name="Bread & Sauce" value="Bread & Sauce">Bread &
Sauce<br>
<p><input type="submit" value="Submit" name="B1"><input type="reset"
value="Reset" name="B2"></p>
</form>
------------------------------------------------------------

My apologies if you were looking for something different.


Mike Smith,

http://FrontPageForms.com
FrontPage Form Tutorials
& Form Script Examples
 
G

Guest

Can you elaborate on how to assign the menu item to the check box? I did
help/search and could not find anything of value in that regard. Are you
saying there is a way to assign the text box containing the menu item to the
label of the text box?

Thanks
 
T

Thomas A. Rowe

You would manually under Form Properties for each checkbox type the menu name as the value.

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

Guest

Hi Mike, I think I understand what you are doing. I had hoped to be able to
do it without having to code it. If that option is not available, I guess
I'll have to go with the long method. Thanks.
 
G

Guest

Ken,

If you are planning on using the FrontPage form handler for email and file,
you really don't have to code.
Just be sure to start your form via Insert >> Form >> Form before entering
fields.

Then it is a simple matter of Insert >> Form and choose the desired field.

FrontPage Help can clue you into this. My tutorials cover building from
scratch and how to validate.

Mike Smith,

http://FrontPageForms.com
FrontPage Form Tutorials
& Form Script Examples
 
G

Guest

Hi Mike, one more question concerning the form and the check boxes. Is there
a way to have only the item with the box checked to be sent to the email
address?

Thanks in advance and have a greta Xmas.
 
G

Guest

Hi Ken,

In the case of the FrontPage form handler, each field or group will come
along with the email (assuming it is in saved fields) whether or not it is
filled in. The field name appears when you select to include them in the
results. If the field is blank, then it will show the name and then a blank
space.

If the results are obvious, you could eliminate the field names from them
and have a little less clutter.


Mike Smith,

http://FrontPageForms.com
FrontPage Form Tutorials
& Form Script Examples
 
B

Bob

Hi KenP

Just a thought...

How do I suppress empty fields in E-Mail form results.

Try...
Right click on form got to
Form Properties> (new window)
Then Options> (new window)
Then E-Mail tab at top of window...
Uncheck the Include field names..

Yes, but how do I know what is being returned? He asks..

All you need to do is "set the value" of a check box or dropdown box to
return the information so it makes sense..
Fields that have not been used will not be in the E-Mail..

Hope this might help

Bob
| Hi Mike, one more question concerning the form and the check boxes. Is
there
| a way to have only the item with the box checked to be sent to the email
| address?
|
| Thanks in advance and have a greta Xmas.
|
| "AMysticWeb" wrote:
|
| > Ken,
| >
| > If you are planning on using the FrontPage form handler for email and
file,
| > you really don't have to code.
| > Just be sure to start your form via Insert >> Form >> Form before
entering
| > fields.
| >
| > Then it is a simple matter of Insert >> Form and choose the desired
field.
| >
| > FrontPage Help can clue you into this. My tutorials cover building from
| > scratch and how to validate.
| >
| > Mike Smith,
| >
| > http://FrontPageForms.com
| > FrontPage Form Tutorials
| > & Form Script Examples
| >
| >
| >
| > "KenP" wrote:
| >
| > > Mike, disregard previous ??, you answered it with checkbox routing.
Thanks.
| > >
| > > "AMysticWeb" wrote:
| > >
| > > > Hi Ken,
| > > >
| > > > You could check out basic form tutorials at my site. You wouldn't
really
| > > > have the checkbox next to the textbox in this way, as they are
separate form
| > > > fields.
| > > >
| > > > Let's say we are choosing an apetiser from a list using radios. : In
the
| > > > following, we have 4 choices and require a response. None is added
as a
| > > > choice so they can decline, since a choice is required.
| > > >
| > > > ------------------------------------------------------------
| > > > <form method="POST" action="--WEBBOT-SELF--">
| > > > <!--webbot bot="SaveResults" <p --><input type="radio"
name="Appetiser"
| > > > value="Soup">Soup<Br>
| > > > <input type="radio" name="Appetiser" value="Salad"> Salad<br>
| > > > <input type="radio" name="Appetiser" value="Bread & Sauce"> Bread
&Sauce<br>
| > > > <input type="radio" name="Appetiser" value="None"> None
| > > > <p><input type="submit" value="Submit" name="B1"><input
type="reset"
| > > > value="Reset" name="B2"></p>
| > > > </form>
| > > > ------------------------------------------------------------
| > > >
| > > >
| > > > In the next example we allow the user to choose all or none using
checkboxes
| > > > (checkboxes are generally used when more than one choice is
allowed): None
| > > > has been removed since a response isn't required.
| > > >
| > > > ------------------------------------------------------------
| > > > <form method="POST" action="--WEBBOT-SELF--">
| > > > <!--webbot bot="SaveResults" <p --><input type="checkbox"
name="Soup"
| > > > value="Soup">Soup<br>
| > > > <input type="checkbox" name="Salad" value="Salad">Salad<br>
| > > > <input type="checkbox" name="Bread & Sauce" value="Bread &
Sauce">Bread &
| > > > Sauce<br>
| > > > <p><input type="submit" value="Submit" name="B1"><input
type="reset"
| > > > value="Reset" name="B2"></p>
| > > > </form>
| > > > ------------------------------------------------------------
| > > >
| > > > My apologies if you were looking for something different.
| > > >
| > > >
| > > > Mike Smith,
| > > >
| > > > http://FrontPageForms.com
| > > > FrontPage Form Tutorials
| > > > & Form Script Examples
| > > >
| > > >
| > > >
| > > > "KenP" wrote:
| > > >
| > > > > Hi, I hope you all are doing well.
| > > > >
| > > > > I'm trying to create a menu using a form to list various menu
entres for a
| > > > > restaurant. I thought I could create a text box and associate a
check box
| > > > > with it so when the check box beside a particular menu item was
selected and
| > > > > the submit button was clicked, the menu item would be identified
in the reply
| > > > > sent to the emai address.
| > > > >
| > > > > I'm having difficulty with and am wondering if I have the right
idea but do
| > > > > not know how to set up or if I'm in the wrong ball park and need
to regroup.
| > > > >
| > > > > Any help will be greatly appreciated.
| > > > > KP
 
T

Thomas A. Rowe

Not possible when using the FP Form Handler.

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

Bob

I have done this with FrontPage forms! Easy...
But maybe I am using a different FrontPage than you.

EOS

Bob
| Not possible when using the FP Form Handler.
|
| --
| ==============================================
| 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.
| ==============================================
|
| > Hi KenP
| >
| > Just a thought...
| >
| > How do I suppress empty fields in E-Mail form results.
| >
| > Try...
| > Right click on form got to
| > Form Properties> (new window)
| > Then Options> (new window)
| > Then E-Mail tab at top of window...
| > Uncheck the Include field names..
| >
| > Yes, but how do I know what is being returned? He asks..
| >
| > All you need to do is "set the value" of a check box or dropdown box to
| > return the information so it makes sense..
| > Fields that have not been used will not be in the E-Mail..
| >
| > Hope this might help
| >
| > Bob
| > | > | Hi Mike, one more question concerning the form and the check boxes. Is
| > there
| > | a way to have only the item with the box checked to be sent to the
email
| > | address?
| > |
| > | Thanks in advance and have a greta Xmas.
| > |
| > | "AMysticWeb" wrote:
| > |
| > | > Ken,
| > | >
| > | > If you are planning on using the FrontPage form handler for email
and
| > file,
| > | > you really don't have to code.
| > | > Just be sure to start your form via Insert >> Form >> Form before
| > entering
| > | > fields.
| > | >
| > | > Then it is a simple matter of Insert >> Form and choose the desired
| > field.
| > | >
| > | > FrontPage Help can clue you into this. My tutorials cover building
from
| > | > scratch and how to validate.
| > | >
| > | > Mike Smith,
| > | >
| > | > http://FrontPageForms.com
| > | > FrontPage Form Tutorials
| > | > & Form Script Examples
| > | >
| > | >
| > | >
| > | > "KenP" wrote:
| > | >
| > | > > Mike, disregard previous ??, you answered it with checkbox
routing.
| > Thanks.
| > | > >
| > | > > "AMysticWeb" wrote:
| > | > >
| > | > > > Hi Ken,
| > | > > >
| > | > > > You could check out basic form tutorials at my site. You
wouldn't
| > really
| > | > > > have the checkbox next to the textbox in this way, as they are
| > separate form
| > | > > > fields.
| > | > > >
| > | > > > Let's say we are choosing an apetiser from a list using radios.
: In
| > the
| > | > > > following, we have 4 choices and require a response. None is
added
| > as a
| > | > > > choice so they can decline, since a choice is required.
| > | > > >
| > | > > > ------------------------------------------------------------
| > | > > > <form method="POST" action="--WEBBOT-SELF--">
| > | > > > <!--webbot bot="SaveResults" <p --><input type="radio"
| > name="Appetiser"
| > | > > > value="Soup">Soup<Br>
| > | > > > <input type="radio" name="Appetiser" value="Salad"> Salad<br>
| > | > > > <input type="radio" name="Appetiser" value="Bread & Sauce">
Bread
| > &Sauce<br>
| > | > > > <input type="radio" name="Appetiser" value="None"> None
| > | > > > <p><input type="submit" value="Submit" name="B1"><input
| > type="reset"
| > | > > > value="Reset" name="B2"></p>
| > | > > > </form>
| > | > > > ------------------------------------------------------------
| > | > > >
| > | > > >
| > | > > > In the next example we allow the user to choose all or none
using
| > checkboxes
| > | > > > (checkboxes are generally used when more than one choice is
| > allowed): None
| > | > > > has been removed since a response isn't required.
| > | > > >
| > | > > > ------------------------------------------------------------
| > | > > > <form method="POST" action="--WEBBOT-SELF--">
| > | > > > <!--webbot bot="SaveResults" <p --><input type="checkbox"
| > name="Soup"
| > | > > > value="Soup">Soup<br>
| > | > > > <input type="checkbox" name="Salad" value="Salad">Salad<br>
| > | > > > <input type="checkbox" name="Bread & Sauce" value="Bread &
| > Sauce">Bread &
| > | > > > Sauce<br>
| > | > > > <p><input type="submit" value="Submit" name="B1"><input
| > type="reset"
| > | > > > value="Reset" name="B2"></p>
| > | > > > </form>
| > | > > > ------------------------------------------------------------
| > | > > >
| > | > > > My apologies if you were looking for something different.
| > | > > >
| > | > > >
| > | > > > Mike Smith,
| > | > > >
| > | > > > http://FrontPageForms.com
| > | > > > FrontPage Form Tutorials
| > | > > > & Form Script Examples
| > | > > >
| > | > > >
| > | > > >
| > | > > > "KenP" wrote:
| > | > > >
| > | > > > > Hi, I hope you all are doing well.
| > | > > > >
| > | > > > > I'm trying to create a menu using a form to list various menu
| > entres for a
| > | > > > > restaurant. I thought I could create a text box and associate
a
| > check box
| > | > > > > with it so when the check box beside a particular menu item
was
| > selected and
| > | > > > > the submit button was clicked, the menu item would be
identified
| > in the reply
| > | > > > > sent to the emai address.
| > | > > > >
| > | > > > > I'm having difficulty with and am wondering if I have the
right
| > idea but do
| > | > > > > not know how to set up or if I'm in the wrong ball park and
need
| > to regroup.
| > | > > > >
| > | > > > > Any help will be greatly appreciated.
| > | > > > > KP
| >
| >
|
|
 
T

Thomas A. Rowe

Please provide a link to a form and details on how you accomplish this!

You can create the form with FP, but you can not process the form via the FP form handler and not
have empty fields passed to a file or email, no matter which version of FP you are using.
--
==============================================
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.
==============================================
 
B

Bob

Uh... The point is the empty fields are "NOT" passed to the E-mail!

The Idea is if the form has 30 fields and only 10 are filled out the E-mail
will only contain the 10 fields and not all 30.
"How do I suppress empty fields in E-Mail form results"

If you include the "Field Names" then it will return all 30 Fields in the
E-Mail.... right?

Bob

| Please provide a link to a form and details on how you accomplish this!
|
| You can create the form with FP, but you can not process the form via the
FP form handler and not
| have empty fields passed to a file or email, no matter which version of FP
you are using.
| --
| ==============================================
| 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.
| ==============================================
|
| >I have done this with FrontPage forms! Easy...
| > But maybe I am using a different FrontPage than you.
| >
| > EOS
| >
| > Bob
| > | > | Not possible when using the FP Form Handler.
| > |
| > | --
| > | ==============================================
| > | 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.
| > | ==============================================
| > |
| > | > | > Hi KenP
| > | >
| > | > Just a thought...
| > | >
| > | > How do I suppress empty fields in E-Mail form results.
| > | >
| > | > Try...
| > | > Right click on form got to
| > | > Form Properties> (new window)
| > | > Then Options> (new window)
| > | > Then E-Mail tab at top of window...
| > | > Uncheck the Include field names..
| > | >
| > | > Yes, but how do I know what is being returned? He asks..
| > | >
| > | > All you need to do is "set the value" of a check box or dropdown box
to
| > | > return the information so it makes sense..
| > | > Fields that have not been used will not be in the E-Mail..
| > | >
| > | > Hope this might help
| > | >
| > | > Bob
| > | > | > | > | Hi Mike, one more question concerning the form and the check
boxes. Is
| > | > there
| > | > | a way to have only the item with the box checked to be sent to the
| > email
| > | > | address?
| > | > |
| > | > | Thanks in advance and have a greta Xmas.
| > | > |
| > | > | "AMysticWeb" wrote:
| > | > |
| > | > | > Ken,
| > | > | >
| > | > | > If you are planning on using the FrontPage form handler for
email
| > and
| > | > file,
| > | > | > you really don't have to code.
| > | > | > Just be sure to start your form via Insert >> Form >> Form
before
| > | > entering
| > | > | > fields.
| > | > | >
| > | > | > Then it is a simple matter of Insert >> Form and choose the
desired
| > | > field.
| > | > | >
| > | > | > FrontPage Help can clue you into this. My tutorials cover
building
| > from
| > | > | > scratch and how to validate.
| > | > | >
| > | > | > Mike Smith,
| > | > | >
| > | > | > http://FrontPageForms.com
| > | > | > FrontPage Form Tutorials
| > | > | > & Form Script Examples
| > | > | >
| > | > | >
| > | > | >
| > | > | > "KenP" wrote:
| > | > | >
| > | > | > > Mike, disregard previous ??, you answered it with checkbox
| > routing.
| > | > Thanks.
| > | > | > >
| > | > | > > "AMysticWeb" wrote:
| > | > | > >
| > | > | > > > Hi Ken,
| > | > | > > >
| > | > | > > > You could check out basic form tutorials at my site. You
| > wouldn't
| > | > really
| > | > | > > > have the checkbox next to the textbox in this way, as they
are
| > | > separate form
| > | > | > > > fields.
| > | > | > > >
| > | > | > > > Let's say we are choosing an apetiser from a list using
radios.
| > : In
| > | > the
| > | > | > > > following, we have 4 choices and require a response. None is
| > added
| > | > as a
| > | > | > > > choice so they can decline, since a choice is required.
| > | > | > > >
| > | > | > > > ------------------------------------------------------------
| > | > | > > > <form method="POST" action="--WEBBOT-SELF--">
| > | > | > > > <!--webbot bot="SaveResults" <p --><input type="radio"
| > | > name="Appetiser"
| > | > | > > > value="Soup">Soup<Br>
| > | > | > > > <input type="radio" name="Appetiser" value="Salad">
Salad<br>
| > | > | > > > <input type="radio" name="Appetiser" value="Bread &
Sauce">
| > Bread
| > | > &Sauce<br>
| > | > | > > > <input type="radio" name="Appetiser" value="None"> None
| > | > | > > > <p><input type="submit" value="Submit" name="B1"><input
| > | > type="reset"
| > | > | > > > value="Reset" name="B2"></p>
| > | > | > > > </form>
| > | > | > > > ------------------------------------------------------------
| > | > | > > >
| > | > | > > >
| > | > | > > > In the next example we allow the user to choose all or none
| > using
| > | > checkboxes
| > | > | > > > (checkboxes are generally used when more than one choice is
| > | > allowed): None
| > | > | > > > has been removed since a response isn't required.
| > | > | > > >
| > | > | > > > ------------------------------------------------------------
| > | > | > > > <form method="POST" action="--WEBBOT-SELF--">
| > | > | > > > <!--webbot bot="SaveResults" <p --><input type="checkbox"
| > | > name="Soup"
| > | > | > > > value="Soup">Soup<br>
| > | > | > > > <input type="checkbox" name="Salad"
value="Salad">Salad<br>
| > | > | > > > <input type="checkbox" name="Bread & Sauce" value="Bread &
| > | > Sauce">Bread &
| > | > | > > > Sauce<br>
| > | > | > > > <p><input type="submit" value="Submit" name="B1"><input
| > | > type="reset"
| > | > | > > > value="Reset" name="B2"></p>
| > | > | > > > </form>
| > | > | > > > ------------------------------------------------------------
| > | > | > > >
| > | > | > > > My apologies if you were looking for something different.
| > | > | > > >
| > | > | > > >
| > | > | > > > Mike Smith,
| > | > | > > >
| > | > | > > > http://FrontPageForms.com
| > | > | > > > FrontPage Form Tutorials
| > | > | > > > & Form Script Examples
| > | > | > > >
| > | > | > > >
| > | > | > > >
| > | > | > > > "KenP" wrote:
| > | > | > > >
| > | > | > > > > Hi, I hope you all are doing well.
| > | > | > > > >
| > | > | > > > > I'm trying to create a menu using a form to list various
menu
| > | > entres for a
| > | > | > > > > restaurant. I thought I could create a text box and
associate
| > a
| > | > check box
| > | > | > > > > with it so when the check box beside a particular menu
item
| > was
| > | > selected and
| > | > | > > > > the submit button was clicked, the menu item would be
| > identified
| > | > in the reply
| > | > | > > > > sent to the emai address.
| > | > | > > > >
| > | > | > > > > I'm having difficulty with and am wondering if I have the
| > right
| > | > idea but do
| > | > | > > > > not know how to set up or if I'm in the wrong ball park
and
| > need
| > | > to regroup.
| > | > | > > > >
| > | > | > > > > Any help will be greatly appreciated.
| > | > | > > > > KP
| > | >
| > | >
| > |
| > |
| >
| >
|
|
 
T

Thomas A. Rowe

By default all fields are passed to the FP Form Handler, and since 1997, I don't recall anyone ever
asking to eliminate the field names from emails, most users want the email to look just like the
form page.

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

Bob

But it can be done!!!
(That is why FrontPage has the check Box to not return the field names)
If the form has a check Box for....

Eggs
Bacon
Hash Browns

and instead of going by the "Field Names" (Field 1, Field 2, Field
3....ect.)
and the value is "Yes" if checked...

Try setting the Value to "Eggs" then when checked it will return (No Field
Name) Just Eggs (the value of the Box) The other fields are not sent...

If "Eggs & Bacon" are checked you don't need to know that he (or she) did
not check the "Hash Browns" Box. The E-Mail will return....

Eggs
Bacon

You then have the information you need and nothing else.

Why wade through 30 fields just to get the info of 10?

Bob
| By default all fields are passed to the FP Form Handler, and since 1997, I
don't recall anyone ever
| asking to eliminate the field names from emails, most users want the email
to look just like the
| form page.
|
| --
| ==============================================
| 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.
| ==============================================
|
| > Uh... The point is the empty fields are "NOT" passed to the E-mail!
| >
| > The Idea is if the form has 30 fields and only 10 are filled out the
E-mail
| > will only contain the 10 fields and not all 30.
| > "How do I suppress empty fields in E-Mail form results"
| >
| > If you include the "Field Names" then it will return all 30 Fields in
the
| > E-Mail.... right?
| >
| > Bob
| >
| > | > | Please provide a link to a form and details on how you accomplish
this!
| > |
| > | You can create the form with FP, but you can not process the form via
the
| > FP form handler and not
| > | have empty fields passed to a file or email, no matter which version
of FP
| > you are using.
| > | --
| > | ==============================================
| > | 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.
| > | ==============================================
| > |
| > | > | >I have done this with FrontPage forms! Easy...
| > | > But maybe I am using a different FrontPage than you.
| > | >
| > | > EOS
| > | >
| > | > Bob
| > | > | > | > | Not possible when using the FP Form Handler.
| > | > |
| > | > | --
| > | > | ==============================================
| > | > | 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.
| > | > | ==============================================
| > | > |
| > | > | > | > | > Hi KenP
| > | > | >
| > | > | > Just a thought...
| > | > | >
| > | > | > How do I suppress empty fields in E-Mail form results.
| > | > | >
| > | > | > Try...
| > | > | > Right click on form got to
| > | > | > Form Properties> (new window)
| > | > | > Then Options> (new window)
| > | > | > Then E-Mail tab at top of window...
| > | > | > Uncheck the Include field names..
| > | > | >
| > | > | > Yes, but how do I know what is being returned? He asks..
| > | > | >
| > | > | > All you need to do is "set the value" of a check box or dropdown
box
| > to
| > | > | > return the information so it makes sense..
| > | > | > Fields that have not been used will not be in the E-Mail..
| > | > | >
| > | > | > Hope this might help
| > | > | >
| > | > | > Bob
| > | > | > | > | > | > | Hi Mike, one more question concerning the form and the check
| > boxes. Is
| > | > | > there
| > | > | > | a way to have only the item with the box checked to be sent to
the
| > | > email
| > | > | > | address?
| > | > | > |
| > | > | > | Thanks in advance and have a greta Xmas.
| > | > | > |
| > | > | > | "AMysticWeb" wrote:
| > | > | > |
| > | > | > | > Ken,
| > | > | > | >
| > | > | > | > If you are planning on using the FrontPage form handler for
| > email
| > | > and
| > | > | > file,
| > | > | > | > you really don't have to code.
| > | > | > | > Just be sure to start your form via Insert >> Form >> Form
| > before
| > | > | > entering
| > | > | > | > fields.
| > | > | > | >
| > | > | > | > Then it is a simple matter of Insert >> Form and choose the
| > desired
| > | > | > field.
| > | > | > | >
| > | > | > | > FrontPage Help can clue you into this. My tutorials cover
| > building
| > | > from
| > | > | > | > scratch and how to validate.
| > | > | > | >
| > | > | > | > Mike Smith,
| > | > | > | >
| > | > | > | > http://FrontPageForms.com
| > | > | > | > FrontPage Form Tutorials
| > | > | > | > & Form Script Examples
| > | > | > | >
| > | > | > | >
| > | > | > | >
| > | > | > | > "KenP" wrote:
| > | > | > | >
| > | > | > | > > Mike, disregard previous ??, you answered it with checkbox
| > | > routing.
| > | > | > Thanks.
| > | > | > | > >
| > | > | > | > > "AMysticWeb" wrote:
| > | > | > | > >
| > | > | > | > > > Hi Ken,
| > | > | > | > > >
| > | > | > | > > > You could check out basic form tutorials at my site. You
| > | > wouldn't
| > | > | > really
| > | > | > | > > > have the checkbox next to the textbox in this way, as
they
| > are
| > | > | > separate form
| > | > | > | > > > fields.
| > | > | > | > > >
| > | > | > | > > > Let's say we are choosing an apetiser from a list using
| > radios.
| > | > : In
| > | > | > the
| > | > | > | > > > following, we have 4 choices and require a response.
None is
| > | > added
| > | > | > as a
| > | > | > | > > > choice so they can decline, since a choice is required.
| > | > | > | > > >
| > | > | > | > >
------------------------------------------------------------
| > | > | > | > > > <form method="POST" action="--WEBBOT-SELF--">
| > | > | > | > > > <!--webbot bot="SaveResults" <p --><input type="radio"
| > | > | > name="Appetiser"
| > | > | > | > > > value="Soup">Soup<Br>
| > | > | > | > > > <input type="radio" name="Appetiser" value="Salad">
| > Salad<br>
| > | > | > | > > > <input type="radio" name="Appetiser" value="Bread &
| > Sauce">
| > | > Bread
| > | > | > &Sauce<br>
| > | > | > | > > > <input type="radio" name="Appetiser" value="None">
None
| > | > | > | > > > <p><input type="submit" value="Submit"
name="B1"><input
| > | > | > type="reset"
| > | > | > | > > > value="Reset" name="B2"></p>
| > | > | > | > > > said:
------------------------------------------------------------
| > | > | > | > > >
| > | > | > | > > >
| > | > | > | > > > In the next example we allow the user to choose all or
none
| > | > using
| > | > | > checkboxes
| > | > | > | > > > (checkboxes are generally used when more than one choice
is
| > | > | > allowed): None
| > | > | > | > > > has been removed since a response isn't required.
| > | > | > | > > >
| > | > | > | > >
------------------------------------------------------------
| > | > | > | > > > <form method="POST" action="--WEBBOT-SELF--">
| > | > | > | > > > <!--webbot bot="SaveResults" <p --><input
type="checkbox"
| > | > | > name="Soup"
| > | > | > | > > > value="Soup">Soup<br>
| > | > | > | > > > <input type="checkbox" name="Salad"
| > value="Salad">Salad<br>
| > | > | > | > > > <input type="checkbox" name="Bread & Sauce"
value="Bread &
| > | > | > Sauce">Bread &
| > | > | > | > > > Sauce<br>
| > | > | > | > > > <p><input type="submit" value="Submit"
name="B1"><input
| > | > | > type="reset"
| > | > | > | > > > value="Reset" name="B2"></p>
| > | > | > | > > > said:
------------------------------------------------------------
| > | > | > | > > >
| > | > | > | > > > My apologies if you were looking for something
different.
| > | > | > | > > >
| > | > | > | > > >
| > | > | > | > > > Mike Smith,
| > | > | > | > > >
| > | > | > | > > > http://FrontPageForms.com
| > | > | > | > > > FrontPage Form Tutorials
| > | > | > | > > > & Form Script Examples
| > | > | > | > > >
| > | > | > | > > >
| > | > | > | > > >
| > | > | > | > > > "KenP" wrote:
| > | > | > | > > >
| > | > | > | > > > > Hi, I hope you all are doing well.
| > | > | > | > > > >
| > | > | > | > > > > I'm trying to create a menu using a form to list
various
| > menu
| > | > | > entres for a
| > | > | > | > > > > restaurant. I thought I could create a text box and
| > associate
| > | > a
| > | > | > check box
| > | > | > | > > > > with it so when the check box beside a particular menu
| > item
| > | > was
| > | > | > selected and
| > | > | > | > > > > the submit button was clicked, the menu item would be
| > | > identified
| > | > | > in the reply
| > | > | > | > > > > sent to the emai address.
| > | > | > | > > > >
| > | > | > | > > > > I'm having difficulty with and am wondering if I have
the
| > | > right
| > | > | > idea but do
| > | > | > | > > > > not know how to set up or if I'm in the wrong ball
park
| > and
| > | > need
| > | > | > to regroup.
| > | > | > | > > > >
| > | > | > | > > > > Any help will be greatly appreciated.
| > | > | > | > > > > KP
| > | > | >
| > | > | >
| > | > |
| > | > |
| > | >
| > | >
| > |
| > |
| >
| >
|
|
 
T

Thomas A. Rowe

If you have a form with lots of different fields, just seen the values is of no help, as you will
not know which answers apply to which questions.

Example:

Home Phone
Office Phone
Cell Phone

Site visitor fills in a phone number, but which number have they provided?

Home Address (Street, City, State, Zip)
Business Address (Street, City, State, Zip)

Site visitor fills in an address, but which address have they provided?

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

Bob

I understand what you are saying but the Question I was answering was...
-------------------------------------------------------------------
| Hi Mike, one more question concerning the form and the check boxes. Is
there
| a way to have only the item with the box checked to be sent to the email
| address?"
--------------------------------------------------------------------------
That is why I thought my answer applied...

Have a nice day

Bob
| If you have a form with lots of different fields, just seen the values is
of no help, as you will
| not know which answers apply to which questions.
|
| Example:
|
| Home Phone
| Office Phone
| Cell Phone
|
| Site visitor fills in a phone number, but which number have they provided?
|
| Home Address (Street, City, State, Zip)
| Business Address (Street, City, State, Zip)
|
| Site visitor fills in an address, but which address have they provided?
|
| --
| ==============================================
| 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.
| ==============================================
|
| > But it can be done!!!
| > (That is why FrontPage has the check Box to not return the field names)
| > If the form has a check Box for....
| >
| > Eggs
| > Bacon
| > Hash Browns
| >
| > and instead of going by the "Field Names" (Field 1, Field 2, Field
| > 3....ect.)
| > and the value is "Yes" if checked...
| >
| > Try setting the Value to "Eggs" then when checked it will return (No
Field
| > Name) Just Eggs (the value of the Box) The other fields are not sent...
| >
| > If "Eggs & Bacon" are checked you don't need to know that he (or she)
did
| > not check the "Hash Browns" Box. The E-Mail will return....
| >
| > Eggs
| > Bacon
| >
| > You then have the information you need and nothing else.
| >
| > Why wade through 30 fields just to get the info of 10?
| >
| > Bob
| > | > | By default all fields are passed to the FP Form Handler, and since
1997, I
| > don't recall anyone ever
| > | asking to eliminate the field names from emails, most users want the
email
| > to look just like the
| > | form page.
| > |
| > | --
| > | ==============================================
| > | 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.
| > | ==============================================
| > |
| > | > | > Uh... The point is the empty fields are "NOT" passed to the E-mail!
| > | >
| > | > The Idea is if the form has 30 fields and only 10 are filled out the
| > E-mail
| > | > will only contain the 10 fields and not all 30.
| > | > "How do I suppress empty fields in E-Mail form results"
| > | >
| > | > If you include the "Field Names" then it will return all 30 Fields
in
| > the
| > | > E-Mail.... right?
| > | >
| > | > Bob
| > | >
| > | > | > | > | Please provide a link to a form and details on how you accomplish
| > this!
| > | > |
| > | > | You can create the form with FP, but you can not process the form
via
| > the
| > | > FP form handler and not
| > | > | have empty fields passed to a file or email, no matter which
version
| > of FP
| > | > you are using.
| > | > | --
| > | > | ==============================================
| > | > | 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.
| > | > | ==============================================
| > | > |
| > | > | > | > | >I have done this with FrontPage forms! Easy...
| > | > | > But maybe I am using a different FrontPage than you.
| > | > | >
| > | > | > EOS
| > | > | >
| > | > | > Bob
| > | > | > | > | > | > | Not possible when using the FP Form Handler.
| > | > | > |
| > | > | > | --
| > | > | > | ==============================================
| > | > | > | 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.
| > | > | > | ==============================================
| > | > | > |
| > | > | > | > | > | > | > Hi KenP
| > | > | > | >
| > | > | > | > Just a thought...
| > | > | > | >
| > | > | > | > How do I suppress empty fields in E-Mail form results.
| > | > | > | >
| > | > | > | > Try...
| > | > | > | > Right click on form got to
| > | > | > | > Form Properties> (new window)
| > | > | > | > Then Options> (new window)
| > | > | > | > Then E-Mail tab at top of window...
| > | > | > | > Uncheck the Include field names..
| > | > | > | >
| > | > | > | > Yes, but how do I know what is being returned? He asks..
| > | > | > | >
| > | > | > | > All you need to do is "set the value" of a check box or
dropdown
| > box
| > | > to
| > | > | > | > return the information so it makes sense..
| > | > | > | > Fields that have not been used will not be in the E-Mail..
| > | > | > | >
| > | > | > | > Hope this might help
| > | > | > | >
| > | > | > | > Bob
| > | > | > | > | > | > | > | > | Hi Mike, one more question concerning the form and the
check
| > | > boxes. Is
| > | > | > | > there
| > | > | > | > | a way to have only the item with the box checked to be
sent to
| > the
| > | > | > email
| > | > | > | > | address?
| > | > | > | > |
| > | > | > | > | Thanks in advance and have a greta Xmas.
| > | > | > | > |
| > | > | > | > | "AMysticWeb" wrote:
| > | > | > | > |
| > | > | > | > | > Ken,
| > | > | > | > | >
| > | > | > | > | > If you are planning on using the FrontPage form handler
for
| > | > email
| > | > | > and
| > | > | > | > file,
| > | > | > | > | > you really don't have to code.
| > | > | > | > | > Just be sure to start your form via Insert >> Form >>
Form
| > | > before
| > | > | > | > entering
| > | > | > | > | > fields.
| > | > | > | > | >
| > | > | > | > | > Then it is a simple matter of Insert >> Form and choose
the
| > | > desired
| > | > | > | > field.
| > | > | > | > | >
| > | > | > | > | > FrontPage Help can clue you into this. My tutorials
cover
| > | > building
| > | > | > from
| > | > | > | > | > scratch and how to validate.
| > | > | > | > | >
| > | > | > | > | > Mike Smith,
| > | > | > | > | >
| > | > | > | > | > http://FrontPageForms.com
| > | > | > | > | > FrontPage Form Tutorials
| > | > | > | > | > & Form Script Examples
| > | > | > | > | >
| > | > | > | > | >
| > | > | > | > | >
| > | > | > | > | > "KenP" wrote:
| > | > | > | > | >
| > | > | > | > | > > Mike, disregard previous ??, you answered it with
checkbox
| > | > | > routing.
| > | > | > | > Thanks.
| > | > | > | > | > >
| > | > | > | > | > > "AMysticWeb" wrote:
| > | > | > | > | > >
| > | > | > | > | > > > Hi Ken,
| > | > | > | > | > > >
| > | > | > | > | > > > You could check out basic form tutorials at my site.
You
| > | > | > wouldn't
| > | > | > | > really
| > | > | > | > | > > > have the checkbox next to the textbox in this way,
as
| > they
| > | > are
| > | > | > | > separate form
| > | > | > | > | > > > fields.
| > | > | > | > | > > >
| > | > | > | > | > > > Let's say we are choosing an apetiser from a list
using
| > | > radios.
| > | > | > : In
| > | > | > | > the
| > | > | > | > | > > > following, we have 4 choices and require a response.
| > None is
| > | > | > added
| > | > | > | > as a
| > | > | > | > | > > > choice so they can decline, since a choice is
required.
| > | > | > | > | > > >
| > | > | > | > | > >
| > > ------------------------------------------------------------
| > | > | > | > | > > > <form method="POST" action="--WEBBOT-SELF--">
| > | > | > | > | > > > <!--webbot bot="SaveResults" <p --><input
type="radio"
| > | > | > | > name="Appetiser"
| > | > | > | > | > > > value="Soup">Soup<Br>
| > | > | > | > | > > > <input type="radio" name="Appetiser"
value="Salad">
| > | > Salad<br>
| > | > | > | > | > > > <input type="radio" name="Appetiser" value="Bread
&
| > | > Sauce">
| > | > | > Bread
| > | > | > | > &Sauce<br>
| > | > | > | > | > > > <input type="radio" name="Appetiser" value="None">
| > None
| > | > | > | > | > > > <p><input type="submit" value="Submit"
| > name="B1"><input
| > | > | > | > type="reset"
| > | > | > | > | > > > value="Reset" name="B2"></p>
| > | > | > | > | > > > </form>
| > | > | > | > | > >
| > > ------------------------------------------------------------
| > | > | > | > | > > >
| > | > | > | > | > > >
| > | > | > | > | > > > In the next example we allow the user to choose all
or
| > none
| > | > | > using
| > | > | > | > checkboxes
| > | > | > | > | > > > (checkboxes are generally used when more than one
choice
| > is
| > | > | > | > allowed): None
| > | > | > | > | > > > has been removed since a response isn't required.
| > | > | > | > | > > >
| > | > | > | > | > >
| > > ------------------------------------------------------------
| > | > | > | > | > > > <form method="POST" action="--WEBBOT-SELF--">
| > | > | > | > | > > > <!--webbot bot="SaveResults" <p --><input
| > type="checkbox"
| > | > | > | > name="Soup"
| > | > | > | > | > > > value="Soup">Soup<br>
| > | > | > | > | > > > <input type="checkbox" name="Salad"
| > | > value="Salad">Salad<br>
| > | > | > | > | > > > <input type="checkbox" name="Bread & Sauce"
| > value="Bread &
| > | > | > | > Sauce">Bread &
| > | > | > | > | > > > Sauce<br>
| > | > | > | > | > > > <p><input type="submit" value="Submit"
| > name="B1"><input
| > | > | > | > type="reset"
| > | > | > | > | > > > value="Reset" name="B2"></p>
| > | > | > | > | > > > </form>
| > | > | > | > | > >
| > > ------------------------------------------------------------
| > | > | > | > | > > >
| > | > | > | > | > > > My apologies if you were looking for something
| > different.
| > | > | > | > | > > >
| > | > | > | > | > > >
| > | > | > | > | > > > Mike Smith,
| > | > | > | > | > > >
| > | > | > | > | > > > http://FrontPageForms.com
| > | > | > | > | > > > FrontPage Form Tutorials
| > | > | > | > | > > > & Form Script Examples
| > | > | > | > | > > >
| > | > | > | > | > > >
| > | > | > | > | > > >
| > | > | > | > | > > > "KenP" wrote:
| > | > | > | > | > > >
| > | > | > | > | > > > > Hi, I hope you all are doing well.
| > | > | > | > | > > > >
| > | > | > | > | > > > > I'm trying to create a menu using a form to list
| > various
| > | > menu
| > | > | > | > entres for a
| > | > | > | > | > > > > restaurant. I thought I could create a text box
and
| > | > associate
| > | > | > a
| > | > | > | > check box
| > | > | > | > | > > > > with it so when the check box beside a particular
menu
| > | > item
| > | > | > was
| > | > | > | > selected and
| > | > | > | > | > > > > the submit button was clicked, the menu item would
be
| > | > | > identified
| > | > | > | > in the reply
| > | > | > | > | > > > > sent to the emai address.
| > | > | > | > | > > > >
| > | > | > | > | > > > > I'm having difficulty with and am wondering if I
have
| > the
| > | > | > right
| > | > | > | > idea but do
| > | > | > | > | > > > > not know how to set up or if I'm in the wrong ball
| > park
| > | > and
| > | > | > need
| > | > | > | > to regroup.
| > | > | > | > | > > > >
| > | > | > | > | > > > > Any help will be greatly appreciated.
| > | > | > | > | > > > > KP
| > | > | > | >
| > | > | > | >
| > | > | > |
| > | > | > |
| > | > | >
| > | > | >
| > | > |
| > | > |
| > | >
| > | >
| > |
| > |
| >
| >
|
|
 

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