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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T17:55:14+00:00 2026-05-27T17:55:14+00:00

I wonder whether someone could help me please. I’m put together the following form

  • 0

I wonder whether someone could help me please.

I’m put together the following form contained within a PHP file.

<form name="savemyfindstolocation" id="savemyfindstolocation" method="post">    
            <p><label></label>
            </p>
            <p align="left">
                <input name="userid" type="text" id="userid"/>
                <input name="locationid" type="text" id="locationid"/>
                <br />
            </p>
            <div>
                <label>
                    <div align="left">Click on the map to place the marker for the find that has been made and drag until the precise location has been found. </div>
          </div>
                    <p align="left"><label>Find OSGB36 Latitude Co-ordinate<br />
                        </label>
                    </p>
                    <div>
                        <div align="left">
                            <input name="findosgb36lat" type="text" id="findosgb36lat" size="20" />
                        </div>
                    </div>
                    <p align="left"><label>Find OSGB36 Longitude Co-ordinate<br />
                        </label>
                    </p>
                    <div>
                        <div align="left">
                            <input name="findosgb36lon" type="text" id="findosgb36lon" size="20" />
                        </div>
                    </div>
                    <p align="left"><label>Date of Trip<br />
                        </label>
                    </p>
                    <div>
                        <div align="left">
                            <input name="dateoftrip" type="text" id="dateoftrip" size="10" />
                        </div>
                    </div>
   <input name="submit" type="submit" onclick="MM_callJS('savedata()')" value="Submit" />        
    </form>

It all works fine, but I’d now like to add a button that opens the following php page, ‘blobupload.php’. If I’ve understood this correctly from the research that I’ve done, I need to use javascript to open the page, using the ‘submit’ action from the main form.

What I don’t understand is how to do this when the ‘submit’ action is already taken for the saving of the information on the main form.

Could someone perhaps please show me how to get around this, i.e. using the same ‘submit action but for two different purposes.

  • 1 1 Answer
  • 1 View
  • 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-27T17:55:15+00:00Added an answer on May 27, 2026 at 5:55 pm

    Just modify your form tag (add the action attribute to file you want to load):

    <form name="savemyfindstolocation" id="savemyfindstolocation" method="post" action="blobupload.php">
    

    And you submit input tag:

    <input name="submit" type="submit" value="Submit" />
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I wonder whether someone could help me please. I have put together a form
I wonder whether someone could help me please. I'm trying to put together an
I wonder whether someone can help me please. I've put together the following which
I wonder whether someone may be able to help me please. I've put together
I wonder whether someone can help me please. I've put together this page, which
I wonder whether someone can help me please. I'm trying to put together a
I wonder whether someone can help me please. I've put together this page which
I wonder whether someone can help me please. I have the following xml file
I wonder whether someone can help me please. I've put together the script below
I wonder whether someone may be able to help me please. I've put together

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.