Won't that pass '0,0' or '1,1'?
Without any javascript and just a hidden field = "", It's actually passing the string. If it's empty, it's passing "", if it's checked, it passes "1,".
I can live with that!
Doug
Doug
http://www.coders4hire.com
http://www.payraisecalculator.com
I actually was able to get a 'workaround'. I added a hidden field at each checkbox with the identical name. This causes the checkbox value to get entered, whether or not it's selected.
Doug
http://www.coders4hire.com
http://www.payraisecalculator.com
Unfortunately, the client requirements are for checkboxes. I would have definitely opted in for radio buttons!
Doug
http://www.coders4hire.com
http://www.payraisecalculator.com
I actually changed my mind ;)
I would like to ONLY change the values of the unchecked boxes that are in my array to equal '0'. I tried modifying your code a little but it's not quite there:
function VerifyForm(subscribeForm){
var cbox =...
trollacious answered another one of my questions today, and I'm trying to modify the code to work with this problem. For ANY unchecked boxes in my form, I want to pass a value of '0'. Can I do this without identifying every box?
Is this efficient below?
function VerifyForm(subscribeForm){...
I need to utilize checkboxes on one of my pages where the user selects the content that he/she wants to obtain. Rather than submit those values independently, I want to concatenate the answers into a single value.
<table>
<tr><td><INPUT type="checkbox" id=news name=news...
Thanks! And I'll follow up with a dumb question regarding the second half of my question. My page has a header, left menu, etc. on it. Do I need to include all of those in this script? Can I do includes? (Perhaps header, start_html, and end_html are includes... but I don't know where to...
I've got the start on retrieving a querystring. I simply want to make a completion page where a status code is passed so that the text message can be adjusted.
Examples:
thanks.cgi?status=0
print "The service is currently unavailable"
thanks.cgi?status=1
print "The request was successful"...
using tabs would make it a delimited file, not fixed width.
---
doug@coders4hire.com
http://www.coders4hire.com
http://www.payraisecalculator.com
http://www.cliintel.com
What is the recommended way to export a table in Sybase to a fixed width ascii file?
---
doug@coders4hire.com
http://www.coders4hire.com
http://www.payraisecalculator.com
http://www.cliintel.com
We have a HISTORY table on a backup server. I've never written a stored procedure in Sybase. I would like to open the backup server, and export the HISTORY table to the PRODUCTION server into a temp table where I can then do a join and export.
1. Can that be done?
2. Could you give me some...
You can't do an update query?
UPDATE table SET field = trim(field)
---
doug@coders4hire.com
http://www.coders4hire.com
http://www.payraisecalculator.com
http://www.cliintel.com
We have a HISTORY table on a backup server. I've never written a stored procedure in Sybase. I would like to open the backup server, and export the HISTORY table to the PRODUCTION server into a temp table where I can then do a join and export.
1. Can that be done?
2. Could you give me some...
From sybase: Transact-SQL includes syntax for both left and right outer joins. The left outer join, *=, selects all rows from the first table that meet the statement's restrictions. The second table generates values if there is a match on the join condition. Otherwise, the second table generates...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.