Can anyone help me with forms please

-----------------------------------source.cfm--------------------------------------------
<cfquery name="myquery" datasaource="mydatasource">
select studentid
from tbl_student
</cfquery>
<cfform action="reciever.cfm" method="post">
<cfoutput query="myquery">
<cfinput name="#myquery.studentid#" type="text">
</cfoutput>
</cfform>
------------------------------------reciever.cfm------------------------------------------ ----
<cfquery name="myquery2" datasource="mydatasource">
select studentid,studentname
from tbl_student
</cfquery>
<cfoutput query="myquery2">
<cfif #form.#myquery2.studentid## eq
#myquery2.studentname#>
Student Found
</cfif>
</cfoutput>
anyone can know how to do this? i just want to make the
#form.# dynamic because the id is coming from database
but seems it is not allowed... anyone can help me with this
please?or anyone know alternative solution for it?thanks in
advance.

thanks again cf_dev2...
but the <cfinput> that i'm trying to use was dynamic
because it can be a textbox or a radio button or a checkbox.. i got
no problem in assigning their name now.. because i string
concatinated them like placing their specific id from the database
into their name,for example
<cfquery name="choices" datasource="mydatasource">
select choiceid,choicetype
from tbl_choice
</cfquery>
<cfform name="source.cfm" method="post">
<cfoutput query="choices">
<cfset choicename='multiplechoice'>
<cfset choicenamed = choicename.concat(#choiceid#)>
<cfif #choices.choicetype# eq 'multiplechoice'>
<cfinput type="radiobutton" name="#choicenamed#">
</cfif>
</cfoutput>
</cfform>
the problem now is the way how can i receive it and compare
it on the answer values from the database for the choices.

Similar Messages

Maybe you are looking for

  • How to read file from server

    Hi, When i try to read file from server,the following message is displayed . ORA-29532: Java call terminated by uncaught Java exception: java.security.AccessControlException: the Permission (java.io.FilePermission /tmp read) has not been granted to E

  • Where is flickr sync?

    iphoto allowed us to view flickr and facebook albums from the cloud and edit them as if they were natively stored. I have 1000's of pictures on flicker, all of which were organized in iphoto. After the update... poof... gone! What I'm left with is ra

  • If I'm licensed for Univeral Records Management including...

    Univeral Content Management, Content Server, Records Management adapters (& more), do I still have to purchase a license for Secure Enterprise Search to make Records management work with the FileSystem adapter (that I'm licensed for?). I guess anothe

  • Cancelling a Fulfilled line

    Hello, One of our users had created an order of the type "Debit Memo" (without shipment). The order line goes into "Fulfilled" status immediately when order is booked and then gets closed when Workflow process is run. But due to some workflow error,

  • Small network redesign help

    Hello,   I work in a small company that has about 75 clients, and about 10 servers, and I have a refurb 4948 that's not setup yet, currently on the live network are asa5510, a sg300, voip system, and an old 2960 that's currently my core sw (the 4948