Solved

help needed with web form + paypal submission

Posted on 2011-03-10
3
208 Views
Last Modified: 2012-05-11
Hello
I need some clarifications concerning submitting web form details to paypal. I know the form basics, whereby use the actions and post method, as well as to create to the editors
like
<input type="text"  name="..." value="..">

but however I've seen in some codes they used <input type="hidden"...>

This is the part which has confused me, when to use the hidden and if for example I have editors in my form, which currently are
<input type="text" name="first name">
<input type="text" name="last name">
...
how to use the input type= hidden in this one??
0
Comment
Question by:lordrt
  • 2
3 Comments
 
LVL 39

Expert Comment

by:Pratima Pharande
ID: 35105557
try like this

<input type="hidden" name="first name">
<input type="hidden" name="last name">


hidden means it will now show up on screen
0
 
LVL 4

Author Comment

by:lordrt
ID: 35105614
ok, but how will I make the user input then? I need to get the user to fill in the form before then proceed with submission to paypal... or I need to create another similar form then redirect the original one to it when click on submit button??
0
 
LVL 39

Accepted Solution

by:
Pratima Pharande earned 500 total points
ID: 35105654
send it like this only

<input type="text" name="first name">
<input type="text" name="last name">

it will get posted as like hidden fields

the hidden fields are usde to send that that we don't want to show on screen but want to post to next page
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Pass form variable from one web form to another 2 29
Html fieldset fix its height and width 4 33
HTML Anchor Link Problem 3 36
Set time on Session (ASP) 14 23
Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question