Is there any way to convert the following ASP Public Function into a CF function? I've read on CFFunction and CFScript but I'm at a lose. Any help is greatly appreciated. I posted on another forum then remembered easycfm had one and was amazed it actually has a conversion forum. If I get a reply on the other forum I'll be sure to post here
Public Function Formv(FieldName)
If Request.Form <> "" Then Formv = Request.Form(FieldName) ElseIf IsObject(RS_Site) Then Formv = RS_Site(FieldName).Value Else Formv = "" End If
what is the purpose of this function? i noticed that it takes a form field as an argument, but you need to explain more, especially: 1) the arguments that the function takes 2) the purpose of the function, and 3) the expected output/result