...and the other thing is, i just realized that i'm referring the text fields using the form name ("test"), which works great on my prototype but won't work at all on the actual form (whose form tag i can't edit and therefore can't give a name to).
would somebody please be so kind as to tell me...
...well, it works great in theory, except:
because i'm trying to embed this javascript inside form tags that I can't edit, i can't use the "onsubmit" argument for the opening form tag.
i've been playing around with something like
document.forms[0].onsubmit =...
Hi all,
I'm required to validate a form which (for really stupid and unchangeable reasons) has to use method=get. The code I have right now submits the form even if the values are invalid, which is not what I want to have happen.
code on jstest.html:
<table align=center><tr><td align=left...
In case anyone was wondering, I decided to scrap both ideas. I think the safest way to go about doing this is to use a CFSWITCH construct to look for language, then set page-specific variables for each language. (e.g. radio1_1, radio1_2.) Ihave nightmares about databases melting down and...
Hi all,
I have an application that I'll need to roll out to anywhere from 3000 to 20,000 users in a variety of languages.
It's a 10-step survey application that will ask the same questions and have the same input buttons in 6 different languages. Pages are labelled step6, step7, etc.
So my...
Hi there, I need to get the number of checkboxes in a given form. Would I use something like this line below?
document.myFormName.element.checkbox.length
...Or is there another way to do this without looping throughout all the elements and counting them one at a time, manually?
Thanks!
Inger
Thanks to Trusts and SQLDenis for following up on this. It just seems like bad form to use a reserved word as an alias, but now that you point it out, that alias stands out like a beacon. Thanks again for your help!
Inger
I did a syntax check in Query Analyzer and got no errors. Then I parsed it and it took 13 seconds to run. And that's just the SQL - if you include the post-SQL processing (with ColdFusion), the whole page takes anywhere from 23 to 35 seconds to load. Oy, vey!
The thing is, this script is...
Hi all,
For those of you who remember me from last week's post, I'm STILL trying to figure out what the heck my predecessor was thinking when he wrote this SQL query, among a variety of others:
CREATE VIEW dbo.vTime_ElapsedByTask
AS
SELECT
[BEGIN].[id], [BEGIN].user_id, [BEGIN].[Date]...
Hi there,
Inherited some SQL madness from the guy who wrote this script. It's, sadly, broken, and the script is outside of my scope of knowledge - perhaps you can answer some questions for me?
He's basically got views querying views - like, 6 views deep. I've got this:
CREATE VIEW...
Thanks for the response! I had hoped that that would be it, but I just got some information I hadn't had before:
if *any* of the checkboxes are checked, the submit button should show up. otherwise, there should be no submit button.
i guess this means is that what i really need is a...
Hey all,
Hit a bit of a snag here. I have a very Swiss cheese-like understanding of JavaScript and need some help with a form I've inherited for debugging purposes.
We've got three checkboxes: box1, box2, and box3.
We also have a fourth checkbox: box99 ("none of the above").
When box99 is...
This same error message is mentioned in one of the user comments on:
http://us2.php.net/manual/en/function.fopen.php
I'm not sure if this is the context in which you're using getaddrinfo, but I thought I'd throw it out there.
Good luck!
Inger
Hi folks,
After working on this for 3 hours, I've decided to bite the bullet and ask for help.
I've got a file that I'm uploading through a form - the file is called myfile.zip. For what it's worth, it was created on Mac OSX using the "Make an Archive" option.
I know that it's a valid ZIP...
hi folks,
got a bit of sticky wicket here. i have the following tables:
FILES_TABLE
ft_id
ft_filename
ft_Uid
ft_descrip
USERS_TABLE
U_id
U_firstname
U_lastname
ultimately, i'm looking to query 4 random files from the FILES_TABLE for each user found in the USERS_TABLE. the end result...
You know, you might want to look at php.resourceindex.com. You could search for "attachment" and "email." I think I've seen a couple of things on there that might help you out. Good luck!
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.