Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

lightwindow passing form variable to action page

New Here ,
Apr 21, 2010 Apr 21, 2010

Hi,

I have a form that is popup using lightwindow to allow users to fill out the form.  For some reason, I couldn't get the form.variables to pass to the action page and insert into a database.  Anyone has suggestions or ideas?

thanks.

877
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Apr 22, 2010 Apr 22, 2010

Can you please post your code here?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 22, 2010 Apr 22, 2010
LATEST

link to open lightwindow pop up page.  of course i've all the js required on the top of the page

<a href="form.cfm" params="lightwindow_width=500,lightwindow_height=600" class="lightwindow page-options">Form</a>

here is the form

<form id="form1" name="form1" method="post">

<p><label for="fname">First Name</label><input type="text" name="fname" id="fname" class="inputText" /></p>

<p><label for="lname">LastName</label><input type="text" name="lname" id="lname" class="inputText" /></p>

<p><p><a href="hello.cfm" params="lightwindow_form=form1" class="lightwindow_action" rel="submitForm"><button>Submit</button></a> or <a href="#" class="lightwindow_action" style="color: blue;" rel="deactivate">Cancel</a>
</p>

here is the action page for the form (hello.cfm)

<cfoutput>#form.fname# | #form.lname#</cfoutput>

I do not know if this is out it's supposed to do it or not but the form variables are not passing over to the action page.

thanks

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources