Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...iframe - Pass Through Form Postiframe - Pass Through Form Post
Previous
 
Next
New Post
10/6/2011 1:17 AM
 
Dear Everyone:

I'm trying to pass multiple parameters in a form to another page on my site that has an iframe.  I have the iframe and all the parameters setup as "pass-through form post." On my home page where the form exists I took out the form tags and used the onclick code.  The example and parts of my code are below (that doesn't work by the way).

Form with Iframe (for this thread will call it http://mysite.com/quicksearchresults.aspx)
Querystring Parameters defined
lp - Pass Through Form Post
hp - Pass Through Form Post
city[] - Pass Through Form Post

On my home page (for this thread will call it http://mysite.com/home.aspx)
Using and html/text module the following code is in it:

<div style="width:150px">
<p>Min Price: <br />
<input style="width:100px" type="text" name="lp" value="" /></p>
<p>Max Price: <br />
<input style="width:100px" type="text" name="hp" value="" /></p>
<p>Choose a City: <br />
<select style="width:100px" name="city[]" value="Search">
<option value="253">Addison</option>
<option value="421">Alachua</option>
<option value="596">Alford</option>
<option value="906">Altamonte Springs</option>
<option value="942">Altoona</option>
</select></p>
<p><input type="submit" name="searchSubmit" value="Search" onclick="this.form.method='post'; this.form.action='http://mysite.com/QuickSearchResults.aspx?InnerParam=city[]=city[];hp=hp;lp=lp' this.form.submit();" /></p>
</div>

Any help would be appreciated.  I think the problem resides in the this.form.action but I'm not sure.

Thank you in advance
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...iframe - Pass Through Form Postiframe - Pass Through Form Post


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out