House of Fusion
Home of the ColdFusion Community

Search cf-talk

December 02, 2008

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
   1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31       

Search over 2,500 ColdFusion resources here  >>>      
Home /  Groups /  ColdFusion Talk (CF-Talk)

Form fieldnames for textarea

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
erik tom
05/08/2008 03:53 PM

I am building binamic survey . SO when i inserti g the value of the radio buttons all works, but when i am trying to get the id of the textarea it does not . I do not know what to do next <CFLOOP LIST="#Form.fieldnames#" Index="field">   <cfif #field# neq "btnSubmitSurvey">            <cfquery name="qryInsert1" datasource="cfelsunrise" dbtype="odbc">              insert into SurveyResultsDetail (answer,surveyID,idfk) values (<cfif ListContains(evaluate("field"), "txt")>#ListLast(evaluate("field"), "_")#<cfelse> #ListLast(Evaluate("Form.#field#"), "_")#</cfif>,#url.survey#,#result#)     </cfquery> </cfif> </CFLOOP>


<< Previous Thread Today's Threads Next Thread >>

Mailing Lists