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 Chris Miller 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: *

  1. madams

    multiple forms with same name

    I have a page with multiple forms, these forms MUST have the same name. I wish to validate some of the fields, only in the form which is submitted. here is some example code <html> <head> <title></title> <script language='javascript'> function checklength() { if...
  2. madams

    checkbox onclick validation

    firstly, the if statement should not be using a capital I secondly the alert statements need semicolons after them thirdly you will need a return statement after alerrt(&quot;yes&quot;) or it will display both messages when the box is checked. try this code: function passvalues() {...
  3. madams

    Validate controls Client Side

    you should use the &quot;value&quot; parameter for your option list your script should read: If document.form1.cboEngSerNo.value = &quot;&quot; then Msgbox(&quot;You have not selected an Engine!&quot;) ElseIf document.form1.cboTrnSerNo.value = &quot;&quot; Then MsgBox(&quot;You have not...
  4. madams

    ensure selection of menu items

    You need to set accesschoice = combofield.selectedIndex.value then if (accesschoice==&quot;&quot;) { return &quot;blah&quot; }
  5. madams

    Help me fix my javascipt???

    There are 3 errors in this code 1) you have closed the HEAD tag twice 2) you have a comma in your option value for TNBLbunch.jpg 3) line 7 should refer to the name of your image i.e &quot;preview&quot; not CoffeePreview line 7 should therefore read: document.preview.src = &quot;&quot; +...
  6. madams

    password text box??

    This input field is not part of a form, but needs only to be changed by people with authority (or password) <input name=&quot;IS_ATTR_PhoneNumber&quot; size=&quot;15&quot; tabIndex=&quot;3&quot; maxLength=&quot;15&quot; disabled> cheers
  7. madams

    password text box??

    I have a HTML form with a disabled text field. I do not want just anybody to be able to change this text field. However it would be helpful if certain selected users, by password or otherwise, could change the contents of this text form field. Is this possible? Any suggestions? Am I...
  8. madams

    Postcode input mask

    I need to write a bit of validation that will accept UK postoceds entered into a text field. i need to accept (including a space) only the 4 cases below and display an alertbox if there isn't a match to the mask. if x = char and 0 = digit the four cases are x0 0xx x00 0xx xx0 0xx xx00 0xx

Part and Inventory Search

Back
Top