there are form1 and form2.
form1 has a SAVE image button.
form2 is a form which contain some fields.
my question is, is it possible to save the data fields in form2 by clicking the button in form1.
so far i i do the same action in same form. but this time due to some reason, i need to seperate the form.
plz someone help me on this. thanks in advance!
php different form
Moderator: General Moderators
- novice4eva
- Forum Contributor
- Posts: 327
- Joined: Thu Mar 29, 2007 3:48 am
- Location: Nepal
Re: php different form
in form1's button
This should work.
EDIT: Having said that, i was wondering how would it be of any help, there must be some fields in form 1 whose values should also be sent
Code: Select all
onClick="document.form2.submit();"EDIT: Having said that, i was wondering how would it be of any help, there must be some fields in form 1 whose values should also be sent
- The_Anomaly
- Forum Contributor
- Posts: 196
- Joined: Fri Aug 08, 2008 4:56 pm
- Location: Tirana, Albania
Re: php different form
Yeah, that doesn't make much sense. Could you clarify what you'd like, please? Why not just put them in one form?