Lightwindow submit form variable to coldfusion


I have a lightwindow popup form. When the users fill out the form and submit it, the action page will collect data and insert into database. For some reason, I can’t get the action page to get the form variables from lightwindown popup form. Any ideas/suggestions?


what does your form look like? What’s it submitting to?

basically, a link to lightwindow below

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

here is the form with its submit

<form id="form1" name="form1" method="post">
<p><label for="name">Name</label><input type="text" name="name" id="name" class="inputText" /></p>
<p><label for="phone">Phone </label><input type="text" name="phone" id="phone" class="inputText" /></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>

hello.cfm action page

<cfoutput> |</cfoutput>