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 5986665
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T22:42:15+00:00 2026-05-22T22:42:15+00:00

I have a form, as such <form action=search.php method=get id=search> <input type=text name=first_name/> <input

  • 0

I have a form, as such

<form action="search.php" method="get" id="search">
    <input type="text" name="first_name"/>
    <input type="text" name="last_name"/>
    <input type="submit" value="Go" id="submit"/>
</form>

I want to make sure the data is valid, so I have a php file I can make an ajax request to access a database, which returns xml as such

<id="111111" first_name="Tom" last_name="Hanks" />

If there is a matching name. There should be no name conflicts. “HTTP/1.1 404 File Not Found” is printed otherwise. After this is done, I want to reach search.php with first_name, last_name, and id. That is, I want to be at:

search.php?first_name=Tom&last_name=Hanks&id=111111

How would I go about this ?

  • 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-22T22:42:16+00:00Added an answer on May 22, 2026 at 10:42 pm

    your scenario is similar to the followings, which im sure, you can churn to your own flavors.
    [1] http://www.the-art-of-web.com/javascript/ajax-validate/
    [2] http://www.dev102.com/2008/05/21/create-interactive-form-validation-using-ajax/

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

Sidebar

Related Questions

I have an html input field, such as <form method=post action=process.php enctype=multipart/form-data> <div> <h3>Files:</h3>
I have a form like this: <form name=mine> <input type=text name=one> <input type=text name=two>
I have a form like so: <form action= method=post id=form name=form enctype=multipart/form-data> <input name=action
I have a form like this: <form method=post action=> <?php $h = mysql_query(select distinct
I have a form with many input fields. When I catch the submit form
If I have a Django form such as: class ContactForm(forms.Form): subject = forms.CharField(max_length=100) message
If I have .Net Form with a component/object such as a textbox that I
i have create a form (so it's PHP and HTML hybrid-code). it has ability
I have a form. I am trying to validate it through AJAX GET requests.
I have a very simple form, with the scaffold controller action. the DB schema

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.