form variable within an iframe component of a form

This is a discussion on "form variable within an iframe component of a form" within the PHP Forum section. This forum, and the thread "form variable within an iframe component of a form are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > PHP Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Feb 28th, 2008, 22:18
New Member
Join Date: Feb 2008
Location: Houston
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
form variable within an iframe component of a form

OK, I created a form and it needed a part that you could click and different options would come up, so I chose iframe. Works great, but....

In each of the iframes that get called, there are variables that once the form is submitted do not get passed to the next page. How do you do this?

PLEASE HELP!!!!!!! This is done in php, but probably not a php question. Sorry!
Reply With Quote

  #2 (permalink)  
Old Feb 28th, 2008, 22:38
Junior Member
Join Date: Feb 2008
Location: Glasgow
Age: 28
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Re: form variable within an iframe component of a form

The iframe isn't seen as part of the form, you would need to use JS to build the post request including the iframes content
Reply With Quote
  #3 (permalink)  
Old Feb 29th, 2008, 01:29
New Member
Join Date: Feb 2008
Location: Houston
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Re: form variable within an iframe component of a form

I have no clue of how to do that, can anyone show me an example???
Reply With Quote
  #4 (permalink)  
Old Feb 29th, 2008, 13:06
CloudedVision's Avatar
Nerdy Moderator
Join Date: Feb 2008
Location: In My Own Little World
Age: 14
Posts: 942
Blog Entries: 8
Thanks: 2
Thanked 22 Times in 22 Posts
Send a message via AIM to CloudedVision Send a message via MSN to CloudedVision Send a message via Skype™ to CloudedVision
Re: form variable within an iframe component of a form

Here's what I would do:

HTML: Select all
<form>
<input>
<input>
<div style="overflow: scroll">
  <input>
  <input>
</div>
<input>
<input>
</form>
I have learned never to use iframes. Overflow scroll will have the div create a scroll box if it overflows, making it act like an iframe.

PS: Somebody move this to the HTML or javascript form.
__________________
echo "Take it easy, ".$CloudedVision;
.links { site: other-road-design; blog: only-nerds-allowed; project: resource-fish; organization: ARMIES6; }
<quote>&quot;I think it's wrong that only one company makes the game Monopoly&quot; - <name>Steven Wright</name></quote>
Last Blog Entry: More Cheat Sheets (Jul 12th, 2008)
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
form variable within an iframe component of a form kissfreaque JavaScript Forum 5 Feb 29th, 2008 11:57
Desparately Need Form, Checkbox Component Help grillbat Starting Out 1 Aug 21st, 2007 16:04
Need help with Firefox iframe, jsp, form submit issue bmachine Other Programming Languages 4 Mar 14th, 2007 19:01
insert image trigger by variable value from a form kyk JavaScript Forum 5 Aug 19th, 2006 09:15
Passing form variable between pages rhoov Classic ASP 8 Dec 16th, 2003 14:59


All times are GMT. The time now is 05:58.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43