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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T01:51:55+00:00 2026-05-26T01:51:55+00:00

I have a link to a contact form from a ‘products’ page. I will

  • 0

I have a link to a contact form from a ‘products’ page. I will have a link to the form next to each product, and would like to have that product name be the default value of the cooresponding input on the form. I would usually just have the href=”whatever?prod=prodname” but I would prefer not to mess with the url.

Can I do this somehow with POST data? Do I have to use js/jquery?

I think I can put the whole page in a form, and make the links submit buttons which post to my form, but that seems somewhat convoluted. Any ideas would be greatly appreciated.

  • 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-26T01:51:55+00:00Added an answer on May 26, 2026 at 1:51 am

    I’m not sure why you don’t want to “mess with the url”, but you can certainly do it with POST data just like you describe in the last paragraph. And I’m not sure why that seems “convoluted” to you. Another option would be to intercept the click on the link and store the product name in a cookie, but that’s no more or less “convoluted” than the POST option.

    I guess I don’t know what kind of solution you’re looking for that would be elegant enough for you, but I think we’ve expired the possibilities: GET, POST, or a cookie. I guess you could also use HTML5 data storage, but that’s not going to work on a lot of browsers.

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

Sidebar

Related Questions

I have a page that has a Contact Form slide down when a link
I would like to use jQuery Fancybox or Lightbox to load a contact form
I have a simple jQuery script that slides a contact form up from the
I would like to hide my form on successful submission: Here is a link
I have a link that looks like a button from this html <p class=link-styleContact><a
I have two tables: Contact (id,name) Link (id, contact_id, source_id) I have the following
I have a link, with which i want use plus, which will change color
I have a link which looks like that: www.domain.com/file.php I want to create .htaccess
I have a link button control on my home page side bar nav. When
I have a simple contact form that works in every browser, except IE. It

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.