...

View Full Version : Help - Posting values of a form inside another form



michael_1980
07-07-2011, 09:34 AM
Hi All

In my php page, I have two forms. One form has about 50 fields such as textboxes, radio buttons etc.

I have put another form inside this form with 10 values. I have a submit button too.By clicking on the submit button the form need to be submitted into a url.I know we cannot use form inside a form.

any how can I sumit the inner form and post the 10 field values to the action UR
L?>. How jquery can handle this?

abduraooft
07-07-2011, 11:35 AM
I have put another form inside this form with 10 values.
That's invalid markup (http://validator.w3.org/#validate_by_input) and you can't expect the desired result from it.

any how can I sumit the inner form and post the 10 field values to the action UR
You may write the two procedures on the same "action" page and use some condition to process the data.

Apostropartheid
07-07-2011, 03:53 PM
That's invalid markup (http://validator.w3.org/#validate_by_input) and you can't expect the desired result from it.
*coughs urgently* doesn't point to anything abdura!

abduraooft
07-07-2011, 05:41 PM
*coughs urgently* doesn't point to anything abdura!
:o
I should have stated it like, nesting a form inside another one would produce an invalid markup and so OP shouldn't do it, right?

Apostropartheid
07-07-2011, 08:35 PM
:o
I should have stated it like, nesting a form inside another one would produce an invalid markup and so OP shouldn't do it, right?

I meant your URL. Unfortunately the W3C don't seem to allow validation via URI queries.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum