Jump to content

solution

Members
  • Posts

    20
  • Joined

  • Last visited

Posts posted by solution

  1. if(!firstpassword.match((/^(?=.\d)(?=.[a-z])(?=.*[A-Z])[0-9a-zA-Z]{8,}$/))) {
    							alert("Password must be Alphanumeric");
    							return false;
    						}

    Above is the code.

    It print "Password must be alphanumeric" even if it has combination of both

  2. Please i need to validate the password field this way, must contain atleast one uppercase letter, lowercase, number.
    please i need this to be in someway this format not in jquery cause i have other if statement for other fields.
    Not a JS Expert tho.
    Thanks 
    if(!/^[a-zA-Z]*$/g.test(document.regForm.password.value)) {
    							alert("Password must contain an Alphabet(Upper ), Number,");
    							document.regForm.lastname.focus();
    							return false;
    						}

     

  3. We created this online multichoice test for our student learning web development and there are all scoring very high and i don't really know if they is any form of them cheating via viewing source code or through inspectant element. thanks.

  4. Not at all, just the /Form.html and /Submit.php And Are Both Working Perfectly Well... I Want To Add A Field to Form.html and it wil be for the "Serial Pin" which has already been inserted into a column name "Pin" by me. now when submiting the form all i want to do is to validate the pin with the one in the database table column name "pin" if it correspond then every other input should after validation should all be submitted to the row or take the row to which pin corresponds.

  5. Please i have successful created an online form that student can use to submit their into our database... the form consist of the following field... first name, last name, age, , course, scratch card pin. in the scratch card pin, student will have to purchase scratch card from the school and enter it into the scratch card field and if it correspond with any of the pins in the scratch card column it will submit the data on the line that the pin match...i need help in achieving this, i'm a begginer in php... THANKS.

  6. Please What Could b de cause of this? nd solution...Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@codehoster.heliohost.org and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

  7. I have designed a website and i am wanting the header and footer to stay on the page and not refresh when a page navigation link is selected on the navigation bar i just want the content to refresh. I have header which contains the header or and footer which contains the footer... Plz hw shld i go about it using html, css nd js. thanks

×
×
  • Create New...