kirchaj
Posts: 215
|
| Posted: 03/25/2010, 11:08 AM |
|
Ok guys, here is what I need to do. I have 4 fields set as check boxes that can only be checked when the selection of a listbox is a certain value.
Any ideas on how to accomplish this?
Any help would be appreciated.
TK
|
 |
 |
damian
Posts: 838
|
| Posted: 03/25/2010, 6:49 PM |
|
look at a .js solution - examples at javascript.internet.com
_________________
if you found this post useful take the time to help someone else.... :)
|
 |
 |
kirchaj
Posts: 215
|
| Posted: 03/26/2010, 6:39 AM |
|
Damian,
Thanks for your reply. I hate to show my ignorance but I have no idea how to use the javascript from within CCS. Do you have an example of use in CCS that may help?
Thanks again.
TK
BTW: is there no way to do this from within CCS?
|
 |
 |
melvyn
Posts: 333
|
| Posted: 03/26/2010, 7:58 AM |
|
No. CCS is a tool to generate server-side web database driven applications in PHP, ASP, .NET, Perl, etc.
There's no way to "generate javascript code" from CCS. You need to place your custom code in the html/js files, by hand, as with any other application.
_________________
Melvyn Perez
Puro Codigo
http://purocodigo.com |
 |
 |
kirchaj
Posts: 215
|
| Posted: 03/26/2010, 8:04 AM |
|
showing my ignorance again. What about the onvalidate event?
|
 |
 |
kirchaj
Posts: 215
|
| Posted: 03/28/2010, 12:17 PM |
|
Ok, I was able to figure out how to get the validation to work and display an alert box if the values did not match. Any way I can keep the form from updating or inserting? The user can clear the warning and then still submit the form.
Thanks for all the help.
TK
|
 |
 |
mamboBROWN
Posts: 1713
|
| Posted: 03/29/2010, 11:07 AM |
|
kirchaj,
Please don't forget to add [Solved] or [Resolved] to the thread title. Thanks.
|
 |
 |