How do I get the following code to work ?
<INPUT TYPE="radio" NAME="ID" VALUE="1">Option 1
<INPUT TYPE="radio" NAME="ID" VALUE="2">Option 2
<FORM METHOD="POST"><INPUT TYPE="submit" NAME="b1"...
Hi,
I need to use multiple forms like so:
<FORM METHOD="POST" INPUT TYPE="submit" NAME="1" VALUE="1" CLASS="buttons"></FORM>
<FORM METHOD="POST"><INPUT TYPE="submit" NAME="2" VALUE="2 similar"...
Hi I have 3 tables:
ITEM
BID
BUY
This is what I have:
SELECT Item.itemID, Item.itemDescription
FROM ITEM
INNER JOIN Bid ON item.itemID = bid.itemID
INNER JOIN Buy ON item.lotID = buy.lotID
WHERE "my conditions"
ORDER "my order"
The problem here is, it will only return...
Hi,
How do I go about select a "unknown" number of checkboxes ?
What I mean by unknown is that the number of checkboxes get determined from the amount of records which are returned from the database. The checkboxes all have the same name but their value is "Dynamicaly"...
Hi,
I have just spent the last 9 months writing a application, to find out that I am supposed to use CFLOCK everytime I set a session variable ?!?
I have read Macromedia's docs on CFLOCK, but don't really understand.
Can somebody explain why I have to use CFLOCK every time I set a session...
I have two buttons on the bottom of my form (YES & NO). Both buttons will submit the form to itself and then determine where to go depending on the button pressed.
What I want is to be able to disable both of the buttons when you click YES and continue to submit the form, but just submit the...
Ok, up to now everthing works with my RegExp:
^[a-zA-Z]+[- a-zA-Z]?[a-zA-Z]+$
I can enter:
the cat
the-cat
but not:
the cat sat
the-cat-sat
I need to modify the above RegExp so you can have Spaces or "-" WITHIN a sentence BUT not in pairs or more, only by themselves
i.e...
Hi,
I am having trouble trying format my Expression to match my form fields to.
What I need is:
Any amount of LETTERS (upper or lower)
and if entered:
only one space and "-" at a time.
This is what I have so far but without any luck:
[a-zA-Z]+[ \-]{0,1}
Many Thanks,
Mark
Hi I am having problems trying to create a pattern to check my form fields against.
How do I only allow:
any amount of LETTERS (caps or smalls)
only ONE "-" at a time
only one space at a time.
This is what I have so far:
[^a-zA-Z][ ]{1}[-]{1}
why don't it work ???
Thanks,
Mark
<CFSET fieldNames = "roger,jim,bob">
<cfloop list="#FieldNames#" index="Field">
<CFPARAM NAME="session.step1[Field]" DEFAULT="">
</cfloop>
When I use the above code I get an error, I can get the above to work with CFSET but not CFPARAM. What am...
How do I remove a seesion variable completly.
Not just:
<CFSET session.variable = "">
I need to make it as though it had never been set.
Any Ideas ???
Mark
I have this pattern which checks to see if the entered value meets the criteria. The only problem I am having is that it allows you to enter values starting with 0.
Can someone change the following pattern to STOP 0's been entered at the beginning only...
Why is it when I check my fields against this pattern, if nothing is entered then it is OK ??
^[0-9]{0,7}$
How do I make it not allow blank entrys ???
Cheers,
Mark
Hi,
I have a smal script which checks for the amount of figures either side of a decimal point:
decReg = "^[0-9]{"+lmin+","+lmax+"}\\.[0-9]{"+rmin+","+rmax+"}$"
lmin & lmax; define the amount of number that have to be on the left side of the...
I have a script which picks out all the elements by name, I think this is the line what does it ??
while ( elem = f.elements[i++] )
How do I change this line so that is pick up the elements by ID ??
Thanks,
Mark
How do I say, if a given form field value is equal to nothing then do something, else do something else.
This is what I have, so far:
if(document.step3[FieldName].value = ''){
DO SOMETHING...
}
else{
DO SOMETHING ELSE...
}
but I can't seem to format the IF statment properly.
So how do I...
Hi,
Can anyone do me a quick script which will check a comma delimited list for an occurance of a given word, and if it exists, remove it.
i.e. LIST = "value1,value2,value3,value1"
I need the script to check the list for ALL occurances of a word which is passed to it via a variable...
How do I "communicate" with a popup window which was opened by another one of my forms ?
The reason why I ask is that a user complete's a form then hit's submit, on this form a popup window is launched and then it is self submitted, to another form. The only problem I am having is...
Hi,
I have a number of fields called:
Field_0
Field_1
Field_2
Field_3
etc
the only problem is that the above fields are created dynamicaly, there could be 50 or there could be none. The problem is that when I want to check if they are defined and that they do NOT contain ""...
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.