Solved

help needed with web form + paypal submission

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
The viewer will learn how to count occurrences of each item in an array.
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

803 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