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 strongm 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. newbie425

    Basic login form validation problem

    That worked! Thanks!
  2. newbie425

    Basic login form validation problem

    I tried checking keycode 13. It didn't work. I get the orginal problem where I'm not directed to the next page.
  3. newbie425

    Basic login form validation problem

    good eyes, i didn't close the a tag at first, but i did now and it still didn't work... should i go back to using the button? if so, is there i can make it work using <input type=submit> instead of type=button? thanks much!
  4. newbie425

    Basic login form validation problem

    stewart, how do you check for keycode 13? thanks.
  5. newbie425

    Basic login form validation problem

    Hi delpierro, That onclick was for the image? This is what I had: <a href="javascript:dbLogin(this.form)"><img src="images/submit.jpg" alt="" border="0"> I changed to: <a href="javascript:dbLogin(this.form)" onclick = "loginform.submit()"><img src="images/submit.jpg" alt="" border="0"> I was...
  6. newbie425

    Basic login form validation problem

    Thanks that did work. The only thing is I need the button to be of type submit. Originally, I had an image instead of a button and I got a complaint that the user can't just hit enter so I'm switching to a button. Is there a way to fix that with the image? Thanks stewart.
  7. newbie425

    Basic login form validation problem

    Oops, I'm confusing my functions. I meant onSubmit="dbLogin(this.form)" CHANGE TO onSubmit="dbLogin(loginform)"
  8. newbie425

    Basic login form validation problem

    Hi bean1234, Thanks for your reply. I changed the parameter name, but it still didn't work. You mean onSubmit="dbLogin(this.form)" CHANGE TO onSubmit="dashboardLogin(loginform)" right? Does it matter that I'm working on a shared drive right now (this is my development environment) and...
  9. newbie425

    Basic login form validation problem

    Hi, I'm using a basic login script to control access to a page. This is my script (in the head tag): <script language="javascript"> <!--// function dbLogin (form) { if (loginform.login.value=="dashboard") { if (loginform.password.value=="PsWd123") {...
  10. newbie425

    Convert string to numeric and vice versa

    Is it possible to convert a number that is being read in as a string in order to compute the total value? Basically I need to add up the values, then convert the total value back to string. I can't find any conversion functions in texts nor online. Thanks
  11. newbie425

    Skipping lines

    The asset type and the product name are 2 different things. An annuity is an asset type. I retreive the asset type from a four digit ID code (0200). ABC and DEF are Annutiy products. 123 and 456 are plans under product ABC. There is no ID for the products and plans. They are strings. I...
  12. newbie425

    Skipping lines

    Its not always the third line. The flow of my script is first I check if there is an R in the first field of the line, then check the type of policy and increment the count, then the product and increment the count, then the plan name and increment the count. Sounds simple enough if only the...
  13. newbie425

    Skipping lines

    The &quot;R&quot; in front of an account number and the 4 digit asset type signals a new record. A record can be 10 lines long. There can be many details. I'm interested in the line that contains the Product name. Furthermore I need the plan name too, but i need to conquer product name...
  14. newbie425

    Skipping lines

    Sorry I made a mistake... The file layout doc tells me that the name of a product is in detail record 2(which turns out to be the 3rd line) For An Insurance Product
  15. newbie425

    Skipping lines

    It varies, either one or two lines. I'm processing a file of accounts. I need to retreive the name of a product and plan. The file layout doc tells me that the name of a product is in detail record 2(which turns out to be the 3rd line), so the file looks like...
  16. newbie425

    Skipping lines

    I have to process a data file that looks pretty ugly, in other words a record has data on multiple lines. I need to skip lines to retreive the information I need. I've used so many different combinations of if statements and while loops, but nothing worked. If this sounds trivial to you...

Part and Inventory Search

Back
Top