Forums
This topic is locked
Problem restricting user in selecting checkboxes
Posted 14 Mar 2007 15:31:05
1
has voted
14 Mar 2007 15:31:05 Mohammad Primuswala posted:
Hi,I have created web form using dreamweaver and hav a query. I have placed 7 checkboxs on my form and I want to allow user to select only 3 boxes from seven if they try to select 4 box it should show message you can only select 3 boxes. If anyone can help please.
Thanks.
M
Replies
Replied 14 Mar 2007 16:16:25
14 Mar 2007 16:16:25 dave blohm replied:
I have created the solution you have described. You can find the page at: www.daveblohm.com/dmxzone/countem/
The solution is JavaScript, so you can just right-click the page and view the code.
Hope this helps...
- Doc
Progress is made by the discontent.
The solution is JavaScript, so you can just right-click the page and view the code.
Hope this helps...
- Doc
Progress is made by the discontent.
Replied 15 Mar 2007 09:47:29
15 Mar 2007 09:47:29 Mohammad Primuswala replied:
THANKS A LOT! IT WORKED,
Thank you.
One more question if you can help me I have group of radio buttons with 3 radio buttons.
Now I have assign each radio button with different value and have placed a text box next to that group
What I want is user will key in any text in text box and select the rate of that product by selecting any radio button ie: 1, 2 or 3.
Than I am want to store that value in on variable=textbox(value)+radio button(value)
If anyone anyone can help me in this.
Thanks.
M
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
I have created the solution you have described. You can find the page at: www.daveblohm.com/dmxzone/countem/
The solution is JavaScript, so you can just right-click the page and view the code.
Hope this helps...
- Doc
Progress is made by the discontent.
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Thank you.
One more question if you can help me I have group of radio buttons with 3 radio buttons.
Now I have assign each radio button with different value and have placed a text box next to that group
What I want is user will key in any text in text box and select the rate of that product by selecting any radio button ie: 1, 2 or 3.
Than I am want to store that value in on variable=textbox(value)+radio button(value)
If anyone anyone can help me in this.
Thanks.
M
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
I have created the solution you have described. You can find the page at: www.daveblohm.com/dmxzone/countem/
The solution is JavaScript, so you can just right-click the page and view the code.
Hope this helps...
- Doc
Progress is made by the discontent.
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>