Forum Moderators: open

Message Too Old, No Replies

Form in a frame... need help, curious

form submission from outside the frame

         

radjaco

4:44 pm on Jul 2, 2004 (gmt 0)

10+ Year Member



Hi everybody,
I'm a new face in this forum. Nevertheless, I need help or a piece of advice at least. I have created a frame in the FrontPage in which the form for submission will be displayed. I have a submit button on the form, of course. However, as the form appears in a frame, I want to place the submit button on the main frame page instead. My server has a front page extension. I am not a programmer or developer to create PHP or ASP, but just curious if there is a script or anything that could enable the submission of the form from outside the frame in which it appears.
Your support will be highly appreciated.
radjaco

flashfan

4:55 pm on Jul 2, 2004 (gmt 0)

10+ Year Member



You could use javascript to submit the form:

parent.frames["targetFrameName"].document.form("formName").submit();

digitalv

5:55 pm on Jul 2, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld

<form method="POST" action="whatever" target="OTHER_FRAME_NAME">

should do the trick.

radjaco

6:08 am on Jul 3, 2004 (gmt 0)

10+ Year Member



Thanks for help. I forgot to mention, that the purpose of the frame is not to display only one form in the frame. What I want to do is that to force the one "out-of-frame-submit-button" to submit every form that displays in the frame. Is that possible?
I would again appreciate your support and feedback.
By the way, guys, I have a good collection of software; tons of them - some legally purchased some just w/cracks. If you need any of them just write to me. IT IS FREE for the members of this forum.
Thanks for the prompt reply
radjaco