Jump to content

Recommended Posts

Posted

Can you nest the form element in another form element?

 

I am creating a web form, but inside that form, I want to have a paypal button, which is a separate form element. Will the submit button know which form to submit?

 

How can I do that? Any suggestions?

Posted

Ah well. Thanks anyway. I'll figure out a different way to do it.

Posted

What is the first form and are you using php, plain html, or something else?

 

You could have it generate the Paypal code when you submit the first form. You can have more than one submit button and just use different actions. Give us some more details and I'm sure if we can all come up with something.

Posted

I looked at it organizationally, and I had originally thought I wanted a form within a form; so if users wanted to, they could check an option that they wanted to donate to the reunion. I was then going to give the option to donate via paypal, and wanted to include the paypal button right next to the "donation" option check box.

 

Then I realized that this wasn't great user design, because if users clicked on the paypal link, the information on the form was lost, as the paypal page loaded in the same window.

 

I changed the code so that if users checked the donation box, then the paypal button appeared on the submission results page. It made for better UI design anyway.

 

Thanks anyway for wanting to help.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...