Ask a Question related to Macromedia ColdFusion, Design and Development.
-
timrande #1
Display variable in text field
Here's the code: <input type="text" name="myDate" id="myDate" value="#strDate#">
Not sure why this doesn't work.
Instead of the value of the variable, I get the variable name in the text box
'#strDate#'
I have other pages where i am diplaying variable values in text boxes, for
example here's one the works on another page:
<input type="text" name="Markup" value="#Markup#">
I don't see any differences in the code.
timrande Guest
-
i want to display all the data in the database to the text field
Well, I have 5 data in the database list(gDatabase), i want to display them all on the member("datafield").. when I used the repeat function, it... -
Radio btn makes text field equal value of different text field
What I am trying to do is when someone clicks on the YES radio button I want the text field called MYTEXT to equal the text field named DATE. The... -
help with dynamic text field display
hi all i have a movie clip within my main timeline that is controlled by three buttons. each click on one of these three buttons, executes a... -
display text field based on the selection choices
I want to display credit card fields when the user selects the option paid membership. If user selects the option free membership, then the credit... -
unable to display public text field of object in ArrayList in a bound DataGrid
I have a very simple public class X, whose fields are all public. I create an ArrayList that contains a series of instances of X. Then I bind a... -
Aegis Kleais #2
Re: Display variable in text field
Use:
<input type="text" name="myDate" id="myDate" value="<cfoutput>#VARIABLES.strDate#</cfoutput>" />
Aegis Kleais Guest
-
Stressed_Simon #3
Re: Display variable in text field
You need to use cfoutput:-
<cfoutput>
<input type="text" name="Markup" value="#Markup#">
</cfoutput>
Stressed_Simon Guest
-
timrande #4
Re: Display variable in text field
thanks, yep..needed the cfoutput... and i had cfoutput much higher up on the other page..and missed it easily...thank you..
timrande Guest



Reply With Quote

