Ask a Question related to Coldfusion Flash Integration, Design and Development.
-
keann #1
Pass URL Parameter from html form to flash form
In CF, I have a link to a form to update a students attendance;
takeattendancehv1.cfm?StudentID=#allstudents.Stude ntID# . I'm using a flash
form in takeattendancehv1.cfm to populate the studentID. On the flash form, the
studentID appears on the form, but when I submit the form, I get this error:
Element STUDENTID is undefined in URL . Here is my studentID form field in my
flash form: <cfinput name= "studentID"
maxlength = "10"
size = "10"
value="#attendance.StudentId#"
message = "Student ID"
validate="integer">
I'm pretty new at creating flash forms, but would like to know the best
practice for populating a URL parameter from one page to another when using
Flash. Can someone lead me in the right direction.
Thank you.
keann Guest
-
flash form fails to pass to cf page
I have a flash form that when submitted passes 4 text fields to www.promegasigns.com/thanks.cfm. The action script for the send button in the... -
Cannot pass form field variable from Flash form to CFC
hello, could someone please help me with an issue i'm having.... i'm trying to pass data from flash form fields into my coldfusion component... -
Converting a HTML form to a Flash one
I'm developed my first login framwork for a Coldfusion application using basic html tags however I want to now convert this form into a flash one.... -
how do I pass the FLASH version of the form variable tothe query in CF 7.0
I'm trying to convert a rather long form written in CF 6.1 to CF 7.0. The basics ar this: I built a grid that contains participant names, clicking... -
GET VARIABLE FORM HTML TO FLASH
Is it possible to transmit to flash a variable from html page? for exemple with PHP from HTML i write like this : exemple.php?variable=XXXXX ... -
c_wigginton #2
Re: Pass URL Parameter from html form to flash form
Check your cfform method, if you have it set as post, the result will be
returned in the form.scope.
if you're debugging, try doing a cfdump on the form and url scopes, you'll see
where your data is.
One suggestion is to stick with one scope and convert as necessary. So if the
navigation link to bring up the form is a link, then in the code;
<cfparam name="url.studentID" default="">
<cfparam name="form.studentID" default="#url.studentID#">
<cfform name="myForm" method="post" ....
<cfinput type="hidden" name="StudentID" value="#form.studentID#"....
Then check the form scope in the template that handles the form submission.
c_wigginton Guest



Reply With Quote

