Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
Can you please post your code here?
Copy link to clipboard
Copied
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
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more