Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Markh51
  • Content: Threads
  • Order by date
  1. Markh51

    Problem with multiple Forms

    How do I get the following code to work ? <INPUT TYPE=&quot;radio&quot; NAME=&quot;ID&quot; VALUE=&quot;1&quot;>Option 1 <INPUT TYPE=&quot;radio&quot; NAME=&quot;ID&quot; VALUE=&quot;2&quot;>Option 2 <FORM METHOD=&quot;POST&quot;><INPUT TYPE=&quot;submit&quot; NAME=&quot;b1&quot...
  2. Markh51

    Problems with the FORM tag spacing

    Hi, I need to use multiple forms like so: <FORM METHOD=&quot;POST&quot; INPUT TYPE=&quot;submit&quot; NAME=&quot;1&quot; VALUE=&quot;1&quot; CLASS=&quot;buttons&quot;></FORM> <FORM METHOD=&quot;POST&quot;><INPUT TYPE=&quot;submit&quot; NAME=&quot;2&quot; VALUE=&quot;2 similar&quot...
  3. Markh51

    Need help combining tables

    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 &quot;my conditions&quot; ORDER &quot;my order&quot; The problem here is, it will only return...
  4. Markh51

    Selecting CheckBoxes via a text link ?!?

    Hi, How do I go about select a &quot;unknown&quot; 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 &quot;Dynamicaly&quot...
  5. Markh51

    Help with CFLOCK and session variables

    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...
  6. Markh51

    Quick disable buttons onSubmit question for you experts.

    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...
  7. Markh51

    Need help with RegExp...

    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 &quot;-&quot; WITHIN a sentence BUT not in pairs or more, only by themselves i.e...
  8. Markh51

    HELP! How to create this RegExp...

    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 &quot;-&quot; at a time. This is what I have so far but without any luck: [a-zA-Z]+[ \-]{0,1} Many Thanks, Mark
  9. Markh51

    Creating a pattern to check against

    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 &quot;-&quot; 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
  10. Markh51

    How do I set session variables like this...

    <CFSET fieldNames = &quot;roger,jim,bob&quot;> <cfloop list=&quot;#FieldNames#&quot; index=&quot;Field&quot;> <CFPARAM NAME=&quot;session.step1[Field]&quot; DEFAULT=&quot;&quot;> </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...
  11. Markh51

    How do I remove a seesion variable

    How do I remove a seesion variable completly. Not just: <CFSET session.variable = &quot;&quot;> I need to make it as though it had never been set. Any Ideas ??? Mark
  12. Markh51

    Someone change this Pattern...

    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...
  13. Markh51

    Checking fields against a pattern

    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
  14. Markh51

    How to search a string

    How would I search a string for a . (decimal point) All I want is something like: If decimal point exists{ DO THIS } else{ DO THIS } Thanks, Mark
  15. Markh51

    Problem with checking strings

    Hi, I have a smal script which checks for the amount of figures either side of a decimal point: decReg = &quot;^[0-9]{&quot;+lmin+&quot;,&quot;+lmax+&quot;}\\.[0-9]{&quot;+rmin+&quot;,&quot;+rmax+&quot;}$&quot; lmin & lmax; define the amount of number that have to be on the left side of the...
  16. Markh51

    I have a script which picks out all

    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
  17. Markh51

    Quick easy question about IF function

    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...
  18. Markh51

    Need a script to replace strings in a list.

    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 = &quot;value1,value2,value3,value1&quot; I need the script to check the list for ALL occurances of a word which is passed to it via a variable...
  19. Markh51

    Communicating with popup windows.

    How do I &quot;communicate&quot; 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...
  20. Markh51

    Having a problem creating a Dynamic CFIF

    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 &quot;&quot...

Part and Inventory Search

Back
Top