Decodes an HTML encoded string.
Decoded HTML string.
Display and formatting functions.
DecodeforHTML(string)
Canonicalize,EncodeForHTMLAttribute, EncodeForJavaScript, EncodeForCSS, EncodeForURL
ColdFusion (2018 release): Renamed parameter inputString to string.
ColdFusion 10: Added this function.
Parameter |
Description |
---|---|
string |
Required. The encoded string to decode. |
<cfif isDefined("form.submit")> <b> Output:<cfoutput >#DecodeForHTML(form.encodedUserName)#</cfoutput> </b> <cfelse> <cfset form.username=""/> </cfif> <cfform> <cfinput name="encodedUserName" type="text" value="#form.encodedUserName#"> <cfinput name="submit" type="submit" value="Submit"> </cfform>
Accedi al tuo account