abinidi Posted March 1, 2006 Posted March 1, 2006 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? Quote
TCH-Don Posted March 1, 2006 Posted March 1, 2006 I don't think so the submit button is for what ever is in the action tag. Quote
abinidi Posted March 2, 2006 Author Posted March 2, 2006 Ah well. Thanks anyway. I'll figure out a different way to do it. Quote
TCH-Dick Posted March 2, 2006 Posted March 2, 2006 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. Quote
abinidi Posted March 3, 2006 Author Posted March 3, 2006 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. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.