Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <cfquery datasource="healthysteps" name="qStudents">
- select studentID as [Student ID],
- dateCreated as [Date Signed Up],
- firstName as [First Name],
- lastName as [Last Name],
- address1 as [Address],
- address2 as [Apt/Suite],
- city as [City],
- state as [State],
- postal as [Postal],
- country as [Country],
- email as [Email],
- phoneHome as [Home Phone],
- phoneMobile as [Alt Phone],
- acceptedTerms as [Terms Accepted]
- from tr_students
- </cfquery>
- <cfform name="fStudents" format="Flash" timeout="100" height="500">
- <cfformgroup type="horizontal">
- <cfformgroup type="horizontal">
- <!--- I want to bind to [student id] --->
- <cfinput type="hidden" name="studentID" bind="{gStudents.selectedItem.studentid}" />
- <cfinput type="submit" name="btn_edit" value="Get Details" />
- </cfformgroup>
- </cfformgroup>
- <cfformgroup type="horizontal">
- <cfgrid format="flash"
- height="500"
- autowidth="true"
- name="gStudents"
- query="qStudents"
- href="studentdetail.cfm"
- hrefkey="studentID">
- </cfgrid>
- </cfformgroup>
- </cfform>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement