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 derfloh 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 GoldPearl

  1. GoldPearl

    javascript validation

    thks BabyJeffy & tsuji...the braces slipped out of my attention to. it works perfect now. Gold Pearl.
  2. GoldPearl

    javascript validation

    ok modifications made but the form doesn't submit even when everything is ok. code: .... function checkWholeForm() { return textonly() && textonly1() && uname(); } .... //function to check userid function uname() { var iChars = "!@#$%^&*()+=-[]\\\';,/{}|\":<>?"; var iChars1 =...
  3. GoldPearl

    javascript validation

    hello ppl, can anybody tells me wat is wrong with the following code because it is skipping the last condition ("Your user ID is of the wrong format....) function uname() { var iChars = "!@#$%^&*()+=-[]\\\';,/{}|\":<>?"; var iChars1 = "/^\w+\.\w+$/"; if (frmusermaint.txtuserid.value.length...
  4. GoldPearl

    View page

    thks it worked!
  5. GoldPearl

    View page

    <% rs.movenext loop end if ..... this is the problematic "end if
  6. GoldPearl

    View page

    ok i've done the changes but am getting this error. Microsoft VBScript compilation (0x800A0400) Expected statement /ppat/dept.asp, line 149 end if
  7. GoldPearl

    View page

    i have a search page. the user can input the search criteria in a text box and click the view button. the problem is that i want it to check the criteria which is in fact a "department name" in the db and see if it exists before displaying the data. if it is not there, it displays an error...
  8. GoldPearl

    form submitted despite JS errors

    Phew! it works now...it always amaze me how sometimes a word can make a difference! Thks Tsuji!
  9. GoldPearl

    form submitted despite JS errors

    here u r: <script language="javascript"> function checkWholeForm() { return textonly() && checkDropdown(); } //function to check alphabetic (Department name) function textonly() { var checkOK="abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ"; var checkstr; var allValid=true; if...
  10. GoldPearl

    form submitted despite JS errors

    it still doesn't work despite all changes!
  11. GoldPearl

    form submitted despite JS errors

    ah ok. ok i'll try this and let u know. thks for ur time.
  12. GoldPearl

    form submitted despite JS errors

    well to be frank, i don't quite undertsand what u r trying to say..can u plz b a bit more explicit. thks
  13. GoldPearl

    form submitted despite JS errors

    hmm this bit can be removed and it will still work for the dept name. the problem lies with the dropdown and am having a really bad time finding out wat's wrong with it.
  14. GoldPearl

    form submitted despite JS errors

    yes thks for that but let me specify that the prob is only with the dropdown list. even when i correctly select something and the deptname is ok, i still get the popup" you did not selected an option from drop down...
  15. GoldPearl

    form submitted despite JS errors

    well i tried this already...same thing :(

Part and Inventory Search

Back
Top