Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6062685
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T09:04:49+00:00 2026-05-23T09:04:49+00:00

I am running into a problem when trying to submit a login form. The

  • 0

I am running into a problem when trying to submit a login form. The login button works fine at calling the JavaScript code I wrote to validate the form before using the HTML for submitting my form (action=”…php” method=”post”). However, I don’t think the submit button has actually been defined as a submit button.

The reason this is a problem is because whenever the user types in their login information all they have to do is click the “Go” button on the UIKeyboard and it redirects them to the next page without ever calling the function that validates the form. They could enter nothing and still be able to go to the next webpage.

I am relatively new to programming and this is my first time trying to write an iPhone Web App. So any help with how to redirect the go button so that it calls my JavaScript function would be great because I have no idea how to access the mobile safari keyboard.

If this isn’t possible to do that then could the problem be with the go button not recognizing the login button as an actual submit button?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T09:04:49+00:00Added an answer on May 23, 2026 at 9:04 am

    If you have access to the HTML code, the easiest way would be to add an onSubmit event to your form.

    <form method="post" onSubmit="return YourValidationFunction()" enctype="multipart/form-data">
    

    This would make sure the validation method is called before the form is actually submitted.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm running into a problem trying to anchor a textbox to a form on
I'm running into a problem that I can't seem to solve. The code works
I am trying out moq and I'm running into a problem with the following
I've been running into problem after problem trying to use the a third party
I am running into this problem when trying to recompile a single class inside
I am running into a problem and I trying to solve it in the
I'm running into a bit of problem when trying to post data asynchronously. Here's
I'm running into a bit of problem when trying to readToEnd from an asynchronous
I'm trying to Tokenize tweets, but am running into a problem with looping through
I am running into problem when working with linq-to-sql and trying to resolve conflicts.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.