Created
March 16, 2026 22:01
-
-
Save trycf/3a9aa1e71c15fdba2491beb74bdf694d to your computer and use it in GitHub Desktop.
TryCF Gist
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <cfscript> | |
| sType = "text"; | |
| sName = "first_name"; | |
| sDisplay = ""; | |
| sSize= "12"; | |
| sMaxChar = "127"; | |
| scl = "somethinf"; | |
| sClass = "btn-lg"; | |
| sAccessKey = ""; | |
| bEdit = false; | |
| iTabIndex = ""; | |
| sPassThrough = ""; | |
| var sHTML = ""; | |
| sHTML = sHTML & "<input type=""" & HTMLEditFormat(sType) & """ name=""" & | |
| HTMLEditFormat(sName)& """ id=""" & | |
| HTMLEditFormat(sName) & """ value=""" & HTMLEditFormat(sDisplay) & | |
| """ size=""" & HTMLEditFormat(sSize) & """ maxlength=""" & | |
| HTMLEditFormat(sMaxChar) & """ class=""" & | |
| HTMLEditFormat(scl) & " " & sClass & """ tabindex=""" & | |
| HTMLEditFormat(iTabIndex) & """ accesskey=""" & HTMLEditFormat(sAccessKey) & | |
| """ " & sPassThrough; | |
| if (not bEdit ) sHTML = sHTML & " disabled "; | |
| sHTML = sHTML & " />"; | |
| writeDump(sHTML); | |
| </cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment