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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T22:49:57+00:00 2026-06-13T22:49:57+00:00

I have a form for an address and a form for another address, both

  • 0

I have a form for an address and a form for another address, both forms have the same fields.

When one form is filled, I want the user to be able to check a box to copy the form data over to the other form as these will be the same values most of the time.

I have all the text fields working, I’m just stuck with the dropdown menu for country and province.

Here is what I’ve got so far:

function FillShipping(f){ if(f.shippingtoo.checked == true)
{
  {
    f.email1.value = f.email.value;
    f.fullName1.value = f.fullName.value;
    f.address1.value = f.address.value;
    f.address3.value = f.address2.value;
    f.city1.value = f.city.value;
    f.postCode1.value = f.postCode.value;
    f.phone11.value = f.phone1.value;
    f.phone22.value = f.phone2.value;
    f.phone33.value = f.phone3.value;
    f.cell11.value = f.cell1.value;
    f.cell22.value = f.cell2.value;
    f.cell33.value = f.cell3.value;
  }
}
else
{
    f.email1.value = '';
    f.fullname1.value = '';
    f.address1.value = '';
    f.address3.value = '';
    f.city1.value = '';
    f.postCode1.value = '';
    f.phone11.value = '';
    f.phone22.value = '';
    f.phone33.value = '';
    f.cell11.value = '';
    f.cell22.value = '';
    f.cell33.value = '';
    }
}
  • 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-13T22:49:57+00:00Added an answer on June 13, 2026 at 10:49 pm

    Try this (assuming your country and province combo names are country, province, country1 and province1):

    f.country1.selectedIndex = f.country.selectedIndex;
    f.province1.selectedIndex = f.province.selectedIndex;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a form where a user can toggle receiving funds either via check
i have a form with user name, address and email. the list of names
how to display error onto another page? I have a form under user folder
I have a form where I want the user to choose 2 different way
What I have is a form with details like name, address...and another separate upload
I have a form that I want to be used to add entries. Once
I have written the html but the contact form is copied from a another
Suppose I have a massive table called inactiveUsers and a search form. I want
On my form I have a IWTreeView and two buttons. One button deletes some
As the title says I have a form for an address and a form

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.