473,804 Members | 3,311 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

checkboxes on an order form

On a photographer's web site, I have a catalogue page that lists all
the photos available for purchase. It is marked up as a table, with 1
column for the image title, a second for the material on which it's
printed.

http://www.julietremblay.com/portfolio/catalogue.html

I want to convert this into the first part of an order/inquiry form,
so I added a third column with a checkbox. A user can then select the
photo(s), press a submit button, and, on a new page, enter contact
information.

two questions:

1.) Should I use the same control name for each checkbox? I'm having
a hard time getting them via php, and that made me wonder if I should
assign a different control name for each checkbox. (The form did
validate, so it's syntactically correct, and if I read the spec
correctly, it seems to be an acceptable choice.)

2.) The submit button is labelled "continue". Is there a better label
I might use?

--
Brian
follow the directions in my address to email me

Jul 20 '05 #1
2 1906
Brian <us*****@juliet remblay.com.inv alid-remove-this-part> wrote in
news:cOszb.2949 64$275.1015489@ attbi_s53:
On a photographer's web site, I have a catalogue page that lists all
the photos available for purchase. It is marked up as a table, with 1
column for the image title, a second for the material on which it's
printed.

http://www.julietremblay.com/portfolio/catalogue.html
IMHO, it needs to be (manually) broken up into two columns. It looks too
long and skinny.

I want to convert this into the first part of an order/inquiry form,
so I added a third column with a checkbox. A user can then select the
photo(s), press a submit button, and, on a new page, enter contact
information.

two questions:

1.) Should I use the same control name for each checkbox? I'm having
a hard time getting them via php, and that made me wonder if I should
assign a different control name for each checkbox. (The form did
validate, so it's syntactically correct, and if I read the spec
correctly, it seems to be an acceptable choice.)
I see no reason not to; from the server's viewpoint, it will look like the
results of a <select multiple ...> which would be a logically equivalent
way of accomplishing the task.

2.) The submit button is labelled "continue". Is there a better label
I might use?


"Proceed"? "Order"?
Jul 20 '05 #2
Brian <us*****@juliet remblay.com.inv alid-remove-this-part> wrote:
http://www.julietremblay.com/portfolio/catalogue.html

I want to convert this into the first part of an order/inquiry
form, so I added a third column with a checkbox. A user can then
select the photo(s), press a submit button, and, on a new page,
enter contact information.
Sounds reasonable. You wish to let the user select as many items as he
wants, so checkboxes are a natural choice (and better than <select>).
1.) Should I use the same control name for each checkbox?
It's up to you - use the way you can handle easiest in the form
handler. In some server side techniques it might be more difficult to
deal with a set of name=value pairs that share the same name, but
mostly it's probably an asset.
(The
form did validate, so it's syntactically correct, and if I read the
spec correctly, it seems to be an acceptable choice.)
It's certainly permissible to have several checkboxes with the same
name.
2.) The submit button is labelled "continue". Is there a better
label I might use?


The text in the button should reflect the meaning (impact) of form
submission. On the other hand, it should be short. You could write a
longer explanation, if needed, before the button itself, e.g.

<div>Request more information about the items marked:</div>
<div><input type="submit" value="Get info"></div>

If the meaning is to initiate an ordering process, you could similarly
express this, and use "Order" or "Buy" as the button text - or
"Proceed" or "Continue" _if_ preceded by some note that says what this
means.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
3967
by: Pete | last post by:
There is a Summary/Example further down... On page one of my site I have a form with some checkboxes and detailed descriptions. When the form is submitted (to page two), the values of the checkboxes are picked up using $_POST and put into session variables. On page two there is another form which is simply a condensed version of the previous one (titles with no descriptions). The checkboxes are named the same on both forms. When...
9
2996
by: Gary | last post by:
Hello, Is it possible to dynamically update a textbox with words chosen from a list using form checkboxes and javascript? Gary
3
1834
by: claudel | last post by:
Hi I have a newb PHP/Javascript question regarding checkbox processing I'm not sure which area it falls into so I crossposted to comp.lang.php and comp.lang.javascript. I'm trying to construct a checkbox array in a survey form where one of the choices is "No Preference" which is checked by default. If the victim chooses other than "No Preference", I'd like to uncheck
5
1811
by: VbUser25 | last post by:
hi i need urgent responses.. i have some 15 checkboxex on a form... i want to 1st check the no. of checkboxes that are checked?? and then loop it that many times adn insert the quantities the user enters in the text boxes. do i need to group the checkboxes....hwo can i do that??? how to know which checkbox is checked because out of the 15 checkbox say 1,5,7, 9th are checked then i 1st need to get the id from the database adn then
1
1889
by: zoneal | last post by:
Hello there, Currently I am working with the project which needs dynamically generated checkboxes and i have generated dynamic checkboxes but i am facing problem with getting the value of selected checkboxes. Problem is described below to understand easily, so please let me know if you come to know the
3
1800
by: Jaime Stuardo | last post by:
Hi all... I'm trying to use a custom validator for a group of checkboxes in order to validate that at least 1 checkbox is checked before submitting the form. I placed 2 checkbox controls in the form and a CustomValidator. When I saw CustomValidator properties, the checkboxes aren't listed in ControlToValidate properties. Only textboxes are listed. Also, I set the ValidationGroup for the checkboxes to a name such as grpTipoEnvio and...
2
2494
by: rupes | last post by:
Hi, I am trying to create a SQL selection in ASP where the search terms are defined by the values posted in checkboxes from the form on the previous page. It is used in an email newsletter application. There are several mailing lists on the system and the newsletter administrator needs to be able to check boxes in the form to select which mailing lists he wants to send the email too. The results of the form go the next page and from there I...
33
2836
tdw
by: tdw | last post by:
I have a customers table that has a couple of checkbox fields. I also have an orders table with those same checkbox fields (though with a slightly different name). This is not duplicitous as I only have those fields in the customers table to define a customer's preferences. Those default preferences may not apply to every order from them. What I am having trouble with is getting the true/false info to pass on to the orders table via the...
2
3098
by: AlexanderDeLarge | last post by:
Hi! I got a problem that's driving me crazy and I'm desperately in need of help. I'll explain my scenario: I'm doing a database driven site for a band, I got these tables for their discography section: Discography --------------------- DiscID
0
9588
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10589
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10340
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10085
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9161
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7625
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5663
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4302
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2999
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.