How Very Odd
this observation, i'm not looking assistance.
i have reuseable form, made included file. general idea is:
<cfset some_variable="some value">
<cfoutput>
<cfinclude file form>
in form, if
<cfinput type="submit" value="#some_variable#">
then button labelled value of variable, expected.
but, if this:
<input type="submit" value="#some_variable#">
then button gets labelled string literal, #some_variable#.
i find odd.
i have reuseable form, made included file. general idea is:
<cfset some_variable="some value">
<cfoutput>
<cfinclude file form>
in form, if
<cfinput type="submit" value="#some_variable#">
then button labelled value of variable, expected.
but, if this:
<input type="submit" value="#some_variable#">
then button gets labelled string literal, #some_variable#.
i find odd.
it because first 1 cfinput , process cfml.
the other html element , not process cfml without putting
<cfoutput> tags around it, this:
<input type="submit" value="<cfoutput>#some_variable#</cfoutput>">
--
ken ford
adobe community expert - dreamweaver
fordwebs, llc
http://www.fordwebs.com
"dan bracuk" <webforumsuser@macromedia.com> wrote in message
news:fr3v5q$mfk$1@forums.macromedia.com...
> observation, i'm not looking assistance.
>
> have reuseable form, made included file. general idea
> is:
>
> <cfset some_variable="some value">
> <cfoutput>
> <cfinclude file form>
>
> in form, if
> <cfinput type="submit" value="#some_variable#">
> button labelled value of variable, expected.
>
> but, if this:
> <input type="submit" value="#some_variable#">
> button gets labelled string literal, #some_variable#.
>
> find odd.
>
the other html element , not process cfml without putting
<cfoutput> tags around it, this:
<input type="submit" value="<cfoutput>#some_variable#</cfoutput>">
--
ken ford
adobe community expert - dreamweaver
fordwebs, llc
http://www.fordwebs.com
"dan bracuk" <webforumsuser@macromedia.com> wrote in message
news:fr3v5q$mfk$1@forums.macromedia.com...
> observation, i'm not looking assistance.
>
> have reuseable form, made included file. general idea
> is:
>
> <cfset some_variable="some value">
> <cfoutput>
> <cfinclude file form>
>
> in form, if
> <cfinput type="submit" value="#some_variable#">
> button labelled value of variable, expected.
>
> but, if this:
> <input type="submit" value="#some_variable#">
> button gets labelled string literal, #some_variable#.
>
> find odd.
>
More discussions in ColdFusion
adobe
Comments
Post a Comment