and you’d expect the PayPal button to take you to a PayPal page, but it doesn’t. It just takes you further up the page as though it was attached to an anchor.
If you try it out and look in the address bar it looks as though you’re taken up to the form on the page (don’t go there about it not having a submit button - client wants it to be posted).
and you’d expect the PayPal button to take you to a PayPal page, but
it doesn’t. It just takes you further up the page as though it was
attached to an anchor.
If you try it out and look in the address bar it looks as though
you’re taken up to the form on the page (don’t go there about it not
having a submit button - client wants it to be posted).
Right now, you have a form inside a form, and the outer form has no
Action set. The inner form only wraps the submit button and a handful
of hidden elements – it doesn’t actually apply to the other fields on
the page. Somehow you have to get these two kids talking to each
other. Do you have an Action applied to create the cart button, or is
this just code pasted into a Markup Item?
Does PayPal accept all the other form elements as well and store them
for you, or do you really need to have two separate forms on the page;
one for customer information, and the other to pay for the event?
and you’d expect the PayPal button to take you to a PayPal page, but
it doesn’t. It just takes you further up the page as though it was
attached to an anchor.
If you try it out and look in the address bar it looks as though
you’re taken up to the form on the page (don’t go there about it not
having a submit button - client wants it to be posted).
The cart button is a Mark Up item, and no, the details don’t have to
go to PayPal.
So if I get rid of the name/address form element, then all should be
okay? I think the idea is for someone to print it out and post it, so
it doesn’t have to have form elements in it, I just did it this way to
make it look okay.
Trev
On 10 Feb 2010, at 17:24, Walter Lee Davis wrote:
Right now, you have a form inside a form, and the outer form has no
Action set. The inner form only wraps the submit button and a
handful of hidden elements – it doesn’t actually apply to the other
fields on the page. Somehow you have to get these two kids talking
to each other. Do you have an Action applied to create the cart
button, or is this just code pasted into a Markup Item?
Does PayPal accept all the other form elements as well and store
them for you, or do you really need to have two separate forms on
the page; one for customer information, and the other to pay for the
event?
and you’d expect the PayPal button to take you to a PayPal page,
but it doesn’t. It just takes you further up the page as though it
was attached to an anchor.
If you try it out and look in the address bar it looks as though
you’re taken up to the form on the page (don’t go there about it
not having a submit button - client wants it to be posted).
You could apply the No Form Action to the page, which will kill the
outer form (code-wise) and then the inner form will work as designed.
If you really wanted to collect that information from the customer,
then you could use the PHP Feedback Form Action to do that – just
apply the action to the table that holds the form. You’ll need to make
the payment phase happen on a separate page, then, so you could put
that on the Success page from the PHP Feedback Form. That way the
customer would sign up for a course, you would get the details by e-
mail, and then if they were successful at signing up, they would move
on to the payment page and make their payment. You could make a
concordance between those who registered and those who paid.
Walter
On Feb 10, 2010, at 12:36 PM, Trevor Reaveley wrote:
Hi Walter, thanks for the reply.
The cart button is a Mark Up item, and no, the details don’t have to
go to PayPal.
So if I get rid of the name/address form element, then all should be
okay? I think the idea is for someone to print it out and post it,
so it doesn’t have to have form elements in it, I just did it this
way to make it look okay.
Trev
On 10 Feb 2010, at 17:24, Walter Lee Davis wrote:
Right now, you have a form inside a form, and the outer form has no
Action set. The inner form only wraps the submit button and a
handful of hidden elements – it doesn’t actually apply to the
other fields on the page. Somehow you have to get these two kids
talking to each other. Do you have an Action applied to create the
cart button, or is this just code pasted into a Markup Item?
Does PayPal accept all the other form elements as well and store
them for you, or do you really need to have two separate forms on
the page; one for customer information, and the other to pay for
the event?
and you’d expect the PayPal button to take you to a PayPal page,
but it doesn’t. It just takes you further up the page as though it
was attached to an anchor.
If you try it out and look in the address bar it looks as though
you’re taken up to the form on the page (don’t go there about it
not having a submit button - client wants it to be posted).
All sorted now thanks, I took all of the personal info elements out of
the other form, just made it look pretty and uploaded.
As I said, he’s quite ‘old-school’ and wants the personal info to be
snail-mail posted.
Thanks for the pointers Walter, the solutions worked fine for what’s
needed on this one.
Trev
On 10 Feb 2010, at 17:44, Walter Lee Davis wrote:
You could apply the No Form Action to the page, which will kill the
outer form (code-wise) and then the inner form will work as
designed. If you really wanted to collect that information from the
customer, then you could use the PHP Feedback Form Action to do that
– just apply the action to the table that holds the form. You’ll
need to make the payment phase happen on a separate page, then, so
you could put that on the Success page from the PHP Feedback Form.
That way the customer would sign up for a course, you would get the
details by e-mail, and then if they were successful at signing up,
they would move on to the payment page and make their payment. You
could make a concordance between those who registered and those who
paid.
Walter
On Feb 10, 2010, at 12:36 PM, Trevor Reaveley wrote:
Hi Walter, thanks for the reply.
The cart button is a Mark Up item, and no, the details don’t have
to go to PayPal.
So if I get rid of the name/address form element, then all should
be okay? I think the idea is for someone to print it out and post
it, so it doesn’t have to have form elements in it, I just did it
this way to make it look okay.
Trev
On 10 Feb 2010, at 17:24, Walter Lee Davis wrote:
Right now, you have a form inside a form, and the outer form has
no Action set. The inner form only wraps the submit button and a
handful of hidden elements – it doesn’t actually apply to the
other fields on the page. Somehow you have to get these two kids
talking to each other. Do you have an Action applied to create the
cart button, or is this just code pasted into a Markup Item?
Does PayPal accept all the other form elements as well and store
them for you, or do you really need to have two separate forms on
the page; one for customer information, and the other to pay for
the event?
and you’d expect the PayPal button to take you to a PayPal page,
but it doesn’t. It just takes you further up the page as though
it was attached to an anchor.
If you try it out and look in the address bar it looks as though
you’re taken up to the form on the page (don’t go there about it
not having a submit button - client wants it to be posted).