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

  • SEARCH
  • Home
  • 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 8098803
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T22:11:24+00:00 2026-06-05T22:11:24+00:00

I have a form like this: <form action=form_send.php method=post> <table> <tr> <td><label for=address>address</label></td> <td><input

  • 0

I have a form like this:

<form action="form_send.php" method="post">
<table>
        <tr>
            <td><label for="address">address</label></td>
            <td><input type="text" id="address" name="address" tabindex="1" /></td>
        </tr>
        <tr>
            <td><label for="country">country</label></td>
            <td><input type="text" id="country" name="country" tabindex="2" /></td>
        </tr>
        <tr>
</table>
<input type="submit" value="Submit" tabindex="3" />
</form>

If the user opens Safari or other browser on his/her smartphone and fills out the text fields, he has the possibility to click on Open. If this button is pressed the form is immediately sent.

Is there a possibility that the user first jumps to the second text field before he can submit the form?

I tried to use tabindex but that doesn’t helped me. I know I can make fields mandatory with PHP/Javascript, but the fields shouldn’t be mandatory.

  • 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-06-05T22:11:26+00:00Added an answer on June 5, 2026 at 10:11 pm

    It might be pressing enter for the user. You can prevent this by intercepting keystrokes.

    This bit of code (jQuery) will prevent forms from being submitted by pressing ENTER.

    $('form').keypress(function(e){
        if(e.keyCode === 13){
            e.preventDefault();
         }
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a form like this: <form id=surveyForm method=post action=submit.php> <input type=text id=good value=0
I have a simple form like this: <form name=serachForm method=post action=/home/search> <input type=text name=searchText
I have form like this: <form method=POST action=<?php echo base_url() ?>admin/admin_search> <fieldset> <label for=nalozi>Nalozi</label><input
I have a form like this: index.php <form method=post action=send.php> <textarea name=msg id=msg></textarea> <input
I have this simple form: <form ENCTYPE=multipart/form-data action=story.php method=POST> <input type=submit value=Show files> <input
I have this form: <form action=contact.php method=post id=contactform> <ol> <li> <label for=name>First Name *
i have a web form who send post variables like: <form action=teacher.php method=post> <input
<form action=here.php method=POST> <input type=text name=text> <div id=one> <input type=hidden name=aaa value=one> <input type=submit
I have a form, like this <form id=picuploadform enctype=multipart/form-data method=post action=> <div class=row> <label
I have a form such as : <form action='???' method='post' name='contact'> <input type=text class=inputContact

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.