Jump to content

HTML/PHP but mainly HTML


Mr P!nk

Recommended Posts

i have a page with 2 frames, 1 is the navigation on the left hand side, stays stationary, the other is the left hand side "content" and this scrolls.

 

In the "content" frame i have a Form which when submitted it emails the data to me, standard email form (Y)

but the submit buttons are in the nav frame and im struggling to post the data in  the "content" frame.

 

so what i'm asking is if there's a way to link my form from "content" to "nav"?

 

 

I'm exhausting myself trying to fathom this out

 

so any help would be awesome

 

thanks 

 

P! ???nk

Link to comment
Share on other sites

The problem here is the use of frames. There is NO need to ever use frames. I would recommend looking at alternative like use php dynamic abilities to show up the navigation and the left side. You can always use a table layout which could work just like your frames.

 

Anyway, if you choose to, or have a reason why you are using frames, then I would simply recommend moving the submit button in the same frame. It would make it a bit confusing for the user if the submit button is not in that area. You know what I mean?

Link to comment
Share on other sites

the use of  frames is solely down to a client being stupidly stubborn!

 

she wants it so you dint have to keep scrolling back to the top of the page to send/preview the whole form  :-\

 

I would recommend looking at alternative like use php dynamic abilities to show up the navigation and the left side. You can always use a table layout which could work just like your frames.

 

php dynamic abilities? could you explain more please  ;D

 

It would make it a bit confusing for the user if the submit button is not in that area. You know what I mean?

 

yes even though im developing it i get confused when im submitting it, but she's adamant that the "Frames" will be easier for the end user

*sigh*

 

 

Thanks for your input so far guys appreciated

 

P!nk

Link to comment
Share on other sites

You're right --- use PHP includes to add multiple HTML pages in the browser window.  Similar to frames on appearance except it dynamically writes the HTML as if it were constructed on ONE page - not several. 

 

The problem you have now might be resolved if you post your script to the target frame.  I am still not sure what you are doing - usually with a 'normal form' I expect you are refering to a perl script in a cgi-bin someplace.  You normally post to this address.  ../somePath/cgi-bin/formHandle.pl

 

Build in PHP and your client will become enlightened! 

 

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

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

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.