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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by anderzreevez

  1. anderzreevez

    Highlighted Text in Input Field

    Great thanks - this worked: <body onload = "javascript:document.form2.searchstring.focus();document.form2.searchstring.select();">
  2. anderzreevez

    Highlighted Text in Input Field

    Hiya, Does anyone know how I can have a form appear with a input field with a pre-populated, highlighted text value: Like this: <input type =\"text\" name =\"searchstring\" size=\"50\" value =\"Use % as wildcard e.g. dis% returns 'Disney'\"...
  3. anderzreevez

    checkbox array validation

    I'm using square brackets so PHP recognise the variable as an array - I know it complicates things!
  4. anderzreevez

    checkbox array validation

    Thanks for that... If works great if the array has more than 2 elements/value stored within it (i.e the HTML outputs more than 1 checkbox) but when only one is onscreen it fails to do the check and allows the submit to go through without doing the negative alert. Any ideas?
  5. anderzreevez

    checkbox array validation

    Hi, I cannot work out how to validate the checkbox array 'leadcontacts[]' as having any of its array elements containing a check? Basically there is an ID associated with an array of checkboxes all named leadcontacts[]. However standard javascript validations such as that below cannot accept...
  6. anderzreevez

    Windows XP .htaccess questions

    got it! Looked at the apache log and it stated that it couldn't access the password file. This was due to permissions set on the www directory. Sorry for troubling you all! Anders
  7. anderzreevez

    Windows XP .htaccess questions

    Hi, I am running apache on windows xp and am trying to set up a simple password system using .htaccess and .htpasswd files. My .htaccess file contains: AuthType Basic AuthName "Password Required" AuthUserFile ../.htpasswd and my .htpasswd file contains...

Part and Inventory Search

Back
Top