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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T17:12:47+00:00 2026-05-28T17:12:47+00:00

I want to use a button to link to a page. However, the page

  • 0

I want to use a button to link to a page. However, the page url is something like domain.com/page?action=register.

I really need this action added to my:

form action="domain.com/page?action=register"

Form attribute, but when I try it with these settings, it will only go to domain.com/page

I’ve tried encoding the ? into %3F but that doesn’t work.

Any help?

  • 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-28T17:12:48+00:00Added an answer on May 28, 2026 at 5:12 pm

    The ? values are set by the form, as long as the form’s method is set to “get” (rather than “post”, which doesn’t submit the values in the URL). So, if you want to submit a form to page?action=register, you’d do the following:

     <form action="domain.com/page" method="get">
     <input type="hidden" name="action" value="register">
    

    It will also pass the other form values along in the URL, creating something like:

    domain.com/page?action=register&first_name=john&last_name=doe
    

    EDIT: As @ninetwozero mentioned in a comment, the scenario you describe above should work:

    <form action="domain.com/page?action=register" method="post">
    [rest of form]
    

    I just tested the above and it passed both the ?action=register and the form values from my form. So, whichever you prefer.

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

Sidebar

Related Questions

I want to use URL of current page in all my pages on my
i have this facebook page: LINK And i want to implement multiple facebook like
I have an array of strings that I want to use for button titles
I want to use some kind of trigger to change a button in my
I have a button I want to use in the beginning and the end
customers does not want to allow user to use back or forward button. Just
I want to lock back button while my data process. I use AsyncTask to
I want to use an Abstract action for JFileChooser buttons because there will be
I want to use the look of standard buttons on my page, but I
I want to use jQuery load to load external data on my page and

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.