Solved

help needed with web form + paypal submission

Posted on 2011-03-10
3
206 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Cordova Camera plugin fails 2 91
Example unit tests with AngularJS 3 40
stop navigation from wrapping 7 47
Alignment is not working correctly. 8 29
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

932 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now