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 gkittelson 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: 3112005
  • Order by date
  1. 3112005

    Validating a hidden field

    Thank you!!!
  2. 3112005

    Validating a hidden field

    cLFlaVA --- Your code worked when kept the return false and return true statements below it, but it still submited my page after the pop-up validation box came up and I clicked ok. I didn't know I was supposed to use your code exactly, so I tried it both with the return false and true...
  3. 3112005

    Validating a hidden field

    I'm not sure I understand your question and comment but I'll try and answer. I am by no means a programmer (I am a web designer) and have been trying to do the best I can to make this site work that was left for me to finish up when I was hired. From the begining it has been a mess, so I just...
  4. 3112005

    Validating a hidden field

    I made then changes as you suggested to my script, but when I run through that page is give me an error when I try to submit... Error: 'curr_annual_salary' is underdefined
  5. 3112005

    Validating a hidden field

    Whoops I mean.... VB Script
  6. 3112005

    Validating a hidden field

    I am using a SQL statement to determine what fields are displayed or hidden. <% IF WageType.Fields.Item("wage_type").Value = "Exempt Salaried" Then %> Display these fields.... <% Else %> Display these fields....
  7. 3112005

    Validating a hidden field

    I have a form that is broken out into 4 pages. Dependant on whether you select "Exempt" or "Non-Exempt" on page 3 you will have different choices on page 4. How can I modify my script so that it only validates the fields that are being displayed. In this case let's say that only the "Current...
  8. 3112005

    Drop-down validation

    I finally figured it out myself... i know... i know... pretty hard to believe. thank you Cory for your help. i really appreciate your patience with me. you are very kind.
  9. 3112005

    Drop-down validation

    That really helped out. It now checks my name, last name, title and contract field. My Effective Date validation is still not working. I've tried many variation of the code and the onsubmit call to it, but no luck. I'm thinking it has something to do with where it says "input", should I...
  10. 3112005

    Drop-down validation

    Hopefully I made some changes that are more towards what you are telling me. <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <HTML> <HEAD> <META NAME="GENERATOR"...
  11. 3112005

    Drop-down validation

    Sorry I don't know javascript well... I only copy and paste it and try to modify it so it works for me. I don't know that the protocol is for naming functions and then calling them in your form. I thought there were probably reserved words that you have to use that I don't know. I appologize...
  12. 3112005

    Drop-down validation

    What should I call the other validate_form function? When I removed the Onclick call in my submit buttons the page would still go to the next page, even when the alert box popped up.
  13. 3112005

    Drop-down validation

    Not really sure that this is going to make a difference.... but here you go. <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <HTML> <HEAD> <META NAME="GENERATOR"...
  14. 3112005

    Drop-down validation

    <!--FORM FIELD VALIDATION--> <script type="text/javascript"> function validate_required(field,alerttxt) { with (field) { if (value==null||value=="") {alert(alerttxt);return false} else {return true} } } function validate_form(thisform) { with (thisform) { if...
  15. 3112005

    Drop-down validation

    I can not provide a link it is for our intranet website. All I can do is give you the code. Was the javascript and form handler not enough? Let me know what else you need. Thank you.
  16. 3112005

    Drop-down validation

    That onsubmit came from the person that responded to my last post before today. I changed it to what you proposed and it did not make a difference. The form still submits without checking my first set of field boxes for name, title etc. Thanks.
  17. 3112005

    Drop-down validation

    It's me again... back to bother you. I just realized that after I modified this code it no longer validates the first part where I am validating "Name, Last Name, Title, Contract" <!--FORM FIELD VALIDATION--> <script type="text/javascript"> function validate_required(field,alerttxt) { with...
  18. 3112005

    Drop-down validation

    Nevermind, I just wasn't getting the brackets in the right place. Sorry to bother you.
  19. 3112005

    Drop-down validation

    I need to validate another dropdown in this page, but when I tried to duplicate the function msg() it doesn't validate it. Can you help? Thanks!
  20. 3112005

    Receiving blank emails from submit form

    Does big companies like say Cingular have these same issues, or do they have a prevention method. I am not familiar with security images, is that like what you see when you buy tickets from ticketmaster.com or when I login to my bank account and it asks you to type the letters/numbers that you...

Part and Inventory Search

Back
Top