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 bkrike 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: mat41
  • Content: Threads
  • Order by date
  1. mat41

    Validate multiple checkboxes ok but fails for one

    Hi there JS gurus, please help.... This code works well to validate multiple checkboxes that are all named the same which is what I want. The array of checkboxes is dynamic, sometime there will only be one. In this situation if I check this one checkbox it throws the 'You have not ticked any...
  2. mat41

    Office Conversion Advice

    hi there - I am not sure where to put this post, please advise if there is a better area? We want to create a server side tool that allow users to upload batches of documents (or specify share drives) to convert from Office 2003 (binary) to Office 2010 (XML). Is is possible to create a web...
  3. mat41

    Multi Select to Multi Select Help please

    Hi there This code works very well allowing items to be moved from one multi select area to another onClick. I just cant figure out how to change it to make sure the item that has been moved from the left list to the right is removed from the left list. Any help would be very much...
  4. mat41

    password validation check for letters and numbers

    This function seems to work except for the checking for a string that contains letters and at least one number. please help? function ValidatePW() { var error = ""; var illegalChars = /[\W_]/; // allow only letters and numbers var fld = document.updateForm.tUserPassword if...
  5. mat41

    Show hide table row onclick of radion button

    Hello I am using the following function to show / hide a <tr> onclick of a radio button however it does not work in Firefox. Works fine in IE. Please help?? function toggleT(_w,_h) { if (document.all) { if (_h=='s') eval("document.all."+_w+".style.display='block';"); if (_h=='h')...
  6. mat41

    SQL statement help

    Having toruble doing this in access 2003: SELECT......., IIf([Days Opened]>[SLA Agreement],"Yes","No") AS [Has Meet SLA] FROM tbleName..... Specifically my issue is with: IIf([Days Opened]>[SLA Agreement],"Yes","No") AS [Has Meet SLA] I am getting an 'out of disk space in temp location...
  7. mat41

    clicking through from record to record on form

    I have a bound form which is used for inserting records and viewing existing records. If I open an existing record I want to be able to click the forward and back buttons at the foot of the form to move from record to record, how can I do this??? I didnt build the form and have limited access...
  8. mat41

    ASP to PowerPoint

    Good day - Classic ASP to PowerPoint, is this possibe? So far my research is not going well for good old classic ASP. has anybody done, heard about or think this is possible? TYIA
  9. mat41

    append a number to a form variable inside function

    Hello Javascript gurus. This part of a function is troubling me, am I on the rite track? for (i = 1; i < theForm.ExtraHourPossibles.value; i++) { var fname = theForm.extraHours+i.value alert(fname); } Specifically this line: var fname =...
  10. mat41

    Refresh parent onclose of child

    Hello JS Masters I can easily achieve this by placing a close window button of my own. However, is there a way to make it work this after the user clicks IE's red X? Please note : I am coding in a strict IE 6.0 SP2 SOE using Classic ASP TYIA
  11. mat41

    Multiple email address validation

    Afternoon I use the following code to determine 'is this a vlid email address' email=document.userAdmin.uEmail.value; var expression=/^([a-zA-Z0-9\-\._]+)@(([a-zA-Z0-9\-_]+\.)+)([a-z]{2,3})$/; if(!(expression.test(email)) ) { alert("Please enter a valid email addres to proceed")...
  12. mat41

    find missing number function

    Function findMissing(str, delim) findMissing = "" ar = Split(str, delim) ar = sortIt(ar) For i = 0 To UBound(ar) - 1 If CLng(ar(i)) + 1 <> CLng(ar(i + 1)) Then '' we found missing number(s) For j = 1 To (CLng(ar(i + 1)) - CLng(ar(i))) - 1...
  13. mat41

    Get simple phone list from AD using GC

    I have been reading the following thread: thread774-356151 Wow zcolton you are the most helpful person I have ever encounted in any forum. I have been strugling to get a list of users and phone numbers. The following code works to get 'a users details' however I would like to get the full...
  14. mat41

    Show/HIde text area based on radion button choice

    I wish to provide two radio buttons to the following question: "Can you safely manage your capability requirements?" [Yes] or [No] If the user clicks [No] I wish for two text areas to become visible. Yes will be ticked by default, no action is required in this circumstance. TYIA
  15. mat41

    Date comparison problem, please look at my function

    Good day. I am having trouble with: if(document.assessAdmin.warningDate.value > periodFinishDate) { alert("Your 'Warning Date' value(" + document.assessAdmin.warningDate.value +") must be less than the end date of the current period(" + periodFinishDate + ") ")...
  16. mat41

    Validate multiple email addresses...

    Hello JS ers I use this code to validate an email address: ------------------------------------- email=document.addUser.eMail.value; var expression=/^([a-zA-Z0-9\-\._]+)@(([a-zA-Z0-9\-_]+\.)+)([a-z]{2,3})$/; if(!(expression.test(email)) ) { alert("Please enter a valid email address (50 chars...
  17. mat41

    Has checkbox been checked or unchecked?

    I am trying to determine if the user has checked or unchecked a checkbox, the following code always seems to be running the else condition: var mssge function testing(catId) { for (i=0; i < eventCategories.length; ++i) { if (eventCategories[i].checked) { mssge =...
  18. mat41

    Can two forms share values within a function

    Good day Should I be able to do this? function showCatsSubmit(catId,catName) { showCats.id.value = catId; showCats.catName.value = catName; showCats.submit(); showCats.eventTitle.value = createNewEvent.eventTitle.value } I have two forms on a page: 1..showCats 2..createNewEvent...
  19. mat41

    detecting char position inside textArea

    Hello, I need help with the following function Please: function saveCaret(elem) { if( elem.isTextEdit ) { elem.caretPos = document.selection.createRange(); } } var selectionStartChar function getCaretPos(elem) { if ( elem.isTextEdit && elem.caretPos ) { var orig =...
  20. mat41

    textarea to textarea (selected values only)

    Hello JS gurus I have a tricky litle task on my hands, forgive my previous post - it was in correct. I have three dynamicly populated textareas, each having thier own 'moveText' link associated, plus one empty textArea. My objective is to let the user select text from a text area then click...

Part and Inventory Search

Back
Top